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

Public Member Functions

virtual StructuredCameraCoordinateTransformerclone () const override=0
 
virtual glm::mat4 getMatrix (CoordinateSpace from, CoordinateSpace to) const override
 
virtual glm::mat4 getClipToTextureMatrix () const =0
 
virtual glm::mat4 getClipToIndexMatrix () const =0
 
virtual glm::mat4 getModelToTextureMatrix () const =0
 
virtual glm::mat4 getModelToIndexMatrix () const =0
 
virtual glm::mat4 getTextureToClipMatrix () const =0
 
virtual glm::mat4 getTextureToModelMatrix () const =0
 
virtual glm::mat4 getTextureToViewMatrix () const =0
 
virtual glm::mat4 getDataToIndexMatrix () const =0
 
virtual glm::mat4 getTextureToIndexMatrix () const =0
 
virtual glm::mat4 getTextureToWorldMatrix () const =0
 
virtual glm::mat4 getViewToTextureMatrix () const =0
 
virtual glm::mat4 getViewToIndexMatrix () const =0
 
virtual glm::mat4 getIndexToClipMatrix () const =0
 
virtual glm::mat4 getIndexToModelMatrix () const =0
 
virtual glm::mat4 getIndexToDataMatrix () const =0
 
virtual glm::mat4 getIndexToTextureMatrix () const =0
 
virtual glm::mat4 getIndexToViewMatrix () 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::SpatialCameraCoordinateTransformer
virtual glm::mat4 getClipToModelMatrix () const =0
 
virtual glm::mat4 getClipToDataMatrix () const =0
 
virtual glm::mat4 getClipToViewMatrix () const =0
 
virtual glm::mat4 getClipToWorldMatrix () const =0
 
virtual glm::mat4 getModelToClipMatrix () const =0
 
virtual glm::mat4 getModelToViewMatrix () const =0
 
virtual glm::mat4 getDataToClipMatrix () const =0
 
virtual glm::mat4 getDataToViewMatrix () const =0
 
virtual glm::mat4 getViewToClipMatrix () const =0
 
virtual glm::mat4 getViewToModelMatrix () const =0
 
virtual glm::mat4 getViewToDataMatrix () const =0
 
virtual glm::mat4 getViewToWorldMatrix () const =0
 
virtual glm::mat4 getWorldToClipMatrix () const =0
 
virtual glm::mat4 getWorldToViewMatrix () 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

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

virtual StructuredCameraCoordinateTransformer * inviwo::StructuredCameraCoordinateTransformer::clone ( ) const
overridepure virtual

◆ getClipToIndexMatrix()

virtual glm::mat4 inviwo::StructuredCameraCoordinateTransformer::getClipToIndexMatrix ( ) const
pure virtual

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

Implemented in inviwo::StructuredCameraCoordinateTransformerImpl< N >.

◆ getClipToTextureMatrix()

virtual glm::mat4 inviwo::StructuredCameraCoordinateTransformer::getClipToTextureMatrix ( ) const
pure virtual

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)

Implemented in inviwo::StructuredCameraCoordinateTransformerImpl< N >.

◆ getDataToIndexMatrix()

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

◆ getIndexToClipMatrix()

virtual glm::mat4 inviwo::StructuredCameraCoordinateTransformer::getIndexToClipMatrix ( ) const
pure virtual

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

Implemented in inviwo::StructuredCameraCoordinateTransformerImpl< N >.

◆ getIndexToDataMatrix()

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

◆ getIndexToModelMatrix()

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

◆ getIndexToTextureMatrix()

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

◆ getIndexToViewMatrix()

virtual glm::mat4 inviwo::StructuredCameraCoordinateTransformer::getIndexToViewMatrix ( ) const
pure virtual

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

Implemented in inviwo::StructuredCameraCoordinateTransformerImpl< N >.

◆ getIndexToWorldMatrix()

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

◆ getMatrix()

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

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

Reimplemented from inviwo::SpatialCameraCoordinateTransformer.

◆ getModelToIndexMatrix()

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

◆ getModelToTextureMatrix()

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

◆ getTextureToClipMatrix()

virtual glm::mat4 inviwo::StructuredCameraCoordinateTransformer::getTextureToClipMatrix ( ) const
pure virtual

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]

Implemented in inviwo::StructuredCameraCoordinateTransformerImpl< N >.

◆ getTextureToIndexMatrix()

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

◆ getTextureToModelMatrix()

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

◆ getTextureToViewMatrix()

virtual glm::mat4 inviwo::StructuredCameraCoordinateTransformer::getTextureToViewMatrix ( ) const
pure virtual

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)

Implemented in inviwo::StructuredCameraCoordinateTransformerImpl< N >.

◆ getTextureToWorldMatrix()

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

◆ getViewToIndexMatrix()

virtual glm::mat4 inviwo::StructuredCameraCoordinateTransformer::getViewToIndexMatrix ( ) const
pure virtual

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

Implemented in inviwo::StructuredCameraCoordinateTransformerImpl< N >.

◆ getViewToTextureMatrix()

virtual glm::mat4 inviwo::StructuredCameraCoordinateTransformer::getViewToTextureMatrix ( ) const
pure virtual

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)

Implemented in inviwo::StructuredCameraCoordinateTransformerImpl< N >.

◆ getWorldToIndexMatrix()

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

◆ getWorldToTextureMatrix()

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


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