Candy
|
This node provides an affine mapping from raw to calibrated coordinates. More...
Public Member Functions | |
AffineMapping (H3D::Inst< H3D::SFNode > _metadata=0, H3D::Inst< H3D::SFMatrix4f > _positionCalibration=0, H3D::Inst< H3D::SFRotation > _orientationPreCalibration=0, H3D::Inst< H3D::SFRotation > _orientationPostCalibration=0, H3D::Inst< H3D::SFVec3f > _offset=0) | |
virtual void | getMapping (const std::vector< H3D::Vec3f > &p_in, const std::vector< H3D::Rotation > &o_in, std::vector< H3D::Vec3f > &p_out, std::vector< H3D::Rotation > &o_out) |
This function maps a list of positions and orientations into new positions and orientations according to the node's specific principles. More... | |
![]() | |
HVRMappingNode (H3D::Inst< H3D::SFNode > _metadata=0) | |
virtual std::string | defaultXMLContainerField () |
Public Attributes | |
std::auto_ptr< H3D::SFMatrix4f > | positionCalibration |
![]() | |
std::auto_ptr< H3D::SFRotation > | orientationPreCalibration |
![]() | |
std::auto_ptr< H3D::SFRotation > | orientationPostCalibration |
![]() | |
std::auto_ptr< H3D::SFVec3f > | offset |
![]() | |
Static Public Attributes | |
static H3D::H3DNodeDatabase | database |
![]() | |
static H3D::H3DNodeDatabase | database |
This node provides an affine mapping from raw to calibrated coordinates.
|
virtual |
This function maps a list of positions and orientations into new positions and orientations according to the node's specific principles.
Reimplemented from HVR::HVRMappingNode.
std::auto_ptr< H3D::SFVec3f > HVR::AffineMapping::offset |
Offset of calibrated tracker position in calibrated space.
std::auto_ptr< H3D::SFRotation > HVR::AffineMapping::orientationPostCalibration |
The rotation that converts the tracker's orientation into the world orientation.
std::auto_ptr< H3D::SFRotation > HVR::AffineMapping::orientationPreCalibration |
The zero orientation of the tracker.
std::auto_ptr< H3D::SFMatrix4f > HVR::AffineMapping::positionCalibration |
The matrix converting the tracker's raw values into the world coordinates.