Om
1.0.0
A universal framework for multimedia simulation
|
#include <omPhysicsShapeEditor.h>
Public Member Functions | |
Spatial (PhysicsShape *shape, ResourceID *shapeID) | |
Create a new spatial representation for the specified physics shape. More... | |
virtual void | update () |
Update the internal representation of the spatial object to reflect the resource's current state. 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... | |
Public Member Functions inherited from om::editors::base::SpatialObject | |
virtual | ~SpatialObject () |
Destroy a spatial object and release all internal resources. More... | |
virtual Color4f | getSelectionColor () const |
Return the color that this object should be highlighted with when it is selected. 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... | |
om::editors::types::PhysicsShapeEditor::Spatial::Spatial | ( | PhysicsShape * | shape, |
ResourceID * | shapeID | ||
) |
Create a new spatial representation for the specified physics shape.
|
virtual |
Update the internal representation of the spatial object to reflect the resource's current state.
Reimplemented from om::editors::base::SpatialObject.
|
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.