Inviwo 0.9.12-pre
Inviwo documentation
|
Public Member Functions | |
virtual SpatialCameraCoordinateTransformer * | clone () 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 | |
SpatialCameraCoordinateTransformer & | operator= (const SpatialCameraCoordinateTransformer &)=delete |
SpatialCameraCoordinateTransformer & | operator= (SpatialCameraCoordinateTransformer &&)=delete |
Protected Member Functions inherited from inviwo::SpatialCoordinateTransformer | |
SpatialCoordinateTransformer (const SpatialCoordinateTransformer &)=default | |
SpatialCoordinateTransformer (SpatialCoordinateTransformer &&)=delete | |
SpatialCoordinateTransformer & | operator= (const SpatialCoordinateTransformer &)=delete |
SpatialCoordinateTransformer & | operator= (SpatialCoordinateTransformer &&)=delete |
|
overridepure virtual |
Implements inviwo::SpatialCoordinateTransformer.
|
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 >.
|
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 >.
|
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 >.
|
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 >.
|
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 >.
|
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 >.
|
overridevirtual |
Returns the matrix transformation mapping from "from" coordinates to "to" coordinates
Reimplemented from inviwo::SpatialCoordinateTransformer.
Reimplemented in inviwo::StructuredCameraCoordinateTransformer.
|
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 >.
|
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 >.
|
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 >.
|
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 >.
|
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 >.
|
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 >.
|
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 >.
|
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 >.