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

Public Member Functions

virtual StructuredCameraCoordinateTransformer * clone () const override=0
virtual glm::dmat4 getClipToIndexMatrix () const =0
virtual glm::dmat4 getClipToTextureMatrix () const =0
virtual glm::dmat4 getDataToIndexMatrix () const =0
virtual glm::dmat4 getIndexToClipMatrix () const =0
virtual glm::dmat4 getIndexToDataMatrix () const =0
virtual glm::dmat4 getIndexToModelMatrix () const =0
virtual glm::dmat4 getIndexToTextureMatrix () const =0
virtual glm::dmat4 getIndexToViewMatrix () const =0
virtual glm::dmat4 getIndexToWorldMatrix () const =0
virtual glm::dmat4 getMatrix (CoordinateSpace from, CoordinateSpace to) const override
virtual glm::dmat4 getModelToIndexMatrix () const =0
virtual glm::dmat4 getModelToTextureMatrix () const =0
virtual glm::dmat4 getTextureToClipMatrix () const =0
virtual glm::dmat4 getTextureToIndexMatrix () const =0
virtual glm::dmat4 getTextureToModelMatrix () const =0
virtual glm::dmat4 getTextureToViewMatrix () const =0
virtual glm::dmat4 getTextureToWorldMatrix () const =0
virtual glm::dmat4 getViewToIndexMatrix () const =0
virtual glm::dmat4 getViewToTextureMatrix () const =0
virtual glm::dmat4 getWorldToIndexMatrix () const =0
virtual glm::dmat4 getWorldToTextureMatrix () const =0
Public Member Functions inherited from inviwo::SpatialCameraCoordinateTransformer
virtual glm::dmat4 getClipToDataMatrix () const =0
virtual glm::dmat4 getClipToModelMatrix () const =0
virtual glm::dmat4 getClipToViewMatrix () const =0
virtual glm::dmat4 getClipToWorldMatrix () const =0
virtual glm::dmat4 getDataToClipMatrix () const =0
virtual glm::dmat4 getDataToViewMatrix () const =0
virtual glm::dmat4 getModelToClipMatrix () const =0
virtual glm::dmat4 getModelToViewMatrix () const =0
virtual glm::dmat4 getViewToClipMatrix () const =0
virtual glm::dmat4 getViewToDataMatrix () const =0
virtual glm::dmat4 getViewToModelMatrix () const =0
virtual glm::dmat4 getViewToWorldMatrix () const =0
virtual glm::dmat4 getWorldToClipMatrix () const =0
virtual glm::dmat4 getWorldToViewMatrix () const =0
Public Member Functions inherited from inviwo::SpatialCoordinateTransformer
virtual glm::dmat4 getDataToModelMatrix () const =0
virtual glm::dmat4 getDataToWorldMatrix () const =0
glm::dmat3 getInverseMetricTensor () const
 Computes the inverse metric tensor for the dataToWorld basis. This it useful for gradient computation.
glm::dmat3 getMetricTensor () const
 Computes the metric tensor for the dataToWorld basis.
virtual glm::dmat4 getModelToDataMatrix () const =0
virtual glm::dmat4 getModelToWorldMatrix () const =0
virtual glm::dmat4 getWorldToDataMatrix () const =0
virtual glm::dmat4 getWorldToModelMatrix () const =0
virtual glm::dvec3 transformNormal (const dvec3 &normal, CoordinateSpace from, CoordinateSpace to) const
virtual glm::dvec3 transformPosition (const dvec3 &pos, CoordinateSpace from, CoordinateSpace to) const
virtual glm::dvec4 transformPositionHomogeneous (const dvec4 &pos, CoordinateSpace from, CoordinateSpace to) const

Protected Member Functions

StructuredCameraCoordinateTransformer & operator= (const StructuredCameraCoordinateTransformer &)=delete
StructuredCameraCoordinateTransformer & operator= (StructuredCameraCoordinateTransformer &&)=delete
 StructuredCameraCoordinateTransformer (const StructuredCameraCoordinateTransformer &)=default
 StructuredCameraCoordinateTransformer (StructuredCameraCoordinateTransformer &&)=delete
Protected Member Functions inherited from inviwo::SpatialCameraCoordinateTransformer
SpatialCameraCoordinateTransformer & operator= (const SpatialCameraCoordinateTransformer &)=delete
SpatialCameraCoordinateTransformer & operator= (SpatialCameraCoordinateTransformer &&)=delete
 SpatialCameraCoordinateTransformer (const SpatialCameraCoordinateTransformer &)=default
 SpatialCameraCoordinateTransformer (SpatialCameraCoordinateTransformer &&)=delete
Protected Member Functions inherited from inviwo::SpatialCoordinateTransformer
SpatialCoordinateTransformer & operator= (const SpatialCoordinateTransformer &)=delete
SpatialCoordinateTransformer & operator= (SpatialCoordinateTransformer &&)=delete
 SpatialCoordinateTransformer (const SpatialCoordinateTransformer &)=default
 SpatialCoordinateTransformer (SpatialCoordinateTransformer &&)=delete

Additional Inherited Members

Static Public Member Functions inherited from inviwo::SpatialCoordinateTransformer
static glm::dmat3 getMetricTensor (glm::dmat3 basis)
 Computes the metric tensor g_ij from a set of basis vectors.

Member Function Documentation

◆ clone()

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

◆ getClipToIndexMatrix()

virtual glm::dmat4 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::dmat4 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::dmat4 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::dmat4 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::dmat4 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::dmat4 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::dmat4 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::dmat4 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::dmat4 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::dmat4 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::dmat4 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::dmat4 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::dmat4 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::dmat4 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::dmat4 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::dmat4 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::dmat4 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::dmat4 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::dmat4 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::dmat4 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::dmat4 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:
  • include/inviwo/core/datastructures/coordinatetransformer.h