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

Public Member Functions

 StructuredCameraCoordinateTransformerImpl (const StructuredGridEntity< N > &entity, const Camera &camera)
 
virtual StructuredCameraCoordinateTransformerImplclone () const override
 
void setEntity (const StructuredGridEntity< N > &entity)
 
void setCamera (const Camera &camera)
 
virtual glm::mat4 getClipToDataMatrix () const override
 
virtual glm::mat4 getClipToIndexMatrix () const override
 
virtual glm::mat4 getClipToModelMatrix () const override
 
virtual glm::mat4 getClipToTextureMatrix () const override
 
virtual glm::mat4 getClipToViewMatrix () const override
 
virtual glm::mat4 getClipToWorldMatrix () const override
 
virtual glm::mat4 getDataToClipMatrix () const override
 
virtual glm::mat4 getDataToIndexMatrix () const override
 
virtual glm::mat4 getDataToModelMatrix () const override
 
virtual glm::mat4 getDataToViewMatrix () const override
 
virtual glm::mat4 getDataToWorldMatrix () const override
 
virtual glm::mat4 getIndexToClipMatrix () const override
 
virtual glm::mat4 getIndexToDataMatrix () const override
 
virtual glm::mat4 getIndexToModelMatrix () const override
 
virtual glm::mat4 getIndexToTextureMatrix () const override
 
virtual glm::mat4 getIndexToViewMatrix () const override
 
virtual glm::mat4 getIndexToWorldMatrix () const override
 
virtual glm::mat4 getModelToClipMatrix () const override
 
virtual glm::mat4 getModelToDataMatrix () const override
 
virtual glm::mat4 getModelToIndexMatrix () const override
 
virtual glm::mat4 getModelToTextureMatrix () const override
 
virtual glm::mat4 getModelToViewMatrix () const override
 
virtual glm::mat4 getModelToWorldMatrix () const override
 
virtual glm::mat4 getTextureToClipMatrix () const override
 
virtual glm::mat4 getTextureToIndexMatrix () const override
 
virtual glm::mat4 getTextureToModelMatrix () const override
 
virtual glm::mat4 getTextureToViewMatrix () const override
 
virtual glm::mat4 getTextureToWorldMatrix () const override
 
virtual glm::mat4 getViewToClipMatrix () const override
 
virtual glm::mat4 getViewToDataMatrix () const override
 
virtual glm::mat4 getViewToIndexMatrix () const override
 
virtual glm::mat4 getViewToModelMatrix () const override
 
virtual glm::mat4 getViewToTextureMatrix () const override
 
virtual glm::mat4 getViewToWorldMatrix () const override
 
virtual glm::mat4 getWorldToClipMatrix () 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
 
virtual glm::mat4 getWorldToViewMatrix () const override
 
- Public Member Functions inherited from inviwo::StructuredCameraCoordinateTransformer
virtual glm::mat4 getMatrix (CoordinateSpace from, CoordinateSpace to) const override
 
- Public Member Functions inherited from inviwo::SpatialCameraCoordinateTransformer
- 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

 StructuredCameraCoordinateTransformerImpl (const StructuredCameraCoordinateTransformerImpl &rhs)=default
 
 StructuredCameraCoordinateTransformerImpl (StructuredCameraCoordinateTransformerImpl &&rhs)=delete
 
StructuredCameraCoordinateTransformerImploperator= (const StructuredCameraCoordinateTransformerImpl &that)=delete
 
StructuredCameraCoordinateTransformerImploperator= (StructuredCameraCoordinateTransformerImpl &&that)=delete
 
virtual glm::mat4 getIndexMatrix () const
 
virtual glm::mat4 getModelMatrix () const
 
virtual glm::mat4 getWorldMatrix () const
 
virtual glm::mat4 getViewMatrix () const
 
virtual glm::mat4 getProjectionMatrix () const
 
- Protected Member Functions inherited from inviwo::StructuredCameraCoordinateTransformer
 StructuredCameraCoordinateTransformer (const StructuredCameraCoordinateTransformer &)=default
 
 StructuredCameraCoordinateTransformer (StructuredCameraCoordinateTransformer &&)=delete
 
StructuredCameraCoordinateTransformeroperator= (const StructuredCameraCoordinateTransformer &)=delete
 
StructuredCameraCoordinateTransformeroperator= (StructuredCameraCoordinateTransformer &&)=delete
 
- Protected Member Functions inherited from inviwo::SpatialCameraCoordinateTransformer
 SpatialCameraCoordinateTransformer (const SpatialCameraCoordinateTransformer &)=default
 
 SpatialCameraCoordinateTransformer (SpatialCameraCoordinateTransformer &&)=delete
 
SpatialCameraCoordinateTransformeroperator= (const SpatialCameraCoordinateTransformer &)=delete
 
SpatialCameraCoordinateTransformeroperator= (SpatialCameraCoordinateTransformer &&)=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()

◆ getClipToDataMatrix()

template<unsigned int N>
glm::mat4 inviwo::StructuredCameraCoordinateTransformerImpl< N >::getClipToDataMatrix ( ) const
overridevirtual

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

Implements inviwo::SpatialCameraCoordinateTransformer.

◆ getClipToIndexMatrix()

template<unsigned int N>
glm::mat4 inviwo::StructuredCameraCoordinateTransformerImpl< N >::getClipToIndexMatrix ( ) const
overridevirtual

Returns the matrix transformation mapping from clip space coordinates to voxel index coordinates, i.e. from [-1,1] to [0, number of voxels)

Implements inviwo::StructuredCameraCoordinateTransformer.

◆ getClipToModelMatrix()

template<unsigned int N>
glm::mat4 inviwo::StructuredCameraCoordinateTransformerImpl< N >::getClipToModelMatrix ( ) const
overridevirtual

Returns the matrix transformation mapping from clip space coordinates to model space coordinates, i.e. from [-1,1] to (data min, data max)

Implements inviwo::SpatialCameraCoordinateTransformer.

◆ getClipToTextureMatrix()

template<unsigned int N>
glm::mat4 inviwo::StructuredCameraCoordinateTransformerImpl< N >::getClipToTextureMatrix ( ) const
overridevirtual

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

Implements inviwo::StructuredCameraCoordinateTransformer.

◆ getClipToViewMatrix()

template<unsigned int N>
glm::mat4 inviwo::StructuredCameraCoordinateTransformerImpl< N >::getClipToViewMatrix ( ) const
overridevirtual

Returns the matrix transformation mapping from clip space coordinates to view space coordinates, i.e. from [-1,1] to (-inf, inf)

Implements inviwo::SpatialCameraCoordinateTransformer.

◆ getClipToWorldMatrix()

template<unsigned int N>
glm::mat4 inviwo::StructuredCameraCoordinateTransformerImpl< N >::getClipToWorldMatrix ( ) const
overridevirtual

Returns the matrix transformation mapping from clip space coordinates to world space coordinates, i.e. from [-1,1] to (-inf, inf)

Implements inviwo::SpatialCameraCoordinateTransformer.

◆ getDataToClipMatrix()

template<unsigned int N>
glm::mat4 inviwo::StructuredCameraCoordinateTransformerImpl< N >::getDataToClipMatrix ( ) const
overridevirtual

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

Implements inviwo::SpatialCameraCoordinateTransformer.

◆ getDataToIndexMatrix()

template<unsigned int N>
glm::mat4 inviwo::StructuredCameraCoordinateTransformerImpl< 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::StructuredCameraCoordinateTransformer.

◆ getDataToModelMatrix()

template<unsigned int N>
glm::mat4 inviwo::StructuredCameraCoordinateTransformerImpl< 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.

◆ getDataToViewMatrix()

template<unsigned int N>
glm::mat4 inviwo::StructuredCameraCoordinateTransformerImpl< N >::getDataToViewMatrix ( ) const
overridevirtual

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

Implements inviwo::SpatialCameraCoordinateTransformer.

◆ getDataToWorldMatrix()

template<unsigned int N>
glm::mat4 inviwo::StructuredCameraCoordinateTransformerImpl< 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.

◆ getIndexToClipMatrix()

template<unsigned int N>
glm::mat4 inviwo::StructuredCameraCoordinateTransformerImpl< N >::getIndexToClipMatrix ( ) const
overridevirtual

Returns the matrix transformation mapping from voxel index coordinates to clip space coordinates, i.e. from [0, number of voxels) to [-1,1]

Implements inviwo::StructuredCameraCoordinateTransformer.

◆ getIndexToDataMatrix()

template<unsigned int N>
glm::mat4 inviwo::StructuredCameraCoordinateTransformerImpl< 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::StructuredCameraCoordinateTransformer.

◆ getIndexToModelMatrix()

template<unsigned int N>
glm::mat4 inviwo::StructuredCameraCoordinateTransformerImpl< 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::StructuredCameraCoordinateTransformer.

◆ getIndexToTextureMatrix()

template<unsigned int N>
glm::mat4 inviwo::StructuredCameraCoordinateTransformerImpl< 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::StructuredCameraCoordinateTransformer.

◆ getIndexToViewMatrix()

template<unsigned int N>
glm::mat4 inviwo::StructuredCameraCoordinateTransformerImpl< N >::getIndexToViewMatrix ( ) const
overridevirtual

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

Implements inviwo::StructuredCameraCoordinateTransformer.

◆ getIndexToWorldMatrix()

template<unsigned int N>
glm::mat4 inviwo::StructuredCameraCoordinateTransformerImpl< 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::StructuredCameraCoordinateTransformer.

◆ getModelToClipMatrix()

template<unsigned int N>
glm::mat4 inviwo::StructuredCameraCoordinateTransformerImpl< N >::getModelToClipMatrix ( ) const
overridevirtual

Returns the matrix transformation mapping from model space coordinates to clip space coordinates, i.e. from (data min, data max) to [-1,1]

Implements inviwo::SpatialCameraCoordinateTransformer.

◆ getModelToDataMatrix()

template<unsigned int N>
glm::mat4 inviwo::StructuredCameraCoordinateTransformerImpl< 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::StructuredCameraCoordinateTransformerImpl< 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::StructuredCameraCoordinateTransformer.

◆ getModelToTextureMatrix()

template<unsigned int N>
glm::mat4 inviwo::StructuredCameraCoordinateTransformerImpl< 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::StructuredCameraCoordinateTransformer.

◆ getModelToViewMatrix()

template<unsigned int N>
glm::mat4 inviwo::StructuredCameraCoordinateTransformerImpl< N >::getModelToViewMatrix ( ) const
overridevirtual

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

Implements inviwo::SpatialCameraCoordinateTransformer.

◆ getModelToWorldMatrix()

template<unsigned int N>
glm::mat4 inviwo::StructuredCameraCoordinateTransformerImpl< 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.

◆ getTextureToClipMatrix()

template<unsigned int N>
glm::mat4 inviwo::StructuredCameraCoordinateTransformerImpl< N >::getTextureToClipMatrix ( ) const
overridevirtual

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

Implements inviwo::StructuredCameraCoordinateTransformer.

◆ getTextureToIndexMatrix()

template<unsigned int N>
glm::mat4 inviwo::StructuredCameraCoordinateTransformerImpl< 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::StructuredCameraCoordinateTransformer.

◆ getTextureToModelMatrix()

template<unsigned int N>
glm::mat4 inviwo::StructuredCameraCoordinateTransformerImpl< 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::StructuredCameraCoordinateTransformer.

◆ getTextureToViewMatrix()

template<unsigned int N>
glm::mat4 inviwo::StructuredCameraCoordinateTransformerImpl< N >::getTextureToViewMatrix ( ) const
overridevirtual

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

Implements inviwo::StructuredCameraCoordinateTransformer.

◆ getTextureToWorldMatrix()

template<unsigned int N>
glm::mat4 inviwo::StructuredCameraCoordinateTransformerImpl< 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::StructuredCameraCoordinateTransformer.

◆ getViewToClipMatrix()

template<unsigned int N>
glm::mat4 inviwo::StructuredCameraCoordinateTransformerImpl< N >::getViewToClipMatrix ( ) const
overridevirtual

Returns the matrix transformation mapping from view space coordinates to clip space coordinates, i.e. from (-inf, inf) to [-1,1]

Implements inviwo::SpatialCameraCoordinateTransformer.

◆ getViewToDataMatrix()

template<unsigned int N>
glm::mat4 inviwo::StructuredCameraCoordinateTransformerImpl< N >::getViewToDataMatrix ( ) const
overridevirtual

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

Implements inviwo::SpatialCameraCoordinateTransformer.

◆ getViewToIndexMatrix()

template<unsigned int N>
glm::mat4 inviwo::StructuredCameraCoordinateTransformerImpl< N >::getViewToIndexMatrix ( ) const
overridevirtual

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

Implements inviwo::StructuredCameraCoordinateTransformer.

◆ getViewToModelMatrix()

template<unsigned int N>
glm::mat4 inviwo::StructuredCameraCoordinateTransformerImpl< N >::getViewToModelMatrix ( ) const
overridevirtual

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

Implements inviwo::SpatialCameraCoordinateTransformer.

◆ getViewToTextureMatrix()

template<unsigned int N>
glm::mat4 inviwo::StructuredCameraCoordinateTransformerImpl< N >::getViewToTextureMatrix ( ) const
overridevirtual

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

Implements inviwo::StructuredCameraCoordinateTransformer.

◆ getViewToWorldMatrix()

template<unsigned int N>
glm::mat4 inviwo::StructuredCameraCoordinateTransformerImpl< N >::getViewToWorldMatrix ( ) const
overridevirtual

Returns the matrix transformation mapping from view space coordinates to world space coordinates, i.e. from (-inf, inf) to (-inf, inf)

Implements inviwo::SpatialCameraCoordinateTransformer.

◆ getWorldToClipMatrix()

template<unsigned int N>
glm::mat4 inviwo::StructuredCameraCoordinateTransformerImpl< N >::getWorldToClipMatrix ( ) const
overridevirtual

Returns the matrix transformation mapping from world space coordinates to clip space coordinates, i.e. from (-inf, inf) to [-1,1]

Implements inviwo::SpatialCameraCoordinateTransformer.

◆ getWorldToDataMatrix()

template<unsigned int N>
glm::mat4 inviwo::StructuredCameraCoordinateTransformerImpl< 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::StructuredCameraCoordinateTransformerImpl< 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::StructuredCameraCoordinateTransformer.

◆ getWorldToModelMatrix()

template<unsigned int N>
glm::mat4 inviwo::StructuredCameraCoordinateTransformerImpl< 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::StructuredCameraCoordinateTransformerImpl< 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::StructuredCameraCoordinateTransformer.

◆ getWorldToViewMatrix()

template<unsigned int N>
glm::mat4 inviwo::StructuredCameraCoordinateTransformerImpl< N >::getWorldToViewMatrix ( ) const
overridevirtual

Returns the matrix transformation mapping from world space coordinates to view space coordinates, i.e. from (-inf, inf) to (-inf, inf)

Implements inviwo::SpatialCameraCoordinateTransformer.


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