PxConstraintVisualizer Class Referenceabstract

#include <PxConstraintDesc.h>

Public Member Functions

virtual void visualizeJointFrames (const PxTransform &parent, const PxTransform &child)=0
 
virtual void visualizeLinearLimit (const PxTransform &t0, const PxTransform &t1, PxReal value, bool active)=0
 
virtual void visualizeAngularLimit (const PxTransform &t0, PxReal lower, PxReal upper, bool active)=0
 
virtual void visualizeLimitCone (const PxTransform &t, PxReal tanQSwingY, PxReal tanQSwingZ, bool active)=0
 
virtual void visualizeDoubleCone (const PxTransform &t, PxReal angle, bool active)=0
 
virtual void visualizeLine (const PxVec3 &p0, const PxVec3 &p1, PxU32 color)=0
 

Protected Member Functions

virtual ~PxConstraintVisualizer ()
 

Detailed Description

API used to visualize details about a constraint.

Constructor & Destructor Documentation

◆ ~PxConstraintVisualizer()

virtual PxConstraintVisualizer::~PxConstraintVisualizer ( )
inlineprotectedvirtual

Member Function Documentation

◆ visualizeAngularLimit()

virtual void PxConstraintVisualizer::visualizeAngularLimit ( const PxTransform t0,
PxReal  lower,
PxReal  upper,
bool  active 
)
pure virtual

Visualize joint angular limit

Parameters
[in]t0Transformation for the visualization
[in]lowerLower limit angle
[in]upperUpper limit angle
[in]activeState of the joint - active/inactive

◆ visualizeDoubleCone()

virtual void PxConstraintVisualizer::visualizeDoubleCone ( const PxTransform t,
PxReal  angle,
bool  active 
)
pure virtual

Visualize joint double cone

Parameters
[in]tTransformation for the visualization
[in]angleLimit angle
[in]activeState of the joint - active/inactive

◆ visualizeJointFrames()

virtual void PxConstraintVisualizer::visualizeJointFrames ( const PxTransform parent,
const PxTransform child 
)
pure virtual

Visualize joint frames

Parameters
[in]parentParent transformation
[in]childChild transformation

◆ visualizeLimitCone()

virtual void PxConstraintVisualizer::visualizeLimitCone ( const PxTransform t,
PxReal  tanQSwingY,
PxReal  tanQSwingZ,
bool  active 
)
pure virtual

Visualize limit cone

Parameters
[in]tTransformation for the visualization
[in]tanQSwingYTangent of the quarter Y angle
[in]tanQSwingZTangent of the quarter Z angle
[in]activeState of the joint - active/inactive

◆ visualizeLine()

virtual void PxConstraintVisualizer::visualizeLine ( const PxVec3 p0,
const PxVec3 p1,
PxU32  color 
)
pure virtual

Visualize line

Parameters
[in]p0Start position
[in]p1End postion
[in]colorColor

◆ visualizeLinearLimit()

virtual void PxConstraintVisualizer::visualizeLinearLimit ( const PxTransform t0,
const PxTransform t1,
PxReal  value,
bool  active 
)
pure virtual

Visualize joint linear limit

Parameters
[in]t0Base transformation
[in]t1End transformation
[in]valueDistance
[in]activeState of the joint - active/inactive

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