Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::CompositeTransform Struct Reference

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>

+ Inheritance diagram for inviwo::CompositeTransform:

Public Member Functions

 CompositeTransform (const SpatialEntity &rhs)
 
 CompositeTransform (const mat4 &modelMatrix, const mat4 &worldMatrix)
 
virtual SpatialEntityclone () const override
 
virtual const AxisgetAxis (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)
 
SpatialEntityoperator= (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 SpatialCoordinateTransformergetCoordinateTransformer () const
 
virtual const SpatialCameraCoordinateTransformergetCoordinateTransformer (const Camera &camera) const
 

Additional Inherited Members

- Protected Attributes inherited from inviwo::SpatialEntity
std::unique_ptr< SpatialCoordinateTransformertransformer_
 
std::unique_ptr< SpatialCameraCoordinateTransformercameraTransformer_
 
glm::mat4 modelMatrix_
 
glm::mat4 worldMatrix_
 

Detailed Description

A very simple SpatialEntity to handle a world and model transform Used by rasterizations for adding transforms before rendering, without copying the mesh data.

Member Function Documentation

◆ clone()

virtual SpatialEntity * inviwo::CompositeTransform::clone ( ) const
inlineoverridevirtual

Implements inviwo::SpatialEntity.

◆ getAxis()

virtual const Axis * inviwo::CompositeTransform::getAxis ( size_t index) const
inlineoverridevirtual

returns the axis information corresponding to index

Returns
nullptr if there is no axis for index

Implements inviwo::SpatialEntity.


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