Inviwo 0.9.12-pre
Inviwo documentation
|
A very simple SpatialEntity to handle a world and model transform Used by rasterizations for adding transforms before rendering, without copying the mesh data. More...
#include <transformedrasterization.h>
Public Member Functions | |
CompositeTransform (const SpatialEntity &rhs) | |
CompositeTransform (const mat4 &modelMatrix, const mat4 &worldMatrix) | |
virtual SpatialEntity * | clone () const override |
virtual const Axis * | getAxis (size_t) const override |
Public Member Functions inherited from inviwo::SpatialEntity | |
SpatialEntity (const glm::mat4 &modelMatrix) | |
SpatialEntity (const glm::mat4 &modelMatrix, const glm::mat4 &worldMatrix) | |
SpatialEntity (const SpatialEntity &rhs) | |
SpatialEntity & | operator= (const SpatialEntity &that) |
glm::vec3 | getOffset () const |
void | setOffset (const glm::vec3 &offset) |
glm::mat3 | getBasis () const |
void | setBasis (const glm::mat3 &basis) |
glm::mat4 | getModelMatrix () const |
void | setModelMatrix (const glm::mat4 &modelMatrix) |
glm::mat4 | getWorldMatrix () const |
void | setWorldMatrix (const glm::mat4 &worldMatrix) |
virtual const SpatialCoordinateTransformer & | getCoordinateTransformer () const |
virtual const SpatialCameraCoordinateTransformer & | getCoordinateTransformer (const Camera &camera) const |
Additional Inherited Members | |
Protected Attributes inherited from inviwo::SpatialEntity | |
std::unique_ptr< SpatialCoordinateTransformer > | transformer_ |
std::unique_ptr< SpatialCameraCoordinateTransformer > | cameraTransformer_ |
glm::mat4 | modelMatrix_ |
glm::mat4 | worldMatrix_ |
A very simple SpatialEntity to handle a world and model transform Used by rasterizations for adding transforms before rendering, without copying the mesh data.
|
inlineoverridevirtual |
Implements inviwo::SpatialEntity.
|
inlineoverridevirtual |
returns the axis information corresponding to index
index
Implements inviwo::SpatialEntity.