#include <ivf/IvfOldScene.h>
Inheritance diagram for CIvfOldScene:
Public Member Functions | |
CIvfOldScene () | |
virtual | ~CIvfOldScene () |
IvfClassInfo ("CIvfOldScene", CIvfSelectComposite) | |
void | setCamera (CIvfCamera *camera) |
CIvfCamera * | getCamera () |
CIvfView * | getView () |
void | setView (CIvfView *view) |
void | setWorldSystem (CIvfCoordinateSystem *world) |
CIvfCoordinateSystem * | getWorldSystem () |
void | setCursor (CIvfCursor *cursor) |
CIvfCursor * | getCursor () |
void | setLightMode (int mode) |
int | getLightMode () |
void | setTempShape (CIvfShape *shape) |
CIvfShape * | getTempShape () |
void | setTempRenderStyle (int style) |
int | getTempRenderStyle () |
void | updateCursor (int x, int y) |
void | setNodeSize (double size) |
void | setObjectSize (double size) |
void | lockCursor () |
void | unlockCursor () |
int | isCursorLocked () |
void | setSnapToGrid (bool flag) |
bool | getSnapToGrid () |
void | setWorkspace (double size) |
void | setTransparentShape (CIvfShape *shape) |
void | setShowCursor (bool flag) |
bool | getShowCursor () |
void | setShowGrid (bool flag) |
bool | getShowGrid () |
Protected Member Functions | |
void | endTransform () |
void | beginTransform () |
void | createGeometry () |
This class is used to manage a scene in Ivf++. The class handles low-level cursor movement, light management, and selection.
Definition at line 58 of file IvfOldScene.h.
|
Constructor |
|
Destructor |
|
Start transform Implements a OpenGL transform. This routine should call a glPushMatrix() and then call OpenGL routines transforming the object. The method is the first routine to be called in the render() method. Reimplemented from CIvfSelectComposite. |
|
Forces an object recalculation. Reimplemented from CIvfSelectComposite. |
|
End transform This is the last method called in the render() method. if a glPushMatrix() is called in the beginTransform() a glPopMatrix() should be called in this routine. Reimplemented from CIvfSelectComposite. |
|
Returns the current camera object Reimplemented from CIvfSelectComposite. |
|
Return cursor state |
|
Return grid state |
|
Return grid snap state |
|
Return temporary render style |
|
Return temporary shape |
|
Return coordinate system object |
|
Returns true if cursor is locked otherwise false |
|
Locks 3D cursor in XY-direction When this method is called the 3D cursor can only be moved in the Z-direction of the current coordinate system. |
|
Set cursor object The cursor is a 3D representation of a mouse cursor. If the cursor is not referenced it will be deleted. |
|
Not supported |
|
Not supported |
|
Enable/disable cursor |
|
Enable/disable grid |
|
Enable/disable grid snap |
|
Set temporary drawing style The temporary object can be drawn in to ways:
|
|
Set temporary shape The temporary shape is not included in the scene graph and can be used to draw outlines of objects that is to be placed in the scene. |
|
Set transparent shape The transparent shape is rendered last in the rendering stage of the scene and is not contained in the scene graph. |
|
Set the workspace size Sets the size of the workspace and scales corresponding interaction objects. |
|
Set current coordinate system object The coordinate system object is used to calculate the position of the 3D cursor. If the coordiate system object is not referenced by any other objects it will be deleted by IvfScene. |
|
Unlocks the 3D cursor |
|
Update 3D cursor Projects a ray from the viewing plane to the current coordinate system XY-plane and moves the 3D cursor to this position.
|