Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::StructuredCoordinateTransformerImpl< N > Class Template Reference
+ Inheritance diagram for inviwo::StructuredCoordinateTransformerImpl< N >:

Public Member Functions

 StructuredCoordinateTransformerImpl (const StructuredGridEntity< N > &entity)
 
virtual StructuredCoordinateTransformerImplclone () const override
 
void setEntity (const StructuredGridEntity< N > &entity)
 
virtual glm::mat4 getDataToIndexMatrix () const override
 
virtual glm::mat4 getDataToModelMatrix () const override
 
virtual glm::mat4 getDataToWorldMatrix () const override
 
virtual glm::mat4 getIndexToDataMatrix () const override
 
virtual glm::mat4 getIndexToModelMatrix () const override
 
virtual glm::mat4 getIndexToTextureMatrix () const override
 
virtual glm::mat4 getIndexToWorldMatrix () const override
 
virtual glm::mat4 getModelToDataMatrix () const override
 
virtual glm::mat4 getModelToIndexMatrix () const override
 
virtual glm::mat4 getModelToTextureMatrix () const override
 
virtual glm::mat4 getModelToWorldMatrix () const override
 
virtual glm::mat4 getTextureToIndexMatrix () const override
 
virtual glm::mat4 getTextureToModelMatrix () const override
 
virtual glm::mat4 getTextureToWorldMatrix () const override
 
virtual glm::mat4 getWorldToDataMatrix () const override
 
virtual glm::mat4 getWorldToIndexMatrix () const override
 
virtual glm::mat4 getWorldToModelMatrix () const override
 
virtual glm::mat4 getWorldToTextureMatrix () const override
 
- Public Member Functions inherited from inviwo::StructuredCoordinateTransformer
virtual glm::mat4 getMatrix (CoordinateSpace from, CoordinateSpace to) const override
 
- Public Member Functions inherited from inviwo::SpatialCoordinateTransformer
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

 StructuredCoordinateTransformerImpl (const StructuredCoordinateTransformerImpl &rhs)=default
 
 StructuredCoordinateTransformerImpl (StructuredCoordinateTransformerImpl &&rhs)=delete
 
StructuredCoordinateTransformerImploperator= (const StructuredCoordinateTransformerImpl &that)=delete
 
StructuredCoordinateTransformerImploperator= (StructuredCoordinateTransformerImpl &&that)=delete
 
virtual glm::mat4 getIndexMatrix () const
 
virtual glm::mat4 getModelMatrix () const
 
virtual glm::mat4 getWorldMatrix () const
 
- Protected Member Functions inherited from inviwo::StructuredCoordinateTransformer
 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()

template<unsigned int N>
StructuredCoordinateTransformerImpl< N > * inviwo::StructuredCoordinateTransformerImpl< N >::clone ( ) const
overridevirtual

◆ getDataToIndexMatrix()

template<unsigned int N>
glm::mat4 inviwo::StructuredCoordinateTransformerImpl< N >::getDataToIndexMatrix ( ) const
overridevirtual

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)

Implements inviwo::StructuredCoordinateTransformer.

◆ getDataToModelMatrix()

template<unsigned int N>
glm::mat4 inviwo::StructuredCoordinateTransformerImpl< N >::getDataToModelMatrix ( ) const
overridevirtual

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()

template<unsigned int N>
glm::mat4 inviwo::StructuredCoordinateTransformerImpl< N >::getDataToWorldMatrix ( ) const
overridevirtual

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.

◆ getIndexToDataMatrix()

template<unsigned int N>
glm::mat4 inviwo::StructuredCoordinateTransformerImpl< N >::getIndexToDataMatrix ( ) const
overridevirtual

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)

Implements inviwo::StructuredCoordinateTransformer.

◆ getIndexToModelMatrix()

template<unsigned int N>
glm::mat4 inviwo::StructuredCoordinateTransformerImpl< N >::getIndexToModelMatrix ( ) const
overridevirtual

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)

Implements inviwo::StructuredCoordinateTransformer.

◆ getIndexToTextureMatrix()

template<unsigned int N>
glm::mat4 inviwo::StructuredCoordinateTransformerImpl< N >::getIndexToTextureMatrix ( ) const
overridevirtual

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)

Implements inviwo::StructuredCoordinateTransformer.

◆ getIndexToWorldMatrix()

template<unsigned int N>
glm::mat4 inviwo::StructuredCoordinateTransformerImpl< N >::getIndexToWorldMatrix ( ) const
overridevirtual

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

Implements inviwo::StructuredCoordinateTransformer.

◆ getModelToDataMatrix()

template<unsigned int N>
glm::mat4 inviwo::StructuredCoordinateTransformerImpl< N >::getModelToDataMatrix ( ) const
overridevirtual

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.

◆ getModelToIndexMatrix()

template<unsigned int N>
glm::mat4 inviwo::StructuredCoordinateTransformerImpl< N >::getModelToIndexMatrix ( ) const
overridevirtual

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)

Implements inviwo::StructuredCoordinateTransformer.

◆ getModelToTextureMatrix()

template<unsigned int N>
glm::mat4 inviwo::StructuredCoordinateTransformerImpl< N >::getModelToTextureMatrix ( ) const
overridevirtual

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

◆ getModelToWorldMatrix()

template<unsigned int N>
glm::mat4 inviwo::StructuredCoordinateTransformerImpl< N >::getModelToWorldMatrix ( ) const
overridevirtual

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.

◆ getTextureToIndexMatrix()

template<unsigned int N>
glm::mat4 inviwo::StructuredCoordinateTransformerImpl< N >::getTextureToIndexMatrix ( ) const
overridevirtual

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)

Implements inviwo::StructuredCoordinateTransformer.

◆ getTextureToModelMatrix()

template<unsigned int N>
glm::mat4 inviwo::StructuredCoordinateTransformerImpl< N >::getTextureToModelMatrix ( ) const
overridevirtual

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

◆ getTextureToWorldMatrix()

template<unsigned int N>
glm::mat4 inviwo::StructuredCoordinateTransformerImpl< N >::getTextureToWorldMatrix ( ) const
overridevirtual

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

◆ getWorldToDataMatrix()

template<unsigned int N>
glm::mat4 inviwo::StructuredCoordinateTransformerImpl< N >::getWorldToDataMatrix ( ) const
overridevirtual

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.

◆ getWorldToIndexMatrix()

template<unsigned int N>
glm::mat4 inviwo::StructuredCoordinateTransformerImpl< N >::getWorldToIndexMatrix ( ) const
overridevirtual

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

Implements inviwo::StructuredCoordinateTransformer.

◆ getWorldToModelMatrix()

template<unsigned int N>
glm::mat4 inviwo::StructuredCoordinateTransformerImpl< N >::getWorldToModelMatrix ( ) const
overridevirtual

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.

◆ getWorldToTextureMatrix()

template<unsigned int N>
glm::mat4 inviwo::StructuredCoordinateTransformerImpl< N >::getWorldToTextureMatrix ( ) const
overridevirtual

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


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