Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F102831341
ressor.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Feb 24, 15:40
Size
816 B
Mime Type
text/x-c++
Expires
Wed, Feb 26, 15:40 (1 d, 19 h)
Engine
blob
Format
Raw Data
Handle
24436414
Attached To
rSYMKIT symkit
ressor.h
View Options
#ifndef RESSORT_H
#define RESSORT_H
class
Ressort
;
#include "actors/particles/oscillatorparticle.h"
#include "vector.h"
#include "specs/evolvable.h"
namespace
models
{
class
GLSphere
;
}
class
Ressor
:
public
OscillatorParticle
,
public
Evolvable
{
public:
/* Constructor and Destructor */
Ressor
(
models
::
GLSphere
*
);
~
Ressor
();
SPECS_EVOLVE
/* set color */
virtual
void
evolve
(
float
)
override
;
/* draw/render function */
virtual
void
render
(
symkit
::
render_s
)
override
;
/* initialize function */
virtual
void
initialize
()
override
;
private:
Ressort
*
ressort
;
static
const
Vector
p
;
static
const
Vector
p_prime
;
static
const
Vector
axys
;
static
const
double
l
;
static
const
double
m
;
static
const
double
k
;
};
#endif
// RESSORT_H
Event Timeline
Log In to Comment