Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::SpatialIdentity Class Reference
+ Inheritance diagram for inviwo::SpatialIdentity:

Public Member Functions

 SpatialIdentity (const glm::mat4 &modelMatrix)
 
 SpatialIdentity (const glm::mat4 &modelMatrix, const glm::mat4 &worldMatrix)
 
 SpatialIdentity (const SpatialIdentity &rhs)
 
SpatialIdentityoperator= (const SpatialIdentity &that)
 
virtual SpatialIdentityclone () const override
 
virtual const AxisgetAxis (size_t index) const override
 
- Public Member Functions inherited from inviwo::SpatialEntity
 SpatialEntity (const glm::mat4 &modelMatrix)
 
 SpatialEntity (const glm::mat4 &modelMatrix, const glm::mat4 &worldMatrix)
 
 SpatialEntity (const SpatialEntity &rhs)
 
SpatialEntityoperator= (const SpatialEntity &that)
 
glm::vec3 getOffset () const
 
void setOffset (const glm::vec3 &offset)
 
glm::mat3 getBasis () const
 
void setBasis (const glm::mat3 &basis)
 
glm::mat4 getModelMatrix () const
 
void setModelMatrix (const glm::mat4 &modelMatrix)
 
glm::mat4 getWorldMatrix () const
 
void setWorldMatrix (const glm::mat4 &worldMatrix)
 
virtual const SpatialCoordinateTransformergetCoordinateTransformer () const
 
virtual const SpatialCameraCoordinateTransformergetCoordinateTransformer (const Camera &camera) const
 

Additional Inherited Members

- Protected Attributes inherited from inviwo::SpatialEntity
std::unique_ptr< SpatialCoordinateTransformertransformer_
 
std::unique_ptr< SpatialCameraCoordinateTransformercameraTransformer_
 
glm::mat4 modelMatrix_
 
glm::mat4 worldMatrix_
 

Member Function Documentation

◆ clone()

virtual SpatialIdentity * inviwo::SpatialIdentity::clone ( ) const
overridevirtual

Implements inviwo::SpatialEntity.

◆ getAxis()

virtual const Axis * inviwo::SpatialIdentity::getAxis ( size_t index) const
inlineoverridevirtual

returns the axis information corresponding to index

Returns
nullptr if there is no axis for index

Implements inviwo::SpatialEntity.


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