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

#include <omGraphicsObjectEditor.h>

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

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...
 

Constructor & Destructor Documentation

om::editors::types::GraphicsObjectEditor::Spatial::Spatial ( GraphicsObject *  object,
ResourceID objectID 
)

Create a new spatial representation for the specified graphics object.

Member Function Documentation

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

Return the resource that this spatial object represents.

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

virtual SpatialObjectFlags om::editors::types::GraphicsObjectEditor::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::GraphicsObjectEditor::Spatial::getGraphics ( ) const
virtual

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

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

virtual Size om::editors::types::GraphicsObjectEditor::Spatial::getTransformCount ( ) const
virtual

Return the number of editable transformations that this spatial object has.

The default implementation returns 0.

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

virtual Transform3f om::editors::types::GraphicsObjectEditor::Spatial::getTransform ( Index  transformIndex) const
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 void om::editors::types::GraphicsObjectEditor::Spatial::setTransform ( Index  transformIndex,
const Transform3f &  newTransform 
) const
virtual

Set the transformation for this spatial object at the specified index.

The default implementation has no effect.

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


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