ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
TransformInfo Struct Reference

#include <ecvDrawContext.h>

Collaboration diagram for TransformInfo:
[legend]

Classes

struct  RotateParam
 

Public Member Functions

void setPostion (const CCVector3 &pos)
 
bool isApplyTransform () const
 
void setTransformation (const ccGLMatrixd &transform, bool updateTranslation=true, bool useEuler=false)
 
void setTransformation (const ccGLMatrix &transform, bool updateTranslation=true, bool useEuler=true)
 
void setRotation (double zAngle, double yAngle, double xAngle)
 
void setRotation (double zyxAngle[3])
 
void setRotation (double angle, double x, double y, double z)
 
void setRotation (double angle, const CCVector3 &axis)
 
void setRotation (double angle, const CCVector3d &axis)
 
void setScale (const CCVector3 &scale)
 
void setTranslationStart (const CCVector3 &trans)
 
void setTranslationEnd (const CCVector3 &trans)
 

Public Attributes

RotateParam rotateParam
 
bool isRotate = false
 
bool applyEuler = true
 
bool isScale = false
 
bool isTranslate = false
 
bool isPositionChanged = false
 
double quaternion [4]
 
CCVector3d eulerZYX
 
CCVector3 scaleXYZ
 the x y z scale More...
 
CCVector3 transVecStart
 
CCVector3 transVecEnd
 
CCVector3 position
 

Member Function Documentation

◆ isApplyTransform()

bool TransformInfo::isApplyTransform ( ) const
inline

◆ setPostion()

void TransformInfo::setPostion ( const CCVector3 &  pos)
inline

References position.

◆ setRotation() [1/5]

void TransformInfo::setRotation ( double  angle,
const CCVector3 &  axis 
)
inline

◆ setRotation() [2/5]

void TransformInfo::setRotation ( double  angle,
const CCVector3d &  axis 
)
inline

◆ setRotation() [3/5]

void TransformInfo::setRotation ( double  angle,
double  x,
double  y,
double  z 
)
inline

References x, y, and z.

◆ setRotation() [4/5]

void TransformInfo::setRotation ( double  zAngle,
double  yAngle,
double  xAngle 
)
inline

◆ setRotation() [5/5]

void TransformInfo::setRotation ( double  zyxAngle[3])
inline

◆ setScale()

void TransformInfo::setScale ( const CCVector3 &  scale)
inline

◆ setTransformation() [1/2]

void TransformInfo::setTransformation ( const ccGLMatrix &  transform,
bool  updateTranslation = true,
bool  useEuler = true 
)
inline

◆ setTransformation() [2/2]

◆ setTranslationEnd()

void TransformInfo::setTranslationEnd ( const CCVector3 &  trans)
inline

◆ setTranslationStart()

void TransformInfo::setTranslationStart ( const CCVector3 &  trans)
inline

Member Data Documentation

◆ applyEuler

bool TransformInfo::applyEuler = true

◆ eulerZYX

CCVector3d TransformInfo::eulerZYX

◆ isPositionChanged

bool TransformInfo::isPositionChanged = false

◆ isRotate

bool TransformInfo::isRotate = false

◆ isScale

bool TransformInfo::isScale = false

◆ isTranslate

bool TransformInfo::isTranslate = false

◆ position

CCVector3 TransformInfo::position

◆ quaternion

double TransformInfo::quaternion[4]

◆ rotateParam

RotateParam TransformInfo::rotateParam

◆ scaleXYZ

CCVector3 TransformInfo::scaleXYZ

the x y z scale

Referenced by PclUtils::PCLVis::getTransformation().

◆ transVecEnd

CCVector3 TransformInfo::transVecEnd

◆ transVecStart

CCVector3 TransformInfo::transVecStart

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