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

Public Member Functions

virtual StructuredCoordinateTransformerclone () const override=0
 
virtual glm::mat4 getMatrix (CoordinateSpace from, CoordinateSpace to) const override
 
virtual glm::mat4 getModelToTextureMatrix () const =0
 
virtual glm::mat4 getModelToIndexMatrix () const =0
 
virtual glm::mat4 getTextureToModelMatrix () const =0
 
virtual glm::mat4 getDataToIndexMatrix () const =0
 
virtual glm::mat4 getTextureToIndexMatrix () const =0
 
virtual glm::mat4 getTextureToWorldMatrix () const =0
 
virtual glm::mat4 getIndexToModelMatrix () const =0
 
virtual glm::mat4 getIndexToDataMatrix () const =0
 
virtual glm::mat4 getIndexToTextureMatrix () const =0
 
virtual glm::mat4 getIndexToWorldMatrix () const =0
 
virtual glm::mat4 getWorldToTextureMatrix () const =0
 
virtual glm::mat4 getWorldToIndexMatrix () const =0
 
- Public Member Functions inherited from inviwo::SpatialCoordinateTransformer
virtual glm::mat4 getModelToDataMatrix () const =0
 
virtual glm::mat4 getModelToWorldMatrix () const =0
 
virtual glm::mat4 getDataToModelMatrix () const =0
 
virtual glm::mat4 getDataToWorldMatrix () const =0
 
virtual glm::mat4 getWorldToModelMatrix () const =0
 
virtual glm::mat4 getWorldToDataMatrix () const =0
 
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

 StructuredCoordinateTransformer (const StructuredCoordinateTransformer &)=default
 
 StructuredCoordinateTransformer (StructuredCoordinateTransformer &&)=delete
 
StructuredCoordinateTransformeroperator= (const StructuredCoordinateTransformer &)=delete
 
StructuredCoordinateTransformeroperator= (StructuredCoordinateTransformer &&)=delete
 
- 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 StructuredCoordinateTransformer * inviwo::StructuredCoordinateTransformer::clone ( ) const
overridepure virtual

◆ getDataToIndexMatrix()

virtual glm::mat4 inviwo::StructuredCoordinateTransformer::getDataToIndexMatrix ( ) const
pure virtual

Returns the matrix transformation mapping from raw data numbers to voxel index coordinates, i.e. from generally (-inf, inf), ([0,1] for textures) to [0, number of voxels)

Implemented in inviwo::StructuredCoordinateTransformerImpl< N >.

◆ getIndexToDataMatrix()

virtual glm::mat4 inviwo::StructuredCoordinateTransformer::getIndexToDataMatrix ( ) const
pure virtual

Returns the matrix transformation mapping from voxel index coordinates to raw data numbers, i.e. from [0, number of voxels) to generally (-inf, inf), ([0,1] for textures)

Implemented in inviwo::StructuredCoordinateTransformerImpl< N >.

◆ getIndexToModelMatrix()

virtual glm::mat4 inviwo::StructuredCoordinateTransformer::getIndexToModelMatrix ( ) const
pure virtual

Returns the matrix transformation mapping from voxel index coordinates to model space coordinates, i.e. from [0, number of voxels) to (data min, data max)

Implemented in inviwo::StructuredCoordinateTransformerImpl< N >.

◆ getIndexToTextureMatrix()

virtual glm::mat4 inviwo::StructuredCoordinateTransformer::getIndexToTextureMatrix ( ) const
pure virtual

Returns the matrix transformation mapping from voxel index coordinates to raw data numbers, i.e. from [0, number of voxels) to generally (-inf, inf), ([0,1] for textures)

Implemented in inviwo::StructuredCoordinateTransformerImpl< N >.

◆ getIndexToWorldMatrix()

virtual glm::mat4 inviwo::StructuredCoordinateTransformer::getIndexToWorldMatrix ( ) const
pure virtual

Returns the matrix transformation mapping from voxel index coordinates to world space coordinates, i.e. from [0, number of voxels) to (-inf, inf)

Implemented in inviwo::StructuredCoordinateTransformerImpl< N >.

◆ getMatrix()

virtual glm::mat4 inviwo::StructuredCoordinateTransformer::getMatrix ( CoordinateSpace from,
CoordinateSpace to ) const
overridevirtual

Returns the matrix transformation mapping from "from" coordinates to "to" coordinates

Reimplemented from inviwo::SpatialCoordinateTransformer.

◆ getModelToIndexMatrix()

virtual glm::mat4 inviwo::StructuredCoordinateTransformer::getModelToIndexMatrix ( ) const
pure virtual

Returns the matrix transformation mapping from model space coordinates to voxel index coordinates, i.e. from (data min, data max) to [0, number of voxels)

Implemented in inviwo::StructuredCoordinateTransformerImpl< N >.

◆ getModelToTextureMatrix()

virtual glm::mat4 inviwo::StructuredCoordinateTransformer::getModelToTextureMatrix ( ) const
pure 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)

Implemented in inviwo::StructuredCoordinateTransformerImpl< N >.

◆ getTextureToIndexMatrix()

virtual glm::mat4 inviwo::StructuredCoordinateTransformer::getTextureToIndexMatrix ( ) const
pure virtual

Returns the matrix transformation mapping from raw data numbers to voxel index coordinates, i.e. from generally (-inf, inf), ([0,1] for textures) to [0, number of voxels)

Implemented in inviwo::StructuredCoordinateTransformerImpl< N >.

◆ getTextureToModelMatrix()

virtual glm::mat4 inviwo::StructuredCoordinateTransformer::getTextureToModelMatrix ( ) const
pure 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)

Implemented in inviwo::StructuredCoordinateTransformerImpl< N >.

◆ getTextureToWorldMatrix()

virtual glm::mat4 inviwo::StructuredCoordinateTransformer::getTextureToWorldMatrix ( ) const
pure 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)

Implemented in inviwo::StructuredCoordinateTransformerImpl< N >.

◆ getWorldToIndexMatrix()

virtual glm::mat4 inviwo::StructuredCoordinateTransformer::getWorldToIndexMatrix ( ) const
pure virtual

Returns the matrix transformation mapping from world space coordinates to voxel index coordinates, i.e. from (-inf, inf) to [0, number of voxels)

Implemented in inviwo::StructuredCoordinateTransformerImpl< N >.

◆ getWorldToTextureMatrix()

virtual glm::mat4 inviwo::StructuredCoordinateTransformer::getWorldToTextureMatrix ( ) const
pure 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)

Implemented in inviwo::StructuredCoordinateTransformerImpl< N >.


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