Candy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
HVR::AffineMapping Class Reference

This node provides an affine mapping from raw to calibrated coordinates. More...

Inheritance diagram for HVR::AffineMapping:
Inheritance graph
[legend]

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...
 
- Public Member Functions inherited from HVR::HVRMappingNode
 HVRMappingNode (H3D::Inst< H3D::SFNode > _metadata=0)
 
virtual std::string defaultXMLContainerField ()
 

Public Attributes

std::auto_ptr< H3D::SFMatrix4fpositionCalibration
  (input/output) The matrix converting the tracker's raw values into the world coordinates. More...
 
std::auto_ptr< H3D::SFRotationorientationPreCalibration
  (input/output) The zero orientation of the tracker. More...
 
std::auto_ptr< H3D::SFRotationorientationPostCalibration
  (input/output) The rotation that converts the tracker's orientation into the world orientation. More...
 
std::auto_ptr< H3D::SFVec3foffset
  (input/output) Offset of calibrated tracker position in calibrated space. More...
 

Static Public Attributes

static H3D::H3DNodeDatabase database
 
- Static Public Attributes inherited from HVR::HVRMappingNode
static H3D::H3DNodeDatabase database
 

Detailed Description

This node provides an affine mapping from raw to calibrated coordinates.

Member Function Documentation

virtual void HVR::AffineMapping::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 
)
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.

Member Data Documentation

std::auto_ptr< H3D::SFVec3f > HVR::AffineMapping::offset

(input/output) Offset of calibrated tracker position in calibrated space.

std::auto_ptr< H3D::SFRotation > HVR::AffineMapping::orientationPostCalibration

(input/output) The rotation that converts the tracker's orientation into the world orientation.

std::auto_ptr< H3D::SFRotation > HVR::AffineMapping::orientationPreCalibration

(input/output) The zero orientation of the tracker.

std::auto_ptr< H3D::SFMatrix4f > HVR::AffineMapping::positionCalibration

(input/output) The matrix converting the tracker's raw values into the world coordinates.