HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SIM_ConstraintNetwork Namespace Reference

Classes

class  const_iterator
 
class  iterator
 

Enumerations

enum  ConstraintType { ConstraintType::Position, ConstraintType::Rotation, ConstraintType::All }
 The type of a constraint (linear, angular, or both). More...
 
enum  AnchorType { AnchorType::Point, AnchorType::Vertex, AnchorType::Agent }
 
enum  PositionType { PositionType::WorldSpace, PositionType::RelativeOffset, PositionType::GeometryPoint, PositionType::AgentXform }
 How the position of the anchor is interpreted. More...
 

Functions

SIM_API void addForceAttributes (GU_Detail &gdp, GA_RWHandleF &force, GA_RWHandleF &distance)
 Creates the 'force' and 'distance' primitive attributes. More...
 
SIM_API void addTorqueAttributes (GU_Detail &gdp, GA_RWHandleF &torque, GA_RWHandleF &angle)
 Creates the 'torque' and 'angle' primitive attributes. More...
 

Enumeration Type Documentation

The type of anchor specfied by 'anchor_type' attribute. Defaults to point.

Enumerator
Point 
Vertex 
Agent 

Definition at line 44 of file SIM_ConstraintNetworkIterator.h.

The type of a constraint (linear, angular, or both).

Enumerator
Position 
Rotation 
All 

Definition at line 35 of file SIM_ConstraintNetworkIterator.h.

How the position of the anchor is interpreted.

Enumerator
WorldSpace 
RelativeOffset 
GeometryPoint 
AgentXform 

Definition at line 52 of file SIM_ConstraintNetworkIterator.h.

Function Documentation

SIM_API void SIM_ConstraintNetwork::addForceAttributes ( GU_Detail gdp,
GA_RWHandleF force,
GA_RWHandleF distance 
)

Creates the 'force' and 'distance' primitive attributes.

SIM_API void SIM_ConstraintNetwork::addTorqueAttributes ( GU_Detail gdp,
GA_RWHandleF torque,
GA_RWHandleF angle 
)

Creates the 'torque' and 'angle' primitive attributes.