|
| S3DScene (const SceneInfo &info) |
|
void | setModel (const StelOBJ &model) |
|
void | setGround (const StelOBJ &ground) |
|
const SceneInfo & | getSceneInfo () const |
|
MaterialList & | getMaterialList () |
|
const Material & | getMaterial (int index) const |
|
const ObjectList & | getObjects () const |
|
void | moveViewer (const Vec3d &moveView) |
| Moves the viewer according to the given move vector (which is specified relative to the view direction and current position) The 3rd component of the vector specifies the eye height change. More...
|
|
void | setViewerPosition (const Vec3d &pos) |
| Sets the viewer (foot) position.
|
|
void | setViewerPositionOnHeightmap (const Vec2d &pos) |
| Sets the viewer foot position on the given x/y point on the heightmap.
|
|
const Vec3d & | getViewerPosition () const |
| Get current viewer foot position.
|
|
Vec2d | getViewer2DPosition () const |
| Returns the viewer foot position, without the height.
|
|
const Vec3d & | getEyePosition () const |
| Get current eye position (= foot position + eye height)
|
|
double | getEyeHeight () const |
|
void | setEyeHeight (double height) |
|
const AABBox & | getSceneAABB () const |
|
float | getGroundHeightAtViewer () const |
|
void | setViewDirection (const Vec3d &viewDir) |
|
const Vec3d & | getViewDirection () const |
|
Vec3d | getGridPosition () const |
|
void | setGridPosition (const Vec3d &gridPos) |
|
bool | glLoad () |
| Makes the scene ready for GL rendering. Needs a valid GL context.
|
|
bool | isGLReady () const |
| Returns true if the scene is ready for GL rendering (glLoad succeded)
|
|
void | glBind () |
|
void | glRelease () |
|
void | glDraw (int offset, int count) const |
|