SLTransformSpace
Describes the relative space a transformation is applied in.
SLKey
Keyboard key codes enumeration.
void rotateObject(const SLVec3f &val) const
SLNode * _curObject
current object to transform
SLNode * _moveBoxChild
little child cube
TransformMode _curMode
current transform mode
SLNode * _moveBox
big parent cube
void translateObject(SLVec3f vec) const
SLbool onContinuousKeyPress(SLKey key)
AppNodeSceneView(SLScene *s, int dpi, SLInputManager &inputManager)
SLKey _modifiers
pressed modifier keys
bool _keyStates[65536]
key press states of all keys
void translatePivot(SLVec3f vec)
SLbool onKeyPress(const SLKey key, const SLKey mod)
SLNode * _axesNode
node for axis mesh
SLMat4f _curOrigin
current origin of relative space (orientation and position of axes)
SLbool onKeyRelease(const SLKey key, const SLKey mod)
bool _continuousInput
flag for continuous input processing
void rotateObjectAroundPivot(SLVec3f val) const
SLVec3f _pivotPos
position of the pivot point
SLTransformSpace _curSpace
current transform space
SLfloat _deltaTime
delta time of a frame
SLNode represents a node in a hierarchical scene graph.
The SLScene class represents the top level instance holding the scene structure.
SceneView class represents a dynamic real time 3D view onto the scene.