SOFA plugin: image  master
Open source framework for multi-physics simuation
sofa::defaulttype::ImageLPTransform< _Real > Struct Template Reference

#include <CImgData.h>

Inheritance diagram for sofa::defaulttype::ImageLPTransform< _Real >:

Public Attributes

type::Quat< Realqrotation
 
Coord axisrotation
 
Real phirotation
 

Protected Attributes

Real camx
 
Real camy
 
- Protected Attributes inherited from sofa::defaulttype::TImageTransform< 12, _Real >
Params P
 

Public Member Functions

CoordgetTranslation ()
 
const CoordgetTranslation () const
 
CoordgetRotation ()
 
const CoordgetRotation () const
 
CoordgetScale ()
 
const CoordgetScale () const
 
RealgetOffsetT ()
 
const RealgetOffsetT () const
 
RealgetScaleT ()
 
const RealgetScaleT () const
 
RealisPerspective ()
 
const RealisPerspective () const
 
 ImageLPTransform ()
 
virtual ~ImageLPTransform ()
 
void setCamPos (const Real &cx, const Real &cy)
 
virtual void update ()
 
virtual Coord fromImage (const Coord &ip) const
 
virtual Real fromImage (const Real &ip) const
 
virtual Coord toImage (const Coord &p) const
 
virtual Real toImage (const Real &p) const
 
- Public Member Functions inherited from sofa::defaulttype::TImageTransform< 12, _Real >
 TImageTransform ()
 
 TImageTransform (const Params &_P)
 
 TImageTransform (const TImageTransform &T)
 
ParamsgetParams ()
 
const ParamsgetParams () const
 
TImageTransformoperator= (const TImageTransform &T)
 
void set (const Params &_P)
 
- Public Member Functions inherited from sofa::defaulttype::ImageTransform< _Real >
virtual Real fromImage (const Real &ip) const
 
virtual Real toImage (const Real &p) const
 
virtual Coord toImageInt (const Coord &p) const
 
virtual Real toImageInt (const Real &p) const
 

Additional Inherited Members

- Static Public Member Functions inherited from sofa::defaulttype::TImageTransform< 12, _Real >
static const char * Name ()
 

Attribute details

◆ axisrotation

template<typename _Real >
Coord sofa::defaulttype::ImageLPTransform< _Real >::axisrotation

◆ camx

template<typename _Real >
Real sofa::defaulttype::ImageLPTransform< _Real >::camx
protected

◆ camy

template<typename _Real >
Real sofa::defaulttype::ImageLPTransform< _Real >::camy
protected

◆ phirotation

template<typename _Real >
Real sofa::defaulttype::ImageLPTransform< _Real >::phirotation

◆ qrotation

template<typename _Real >
type::Quat<Real> sofa::defaulttype::ImageLPTransform< _Real >::qrotation

Constructor details

◆ ImageLPTransform()

template<typename _Real >
sofa::defaulttype::ImageLPTransform< _Real >::ImageLPTransform ( )
inline

◆ ~ImageLPTransform()

template<typename _Real >
virtual sofa::defaulttype::ImageLPTransform< _Real >::~ImageLPTransform ( )
inlinevirtual

Function details

◆ fromImage() [1/2]

template<typename _Real >
virtual Coord sofa::defaulttype::ImageLPTransform< _Real >::fromImage ( const Coord ip) const
inlinevirtual

◆ fromImage() [2/2]

template<typename _Real >
virtual Real sofa::defaulttype::ImageLPTransform< _Real >::fromImage ( const Real ip) const
inlinevirtual

◆ getOffsetT() [1/2]

template<typename _Real >
Real& sofa::defaulttype::ImageLPTransform< _Real >::getOffsetT ( )
inline

◆ getOffsetT() [2/2]

template<typename _Real >
const Real& sofa::defaulttype::ImageLPTransform< _Real >::getOffsetT ( ) const
inline

◆ getRotation() [1/2]

template<typename _Real >
Coord& sofa::defaulttype::ImageLPTransform< _Real >::getRotation ( )
inline

◆ getRotation() [2/2]

template<typename _Real >
const Coord& sofa::defaulttype::ImageLPTransform< _Real >::getRotation ( ) const
inlinevirtual

◆ getScale() [1/2]

template<typename _Real >
Coord& sofa::defaulttype::ImageLPTransform< _Real >::getScale ( )
inline

◆ getScale() [2/2]

template<typename _Real >
const Coord& sofa::defaulttype::ImageLPTransform< _Real >::getScale ( ) const
inlinevirtual

◆ getScaleT() [1/2]

template<typename _Real >
Real& sofa::defaulttype::ImageLPTransform< _Real >::getScaleT ( )
inline

◆ getScaleT() [2/2]

template<typename _Real >
const Real& sofa::defaulttype::ImageLPTransform< _Real >::getScaleT ( ) const
inline

◆ getTranslation() [1/2]

template<typename _Real >
Coord& sofa::defaulttype::ImageLPTransform< _Real >::getTranslation ( )
inline

◆ getTranslation() [2/2]

template<typename _Real >
const Coord& sofa::defaulttype::ImageLPTransform< _Real >::getTranslation ( ) const
inlinevirtual

◆ isPerspective() [1/2]

template<typename _Real >
Real& sofa::defaulttype::ImageLPTransform< _Real >::isPerspective ( )
inline

◆ isPerspective() [2/2]

template<typename _Real >
const Real& sofa::defaulttype::ImageLPTransform< _Real >::isPerspective ( ) const
inline

◆ setCamPos()

template<typename _Real >
void sofa::defaulttype::ImageLPTransform< _Real >::setCamPos ( const Real cx,
const Real cy 
)
inline

◆ toImage() [1/2]

template<typename _Real >
virtual Coord sofa::defaulttype::ImageLPTransform< _Real >::toImage ( const Coord p) const
inlinevirtual

◆ toImage() [2/2]

template<typename _Real >
virtual Real sofa::defaulttype::ImageLPTransform< _Real >::toImage ( const Real p) const
inlinevirtual

◆ update()

template<typename _Real >
virtual void sofa::defaulttype::ImageLPTransform< _Real >::update ( )
inlinevirtual