Inviwo 0.9.12-pre
Inviwo documentation
|
Public Member Functions | |
StructuredGridEntity (const StructuredGridEntity< N > &rhs)=default | |
StructuredGridEntity (const glm::vec< N, size_t > &dimensions, const glm::vec< N, float > &spacing) | |
StructuredGridEntity (const mat4 &modelMatrix) | |
StructuredGridEntity (const mat4 &modelMatrix, const mat4 &worldMatrix) | |
StructuredGridEntity< N > & | operator= (const StructuredGridEntity< N > &that)=default |
virtual StructuredGridEntity< N > * | clone () const override=0 |
virtual glm::vec< N, size_t > | getDimensions () const =0 |
glm::mat4 | getIndexMatrix () const |
virtual const StructuredCoordinateTransformer & | getCoordinateTransformer () const override |
virtual const StructuredCameraCoordinateTransformer & | getCoordinateTransformer (const Camera &camera) 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 Axis * | getAxis (size_t index) const =0 |
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_ |
|
overridepure virtual |
Implements inviwo::SpatialEntity.
|
overridevirtual |
Reimplemented from inviwo::SpatialEntity.
|
overridevirtual |
Reimplemented from inviwo::SpatialEntity.
glm::mat4 inviwo::StructuredGridEntity< N >::getIndexMatrix | ( | ) | const |
Returns the matrix transformation mapping from texture coordinates to voxel index coordinates, i.e. from [0,1] to [-0.5, number of voxels-0.5]