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

Public Member Functions

 SpatialCoordinateTransformerImpl (const SpatialEntity &entity)
 
virtual SpatialCoordinateTransformerImplclone () const
 
void setEntity (const SpatialEntity &entity)
 
virtual glm::mat4 getDataToModelMatrix () const
 
virtual glm::mat4 getDataToWorldMatrix () const
 
virtual glm::mat4 getModelToDataMatrix () const
 
virtual glm::mat4 getModelToWorldMatrix () const
 
virtual glm::mat4 getWorldToDataMatrix () const
 
virtual glm::mat4 getWorldToModelMatrix () const
 
- Public Member Functions inherited from inviwo::SpatialCoordinateTransformer
virtual glm::mat4 getMatrix (CoordinateSpace from, CoordinateSpace to) const
 
virtual glm::vec3 transformPosition (const vec3 &pos, CoordinateSpace from, CoordinateSpace to) const
 
virtual glm::vec4 transformPositionHomogeneous (const vec4 &pos, CoordinateSpace from, CoordinateSpace to) const
 
virtual glm::vec3 transformNormal (const vec3 &normal, CoordinateSpace from, CoordinateSpace to) const
 

Protected Member Functions

 SpatialCoordinateTransformerImpl (const SpatialCoordinateTransformerImpl &rhs)=default
 
 SpatialCoordinateTransformerImpl (SpatialCoordinateTransformerImpl &&rhs)=delete
 
SpatialCoordinateTransformerImploperator= (const SpatialCoordinateTransformerImpl &that)=delete
 
SpatialCoordinateTransformerImploperator= (SpatialCoordinateTransformerImpl &&that)=delete
 
virtual glm::mat4 getModelMatrix () const
 
virtual glm::mat4 getWorldMatrix () const
 
- Protected Member Functions inherited from inviwo::SpatialCoordinateTransformer
 SpatialCoordinateTransformer (const SpatialCoordinateTransformer &)=default
 
 SpatialCoordinateTransformer (SpatialCoordinateTransformer &&)=delete
 
SpatialCoordinateTransformeroperator= (const SpatialCoordinateTransformer &)=delete
 
SpatialCoordinateTransformeroperator= (SpatialCoordinateTransformer &&)=delete
 

Member Function Documentation

◆ clone()

virtual SpatialCoordinateTransformerImpl * inviwo::SpatialCoordinateTransformerImpl::clone ( ) const
virtual

◆ getDataToModelMatrix()

virtual glm::mat4 inviwo::SpatialCoordinateTransformerImpl::getDataToModelMatrix ( ) const
virtual

Returns the matrix transformation mapping from raw data numbers to model space coordinates, i.e. from generally (-inf, inf), ([0,1] for textures) to (data min, data max)

Implements inviwo::SpatialCoordinateTransformer.

◆ getDataToWorldMatrix()

virtual glm::mat4 inviwo::SpatialCoordinateTransformerImpl::getDataToWorldMatrix ( ) const
virtual

Returns the matrix transformation mapping from raw data numbers to world space coordinates, i.e. from generally (-inf, inf), ([0,1] for textures) to (-inf, inf)

Implements inviwo::SpatialCoordinateTransformer.

◆ getModelToDataMatrix()

virtual glm::mat4 inviwo::SpatialCoordinateTransformerImpl::getModelToDataMatrix ( ) const
virtual

Returns the matrix transformation mapping from model space coordinates to raw data numbers, i.e. from (data min, data max) to generally (-inf, inf), ([0,1] for textures)

Implements inviwo::SpatialCoordinateTransformer.

◆ getModelToWorldMatrix()

virtual glm::mat4 inviwo::SpatialCoordinateTransformerImpl::getModelToWorldMatrix ( ) const
virtual

Returns the matrix transformation mapping from model space coordinates to world space coordinates, i.e. from (data min, data max) to (-inf, inf)

Implements inviwo::SpatialCoordinateTransformer.

◆ getWorldToDataMatrix()

virtual glm::mat4 inviwo::SpatialCoordinateTransformerImpl::getWorldToDataMatrix ( ) const
virtual

Returns the matrix transformation mapping from world space coordinates to raw data numbers, i.e. from (-inf, inf) to generally (-inf, inf), ([0,1] for textures)

Implements inviwo::SpatialCoordinateTransformer.

◆ getWorldToModelMatrix()

virtual glm::mat4 inviwo::SpatialCoordinateTransformerImpl::getWorldToModelMatrix ( ) const
virtual

Returns the matrix transformation mapping from world space coordinates to model space coordinates, i.e. from (-inf, inf) to (data min, data max)

Implements inviwo::SpatialCoordinateTransformer.


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