|
| | GfxCelestialBody (const std::string &name, double radius, const osg::Vec4 &color=osg::Vec4(1.0f, 1.0f, 1.0f, 1.0f)) |
| |
|
| ~GfxCelestialBody () |
| |
|
bool | initialize () |
| |
|
const std::string & | getName () const |
| |
|
void | setPosition (const osg::Vec3d &position) |
| |
|
osg::Vec3d | getPosition () const |
| |
|
void | setAttitude (const osg::Quat &attitude) |
| |
|
osg::Quat | getAttitude () const |
| |
|
void | setRadius (double radius) |
| |
|
double | getRadius () const |
| |
|
void | setColor (const osg::Vec4 &color) |
| |
|
osg::Vec4 | getColor () const |
| |
|
void | setRotationSpeed (double speed) |
| |
|
double | getRotationSpeed () const |
| |
|
void | setOrbitalSpeed (double speed) |
| |
|
double | getOrbitalSpeed () const |
| |
|
void | setOrbitalRadius (double radius) |
| |
|
double | getOrbitalRadius () const |
| |
| bool | setTexture (const std::string &textureFile) |
| |
| void | update (double deltaTime) |
| |
|
osg::Node * | getNode () |
| |
| osg::Node * | createOrbitLine (const osg::Vec4 &color=osg::Vec4(0.5f, 0.5f, 0.5f, 1.0f), int segments=100) |
| |