Thea
Public Types | Public Member Functions | List of all members
Transformable< TransformT > Class Template Referenceabstract

An object with an associated transformation, stored separately. More...

#include <Transformable.hpp>

Public Types

typedef TransformT Transform
 The type of transformation. More...
 

Public Member Functions

virtual void clearTransform ()
 Clear any existing transform. More...
 
Transform const & getTransform () const
 Get the transformation, if one has been set. More...
 
TransformgetTransform ()
 Get the transformation, if one has been set. More...
 
bool hasTransform () const
 Check if a transform has been set. More...
 
virtual void setTransform (Transform const &trans_)
 Set the transformation. More...
 
 Transformable ()
 Default constructor. More...
 
 Transformable (Transform const &trans_)
 Constructor. More...
 
 Transformable (Transformable const &src)
 Copy constructor. More...
 
virtual ~Transformable ()=0
 Destructor. More...
 

Detailed Description

template<typename TransformT>
class Thea::Transformable< TransformT >

An object with an associated transformation, stored separately.

Definition at line 24 of file Transformable.hpp.

Member Typedef Documentation

typedef TransformT Transform

The type of transformation.

Definition at line 29 of file Transformable.hpp.

Constructor & Destructor Documentation

~Transformable ( )
pure virtual

Destructor.

Definition at line 65 of file Transformable.hpp.

Default constructor.

Definition at line 35 of file Transformable.hpp.

Transformable ( Transform const &  trans_)

Constructor.

Definition at line 38 of file Transformable.hpp.

Transformable ( Transformable< TransformT > const &  src)

Copy constructor.

Definition at line 41 of file Transformable.hpp.

Member Function Documentation

virtual void clearTransform ( )
virtual
Transform const& getTransform ( ) const

Get the transformation, if one has been set.

Else, the return value is undefined.

Definition at line 47 of file Transformable.hpp.

Transform& getTransform ( )

Get the transformation, if one has been set.

Else, the return value is undefined.

Definition at line 50 of file Transformable.hpp.

bool hasTransform ( ) const

Check if a transform has been set.

Definition at line 44 of file Transformable.hpp.

virtual void setTransform ( Transform const &  trans_)
virtual

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