Om
1.0.0
A universal framework for multimedia simulation
|
#include <omGraphicsObjectEditor.h>
Public Member Functions | |
Spatial (GraphicsObject *object, ResourceID *objectID) | |
Create a new spatial representation for the specified graphics object. More... | |
virtual OpaqueResource | getResource () const |
Return the resource that this spatial object represents. More... | |
virtual SpatialObjectFlags | getFlags () const |
Return a pointer to the boolean flags for this spatial object. More... | |
virtual GraphicsObject * | getGraphics () const |
Return a pointer to the graphical representation of the spatial object. More... | |
virtual Size | getTransformCount () const |
Return the number of editable transformations that this spatial object has. More... | |
virtual Transform3f | getTransform (Index transformIndex) const |
Return the transformation for this spatial object at the specified index. More... | |
virtual void | setTransform (Index transformIndex, const Transform3f &newTransform) const |
Set the transformation for this spatial object at the specified index. More... | |
Public Member Functions inherited from om::editors::base::SpatialObject | |
virtual | ~SpatialObject () |
Destroy a spatial object and release all internal resources. More... | |
virtual void | update () |
Update the internal representation of the spatial object to reflect the resource's current state. More... | |
virtual Color4f | getSelectionColor () const |
Return the color that this object should be highlighted with when it is selected. More... | |
om::editors::types::GraphicsObjectEditor::Spatial::Spatial | ( | GraphicsObject * | object, |
ResourceID * | objectID | ||
) |
Create a new spatial representation for the specified graphics object.
|
virtual |
Return the resource that this spatial object represents.
Implements om::editors::base::SpatialObject.
|
virtual |
Return a pointer to the boolean flags for this spatial object.
Reimplemented from om::editors::base::SpatialObject.
|
virtual |
Return a pointer to the graphical representation of the spatial object.
Reimplemented from om::editors::base::SpatialObject.
|
virtual |
Return the number of editable transformations that this spatial object has.
The default implementation returns 0.
Reimplemented from om::editors::base::SpatialObject.
|
virtual |
Return the transformation for this spatial object at the specified index.
The default implementation returns the identity transform.
Reimplemented from om::editors::base::SpatialObject.
|
virtual |
Set the transformation for this spatial object at the specified index.
The default implementation has no effect.
Reimplemented from om::editors::base::SpatialObject.