Inviwo  0.9.10.1
Inviwo documentation
inviwo::StructuredCoordinateTransformerImpl< N > Class Template Reference
+ Inheritance diagram for inviwo::StructuredCoordinateTransformerImpl< N >:

Public Member Functions

 StructuredCoordinateTransformerImpl (const StructuredGridEntity< N > &entity)
 
 StructuredCoordinateTransformerImpl (const StructuredCoordinateTransformerImpl< N > &rhs)=default
 
StructuredCoordinateTransformerImpl< N > & operator= (const StructuredCoordinateTransformerImpl< N > &that)=default
 
virtual StructuredCoordinateTransformerImpl< N > * clone () const
 
void setEntity (const StructuredGridEntity< N > &entity)
 
virtual const Matrix< N+1, float > getDataToIndexMatrix () const
 
virtual const Matrix< N+1, float > getDataToModelMatrix () const
 
virtual const Matrix< N+1, float > getDataToWorldMatrix () const
 
virtual const Matrix< N+1, float > getIndexToDataMatrix () const
 
virtual const Matrix< N+1, float > getIndexToModelMatrix () const
 
virtual const Matrix< N+1, float > getIndexToTextureMatrix () const
 
virtual const Matrix< N+1, float > getIndexToWorldMatrix () const
 
virtual const Matrix< N+1, float > getModelToDataMatrix () const
 
virtual const Matrix< N+1, float > getModelToIndexMatrix () const
 
virtual const Matrix< N+1, float > getModelToTextureMatrix () const
 
virtual const Matrix< N+1, float > getModelToWorldMatrix () const
 
virtual const Matrix< N+1, float > getTextureToIndexMatrix () const
 
virtual const Matrix< N+1, float > getTextureToModelMatrix () const
 
virtual const Matrix< N+1, float > getTextureToWorldMatrix () const
 
virtual const Matrix< N+1, float > getWorldToDataMatrix () const
 
virtual const Matrix< N+1, float > getWorldToIndexMatrix () const
 
virtual const Matrix< N+1, float > getWorldToModelMatrix () const
 
virtual const Matrix< N+1, float > getWorldToTextureMatrix () const
 
- Public Member Functions inherited from inviwo::StructuredCoordinateTransformer< N >
virtual Matrix< N+1, float > getMatrix (CoordinateSpace from, CoordinateSpace to) const
 

Protected Member Functions

virtual const Matrix< N+1, float > getIndexMatrix () const
 
virtual const Matrix< N+1, float > getModelMatrix () const
 
virtual const Matrix< N+1, float > getWorldMatrix () const
 

Member Function Documentation

◆ getDataToIndexMatrix()

template<unsigned int N>
const Matrix< N+1, float > inviwo::StructuredCoordinateTransformerImpl< N >::getDataToIndexMatrix ( ) const
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)

Implements inviwo::StructuredCoordinateTransformer< N >.

◆ getDataToModelMatrix()

template<unsigned int N>
const Matrix< N+1, float > inviwo::StructuredCoordinateTransformerImpl< N >::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::StructuredCoordinateTransformer< N >.

◆ getDataToWorldMatrix()

template<unsigned int N>
const Matrix< N+1, float > inviwo::StructuredCoordinateTransformerImpl< N >::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::StructuredCoordinateTransformer< N >.

◆ getIndexToDataMatrix()

template<unsigned int N>
const Matrix< N+1, float > inviwo::StructuredCoordinateTransformerImpl< N >::getIndexToDataMatrix ( ) const
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)

Implements inviwo::StructuredCoordinateTransformer< N >.

◆ getIndexToModelMatrix()

template<unsigned int N>
const Matrix< N+1, float > inviwo::StructuredCoordinateTransformerImpl< N >::getIndexToModelMatrix ( ) const
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)

Implements inviwo::StructuredCoordinateTransformer< N >.

◆ getIndexToTextureMatrix()

template<unsigned int N>
const Matrix< N+1, float > inviwo::StructuredCoordinateTransformerImpl< N >::getIndexToTextureMatrix ( ) const
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)

Implements inviwo::StructuredCoordinateTransformer< N >.

◆ getIndexToWorldMatrix()

template<unsigned int N>
const Matrix< N+1, float > inviwo::StructuredCoordinateTransformerImpl< N >::getIndexToWorldMatrix ( ) const
virtual

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< N >.

◆ getModelToDataMatrix()

template<unsigned int N>
const Matrix< N+1, float > inviwo::StructuredCoordinateTransformerImpl< N >::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::StructuredCoordinateTransformer< N >.

◆ getModelToIndexMatrix()

template<unsigned int N>
const Matrix< N+1, float > inviwo::StructuredCoordinateTransformerImpl< N >::getModelToIndexMatrix ( ) const
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)

Implements inviwo::StructuredCoordinateTransformer< N >.

◆ getModelToTextureMatrix()

template<unsigned int N>
const Matrix< N+1, float > inviwo::StructuredCoordinateTransformerImpl< N >::getModelToTextureMatrix ( ) 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::StructuredCoordinateTransformer< N >.

◆ getModelToWorldMatrix()

template<unsigned int N>
const Matrix< N+1, float > inviwo::StructuredCoordinateTransformerImpl< N >::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::StructuredCoordinateTransformer< N >.

◆ getTextureToIndexMatrix()

template<unsigned int N>
const Matrix< N+1, float > inviwo::StructuredCoordinateTransformerImpl< N >::getTextureToIndexMatrix ( ) const
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)

Implements inviwo::StructuredCoordinateTransformer< N >.

◆ getTextureToModelMatrix()

template<unsigned int N>
const Matrix< N+1, float > inviwo::StructuredCoordinateTransformerImpl< N >::getTextureToModelMatrix ( ) 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::StructuredCoordinateTransformer< N >.

◆ getTextureToWorldMatrix()

template<unsigned int N>
const Matrix< N+1, float > inviwo::StructuredCoordinateTransformerImpl< N >::getTextureToWorldMatrix ( ) 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::StructuredCoordinateTransformer< N >.

◆ getWorldToDataMatrix()

template<unsigned int N>
const Matrix< N+1, float > inviwo::StructuredCoordinateTransformerImpl< N >::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::StructuredCoordinateTransformer< N >.

◆ getWorldToIndexMatrix()

template<unsigned int N>
const Matrix< N+1, float > inviwo::StructuredCoordinateTransformerImpl< N >::getWorldToIndexMatrix ( ) const
virtual

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< N >.

◆ getWorldToModelMatrix()

template<unsigned int N>
const Matrix< N+1, float > inviwo::StructuredCoordinateTransformerImpl< N >::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::StructuredCoordinateTransformer< N >.

◆ getWorldToTextureMatrix()

template<unsigned int N>
const Matrix< N+1, float > inviwo::StructuredCoordinateTransformerImpl< N >::getWorldToTextureMatrix ( ) 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::StructuredCoordinateTransformer< N >.


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