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

Public Member Functions

 SpatialCameraCoordinateTransformerImpl (const SpatialEntity &entity, const Camera &camera)
 
virtual SpatialCameraCoordinateTransformerImplclone () const override
 
void setEntity (const SpatialEntity &entity)
 
void setCamera (const Camera &camera)
 
virtual glm::mat4 getClipToDataMatrix () const override
 
virtual glm::mat4 getClipToModelMatrix () const override
 
virtual glm::mat4 getClipToViewMatrix () const override
 
virtual glm::mat4 getClipToWorldMatrix () const override
 
virtual glm::mat4 getDataToClipMatrix () const override
 
virtual glm::mat4 getDataToModelMatrix () const override
 
virtual glm::mat4 getDataToViewMatrix () const override
 
virtual glm::mat4 getDataToWorldMatrix () const override
 
virtual glm::mat4 getModelToClipMatrix () const override
 
virtual glm::mat4 getModelToDataMatrix () const override
 
virtual glm::mat4 getModelToViewMatrix () const override
 
virtual glm::mat4 getModelToWorldMatrix () const override
 
virtual glm::mat4 getViewToClipMatrix () const override
 
virtual glm::mat4 getViewToDataMatrix () const override
 
virtual glm::mat4 getViewToModelMatrix () const override
 
virtual glm::mat4 getViewToWorldMatrix () const override
 
virtual glm::mat4 getWorldToClipMatrix () const override
 
virtual glm::mat4 getWorldToDataMatrix () const override
 
virtual glm::mat4 getWorldToModelMatrix () const override
 
virtual glm::mat4 getWorldToViewMatrix () const override
 
- Public Member Functions inherited from inviwo::SpatialCameraCoordinateTransformer
virtual glm::mat4 getMatrix (CoordinateSpace from, CoordinateSpace to) const override
 
- 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

 SpatialCameraCoordinateTransformerImpl (const SpatialCameraCoordinateTransformerImpl &rhs)=default
 
 SpatialCameraCoordinateTransformerImpl (SpatialCameraCoordinateTransformerImpl &&rhs)=delete
 
SpatialCameraCoordinateTransformerImploperator= (const SpatialCameraCoordinateTransformerImpl &that)=delete
 
SpatialCameraCoordinateTransformerImploperator= (SpatialCameraCoordinateTransformerImpl &&that)=delete
 
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::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 SpatialCameraCoordinateTransformerImpl * inviwo::SpatialCameraCoordinateTransformerImpl::clone ( ) const
overridevirtual

◆ getClipToDataMatrix()

virtual glm::mat4 inviwo::SpatialCameraCoordinateTransformerImpl::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.

◆ getClipToModelMatrix()

virtual glm::mat4 inviwo::SpatialCameraCoordinateTransformerImpl::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.

◆ getClipToViewMatrix()

virtual glm::mat4 inviwo::SpatialCameraCoordinateTransformerImpl::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()

virtual glm::mat4 inviwo::SpatialCameraCoordinateTransformerImpl::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()

virtual glm::mat4 inviwo::SpatialCameraCoordinateTransformerImpl::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.

◆ getDataToModelMatrix()

virtual glm::mat4 inviwo::SpatialCameraCoordinateTransformerImpl::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()

virtual glm::mat4 inviwo::SpatialCameraCoordinateTransformerImpl::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()

virtual glm::mat4 inviwo::SpatialCameraCoordinateTransformerImpl::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.

◆ getModelToClipMatrix()

virtual glm::mat4 inviwo::SpatialCameraCoordinateTransformerImpl::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()

virtual glm::mat4 inviwo::SpatialCameraCoordinateTransformerImpl::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.

◆ getModelToViewMatrix()

virtual glm::mat4 inviwo::SpatialCameraCoordinateTransformerImpl::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()

virtual glm::mat4 inviwo::SpatialCameraCoordinateTransformerImpl::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.

◆ getViewToClipMatrix()

virtual glm::mat4 inviwo::SpatialCameraCoordinateTransformerImpl::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()

virtual glm::mat4 inviwo::SpatialCameraCoordinateTransformerImpl::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.

◆ getViewToModelMatrix()

virtual glm::mat4 inviwo::SpatialCameraCoordinateTransformerImpl::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.

◆ getViewToWorldMatrix()

virtual glm::mat4 inviwo::SpatialCameraCoordinateTransformerImpl::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()

virtual glm::mat4 inviwo::SpatialCameraCoordinateTransformerImpl::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()

virtual glm::mat4 inviwo::SpatialCameraCoordinateTransformerImpl::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.

◆ getWorldToModelMatrix()

virtual glm::mat4 inviwo::SpatialCameraCoordinateTransformerImpl::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.

◆ getWorldToViewMatrix()

virtual glm::mat4 inviwo::SpatialCameraCoordinateTransformerImpl::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: