Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
ph::TransformInfo Class Referencefinal

#include <TransformInfo.h>

Public Member Functions

TransformInfosetPos (real x, real y, real z)
 
TransformInfosetPos (const math::Vector3R &pos)
 
TransformInfosetRot (const math::Vector3R &axis, real degrees)
 
TransformInfosetRot (const math::QuaternionR &rot)
 
TransformInfosetScale (real uniformScale)
 
TransformInfosetScale (real x, real y, real z)
 
TransformInfosetScale (const math::Vector3R &scale)
 
TransformInfotranslate (real amountX, real amountY, real amountZ)
 
TransformInfotranslate (const math::Vector3R &amount)
 
TransformInforotate (const math::Vector3R &axis, real additionalDegrees)
 
TransformInforotate (const math::QuaternionR &additionalRot)
 
TransformInfoscale (real uniformAmount)
 
TransformInfoscale (real amountX, real amountY, real amountZ)
 
TransformInfoscale (const math::Vector3R &amount)
 
math::Vector3R getPos () const
 
math::QuaternionR getRot () const
 
math::Vector3R getScale () const
 
math::TDecomposedTransform< real > getDecomposed () const
 
math::StaticAffineTransform getForwardStaticAffine () const
 
math::StaticAffineTransform getInverseStaticAffine () const
 
math::StaticRigidTransform getForwardStaticRigid () const
 
math::StaticRigidTransform getInverseStaticRigid () const
 
TransformInfoset (const math::TDecomposedTransform< real > &decomposed)
 
 PH_DEFINE_SDL_STRUCT (TSdlOwnerStruct< TransformInfo >)
 

Member Function Documentation

◆ getDecomposed()

math::TDecomposedTransform< real > ph::TransformInfo::getDecomposed ( ) const

◆ getForwardStaticAffine()

math::StaticAffineTransform ph::TransformInfo::getForwardStaticAffine ( ) const

◆ getForwardStaticRigid()

math::StaticRigidTransform ph::TransformInfo::getForwardStaticRigid ( ) const

◆ getInverseStaticAffine()

math::StaticAffineTransform ph::TransformInfo::getInverseStaticAffine ( ) const

◆ getInverseStaticRigid()

math::StaticRigidTransform ph::TransformInfo::getInverseStaticRigid ( ) const

◆ getPos()

math::Vector3R ph::TransformInfo::getPos ( ) const

◆ getRot()

math::QuaternionR ph::TransformInfo::getRot ( ) const

◆ getScale()

math::Vector3R ph::TransformInfo::getScale ( ) const

◆ PH_DEFINE_SDL_STRUCT()

ph::TransformInfo::PH_DEFINE_SDL_STRUCT ( TSdlOwnerStruct< TransformInfo > )
inline

◆ rotate() [1/2]

TransformInfo & ph::TransformInfo::rotate ( const math::QuaternionR & additionalRot)

◆ rotate() [2/2]

TransformInfo & ph::TransformInfo::rotate ( const math::Vector3R & axis,
real additionalDegrees )

◆ scale() [1/3]

TransformInfo & ph::TransformInfo::scale ( const math::Vector3R & amount)

◆ scale() [2/3]

TransformInfo & ph::TransformInfo::scale ( real amountX,
real amountY,
real amountZ )

◆ scale() [3/3]

TransformInfo & ph::TransformInfo::scale ( real uniformAmount)

◆ set()

TransformInfo & ph::TransformInfo::set ( const math::TDecomposedTransform< real > & decomposed)

◆ setPos() [1/2]

TransformInfo & ph::TransformInfo::setPos ( const math::Vector3R & pos)

◆ setPos() [2/2]

TransformInfo & ph::TransformInfo::setPos ( real x,
real y,
real z )

◆ setRot() [1/2]

TransformInfo & ph::TransformInfo::setRot ( const math::QuaternionR & rot)

◆ setRot() [2/2]

TransformInfo & ph::TransformInfo::setRot ( const math::Vector3R & axis,
real degrees )

◆ setScale() [1/3]

TransformInfo & ph::TransformInfo::setScale ( const math::Vector3R & scale)

◆ setScale() [2/3]

TransformInfo & ph::TransformInfo::setScale ( real uniformScale)

◆ setScale() [3/3]

TransformInfo & ph::TransformInfo::setScale ( real x,
real y,
real z )

◆ translate() [1/2]

TransformInfo & ph::TransformInfo::translate ( const math::Vector3R & amount)

◆ translate() [2/2]

TransformInfo & ph::TransformInfo::translate ( real amountX,
real amountY,
real amountZ )

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