Om  1.0.0
A universal framework for multimedia simulation
Public Member Functions | List of all members
om::editors::types::GraphicsShapeEditor::Spatial Class Reference

#include <omGraphicsShapeEditor.h>

Inheritance diagram for om::editors::types::GraphicsShapeEditor::Spatial:
om::editors::base::SpatialObject

Public Member Functions

 Spatial (GraphicsShape *shape, ResourceID *shapeID)
 Create a new spatial representation for the specified graphics shape. 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 GraphicsObjectgetGraphics () 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 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...
 
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...
 

Constructor & Destructor Documentation

om::editors::types::GraphicsShapeEditor::Spatial::Spatial ( GraphicsShape shape,
ResourceID shapeID 
)

Create a new spatial representation for the specified graphics shape.

Member Function Documentation

virtual OpaqueResource om::editors::types::GraphicsShapeEditor::Spatial::getResource ( ) const
virtual

Return the resource that this spatial object represents.

Implements om::editors::base::SpatialObject.

virtual SpatialObjectFlags om::editors::types::GraphicsShapeEditor::Spatial::getFlags ( ) const
virtual

Return a pointer to the boolean flags for this spatial object.

Reimplemented from om::editors::base::SpatialObject.

virtual GraphicsObject* om::editors::types::GraphicsShapeEditor::Spatial::getGraphics ( ) const
virtual

Return a pointer to the graphical representation of the spatial object.

Reimplemented from om::editors::base::SpatialObject.


The documentation for this class was generated from the following file: