CConstrainPosHprInterval Class Reference

A constraint interval that will constrain the position and orientation of one node to the position and orientation of another. More...

Inheritance diagram for CConstrainPosHprInterval:
CConstraintInterval CInterval

List of all members.

Public Member Functions

 __init__ (string name, double duration, NodePath const node, NodePath const target, bool wrt, LVecBase3f const posOffset, LVecBase3f const hprOffset)
 Constructs a constraint interval that will constrain the position and orientation of one node to the position and orientation of another.
 __init__ (string name, double duration, NodePath const node, NodePath const target, bool wrt, LVecBase3f const posOffset)
 Constructs a constraint interval that will constrain the position and orientation of one node to the position and orientation of another.
 __init__ (string name, double duration, NodePath const node, NodePath const target, bool wrt)
 Constructs a constraint interval that will constrain the position and orientation of one node to the position and orientation of another.
NodePath const getNode ()
 Returns the "source" node.
NodePath const getTarget ()
 Returns the "target" node.

Static Public Member Functions

static TypeHandle getClassType ()

Detailed Description

A constraint interval that will constrain the position and orientation of one node to the position and orientation of another.


Member Function Documentation

__init__ ( string  name,
double  duration,
NodePath const  node,
NodePath const  target,
bool  wrt,
LVecBase3f const  posOffset,
LVecBase3f const  hprOffset 
)

Constructs a constraint interval that will constrain the position and orientation of one node to the position and orientation of another.

If wrt is true, the node's position and orientation will be transformed into the target node's parent's space before being copied. If wrt is false, the target node's local position and orientation will be copied unaltered.

__init__ ( string  name,
double  duration,
NodePath const  node,
NodePath const  target,
bool  wrt,
LVecBase3f const  posOffset 
)

Constructs a constraint interval that will constrain the position and orientation of one node to the position and orientation of another.

If wrt is true, the node's position and orientation will be transformed into the target node's parent's space before being copied. If wrt is false, the target node's local position and orientation will be copied unaltered.

__init__ ( string  name,
double  duration,
NodePath const  node,
NodePath const  target,
bool  wrt 
)

Constructs a constraint interval that will constrain the position and orientation of one node to the position and orientation of another.

If wrt is true, the node's position and orientation will be transformed into the target node's parent's space before being copied. If wrt is false, the target node's local position and orientation will be copied unaltered.

static TypeHandle getClassType ( ) [static]

Reimplemented from CConstraintInterval.

NodePath const getNode ( )

Returns the "source" node.

NodePath const getTarget ( )

Returns the "target" node.