Panda3D
Public Member Functions | Static Public Member Functions | Friends
NodeVertexTransform Class Reference

This VertexTransform gets its matrix from the Transform stored on a node. More...

#include "nodeVertexTransform.h"

Inheritance diagram for NodeVertexTransform:
VertexTransform TypedWritableReferenceCount TypedWritable ReferenceCount TypedObject MemoryBase MemoryBase

List of all members.

Public Member Functions

 NodeVertexTransform (const PandaNode *node, const VertexTransform *prev=NULL)
virtual TypeHandle force_init_type ()
virtual void get_matrix (LMatrix4 &matrix) const
 Returns the transform of the associated node, composed with the previous VertexTransform if any, expressed as a matrix.
const PandaNodeget_node () const
 Returns the PandaNode whose transform supplies this object.
const VertexTransformget_prev () const
 Returns the VertexTransform object whose matrix will be composed with the result of this node's transform.
virtual TypeHandle get_type () const
virtual void output (ostream &out) const

Static Public Member Functions

static TypeHandle get_class_type ()
static void init_type ()

Friends

class RigidBodyCombiner

Detailed Description

This VertexTransform gets its matrix from the Transform stored on a node.

It can also compose its node's transform with another VertexTransform, allowing you to build up a chain of NodeVertexTransforms that represent a list of composed matrices.

Definition at line 33 of file nodeVertexTransform.h.


Member Function Documentation

void NodeVertexTransform::get_matrix ( LMatrix4 matrix) const [virtual]

Returns the transform of the associated node, composed with the previous VertexTransform if any, expressed as a matrix.

Implements VertexTransform.

Definition at line 40 of file nodeVertexTransform.cxx.

const PandaNode * NodeVertexTransform::get_node ( ) const [inline]

Returns the PandaNode whose transform supplies this object.

Definition at line 23 of file nodeVertexTransform.I.

const VertexTransform * NodeVertexTransform::get_prev ( ) const [inline]

Returns the VertexTransform object whose matrix will be composed with the result of this node's transform.

Definition at line 34 of file nodeVertexTransform.I.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations