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

Public Member Functions

virtual SpatialCameraCoordinateTransformerclone () const override=0
 
virtual glm::mat4 getMatrix (CoordinateSpace from, CoordinateSpace to) const override
 
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

 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 SpatialCameraCoordinateTransformer * inviwo::SpatialCameraCoordinateTransformer::clone ( ) const
overridepure virtual

◆ getClipToDataMatrix()

virtual glm::mat4 inviwo::SpatialCameraCoordinateTransformer::getClipToDataMatrix ( ) 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::SpatialCameraCoordinateTransformerImpl, and inviwo::StructuredCameraCoordinateTransformerImpl< N >.

◆ getClipToModelMatrix()

virtual glm::mat4 inviwo::SpatialCameraCoordinateTransformer::getClipToModelMatrix ( ) const
pure virtual

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

Implemented in inviwo::SpatialCameraCoordinateTransformerImpl, and inviwo::StructuredCameraCoordinateTransformerImpl< N >.

◆ getClipToViewMatrix()

virtual glm::mat4 inviwo::SpatialCameraCoordinateTransformer::getClipToViewMatrix ( ) const
pure virtual

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

Implemented in inviwo::SpatialCameraCoordinateTransformerImpl, and inviwo::StructuredCameraCoordinateTransformerImpl< N >.

◆ getClipToWorldMatrix()

virtual glm::mat4 inviwo::SpatialCameraCoordinateTransformer::getClipToWorldMatrix ( ) const
pure virtual

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

Implemented in inviwo::SpatialCameraCoordinateTransformerImpl, and inviwo::StructuredCameraCoordinateTransformerImpl< N >.

◆ getDataToClipMatrix()

virtual glm::mat4 inviwo::SpatialCameraCoordinateTransformer::getDataToClipMatrix ( ) 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::SpatialCameraCoordinateTransformerImpl, and inviwo::StructuredCameraCoordinateTransformerImpl< N >.

◆ getDataToViewMatrix()

virtual glm::mat4 inviwo::SpatialCameraCoordinateTransformer::getDataToViewMatrix ( ) 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::SpatialCameraCoordinateTransformerImpl, and inviwo::StructuredCameraCoordinateTransformerImpl< N >.

◆ getMatrix()

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

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

Reimplemented from inviwo::SpatialCoordinateTransformer.

Reimplemented in inviwo::StructuredCameraCoordinateTransformer.

◆ getModelToClipMatrix()

virtual glm::mat4 inviwo::SpatialCameraCoordinateTransformer::getModelToClipMatrix ( ) const
pure virtual

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

Implemented in inviwo::SpatialCameraCoordinateTransformerImpl, and inviwo::StructuredCameraCoordinateTransformerImpl< N >.

◆ getModelToViewMatrix()

virtual glm::mat4 inviwo::SpatialCameraCoordinateTransformer::getModelToViewMatrix ( ) const
pure virtual

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

Implemented in inviwo::SpatialCameraCoordinateTransformerImpl, and inviwo::StructuredCameraCoordinateTransformerImpl< N >.

◆ getViewToClipMatrix()

virtual glm::mat4 inviwo::SpatialCameraCoordinateTransformer::getViewToClipMatrix ( ) const
pure virtual

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

Implemented in inviwo::SpatialCameraCoordinateTransformerImpl, and inviwo::StructuredCameraCoordinateTransformerImpl< N >.

◆ getViewToDataMatrix()

virtual glm::mat4 inviwo::SpatialCameraCoordinateTransformer::getViewToDataMatrix ( ) 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::SpatialCameraCoordinateTransformerImpl, and inviwo::StructuredCameraCoordinateTransformerImpl< N >.

◆ getViewToModelMatrix()

virtual glm::mat4 inviwo::SpatialCameraCoordinateTransformer::getViewToModelMatrix ( ) const
pure virtual

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

Implemented in inviwo::SpatialCameraCoordinateTransformerImpl, and inviwo::StructuredCameraCoordinateTransformerImpl< N >.

◆ getViewToWorldMatrix()

virtual glm::mat4 inviwo::SpatialCameraCoordinateTransformer::getViewToWorldMatrix ( ) const
pure virtual

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

Implemented in inviwo::SpatialCameraCoordinateTransformerImpl, and inviwo::StructuredCameraCoordinateTransformerImpl< N >.

◆ getWorldToClipMatrix()

virtual glm::mat4 inviwo::SpatialCameraCoordinateTransformer::getWorldToClipMatrix ( ) const
pure virtual

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

Implemented in inviwo::SpatialCameraCoordinateTransformerImpl, and inviwo::StructuredCameraCoordinateTransformerImpl< N >.

◆ getWorldToViewMatrix()

virtual glm::mat4 inviwo::SpatialCameraCoordinateTransformer::getWorldToViewMatrix ( ) const
pure virtual

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

Implemented in inviwo::SpatialCameraCoordinateTransformerImpl, and inviwo::StructuredCameraCoordinateTransformerImpl< N >.


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