OMPF::ompfTransformChunk Class Reference

#include <ompfTransformChunk.h>

Inherits OMPF::ompfBaseChunk.

Public Member Functions

 ompfTransformChunk ()
 
virtual ~ompfTransformChunk ()=default
 
uint32 getSize (const ompfSettings &settings) override
 
void setMatrix (const iaMatrixf &matrix)
 
void getMatrix (iaMatrixf &matrix) const
 
- Public Member Functions inherited from OMPF::ompfBaseChunk
 ompfBaseChunk (OMPFChunkType typeID)
 
virtual ~ompfBaseChunk ()=default
 
virtual bool write (std::ofstream &stream, const ompfSettings &settings)
 
virtual bool read (std::ifstream &stream, ompfSettings &settings)
 
void insertChunk (ompfBaseChunk *chunk)
 
void removeChunk (ompfBaseChunk *chunk)
 
bool hasParent () const
 
uint32 getParentID () const
 
void setParentID (const uint32 parentID)
 
bool hasChildren () const
 
const std::vector< ompfBaseChunk * > & getChildren () const
 
void setID (const uint32 chunkID)
 
uint32 getID () const
 
virtual uint32 getSize (const ompfSettings &settings)
 
OMPFChunkType getType () const
 
void setName (const iaString &name)
 
iaString getName () const
 

Detailed Description

transformation chunk

Constructor & Destructor Documentation

◆ ompfTransformChunk()

OMPF::ompfTransformChunk::ompfTransformChunk ( )

does nothing

◆ ~ompfTransformChunk()

virtual OMPF::ompfTransformChunk::~ompfTransformChunk ( )
virtualdefault

does nothing

Member Function Documentation

◆ getMatrix()

void OMPF::ompfTransformChunk::getMatrix ( iaMatrixf matrix) const

returns transformation matrix

Parameters
[out]matrixreturned transformation matrix

◆ getSize()

uint32 OMPF::ompfTransformChunk::getSize ( const ompfSettings settings)
overridevirtual
Returns
size of chunk in bytes
Parameters
settingsthe settings the size calculation is based on

Reimplemented from OMPF::ompfBaseChunk.

◆ setMatrix()

void OMPF::ompfTransformChunk::setMatrix ( const iaMatrixf matrix)

sets transformation matrix

Parameters
matrixtransformation matrix

The documentation for this class was generated from the following files: