Panda3D
Public Member Functions | Static Public Member Functions | Protected Member Functions
Transform2SG Class Reference

input: Transform (matrix) More...

#include "transform2sg.h"

Inheritance diagram for Transform2SG:
DataNode PandaNode TypedWritable Namable LinkedListNode ReferenceCount TypedObject MemoryBase MemoryBase MemoryBase

List of all members.

Public Member Functions

 Transform2SG (const string &name)
virtual TypeHandle force_init_type ()
PandaNodeget_node () const
 Returns the node that this object will adjust, or NULL if the node has not yet been set.
virtual TypeHandle get_type () const
void set_node (PandaNode *node)
 Sets the node that this object will adjust.

Static Public Member Functions

static TypeHandle get_class_type ()
static void init_type ()

Protected Member Functions

virtual void do_transmit_data (DataGraphTraverser *trav, const DataNodeTransmit &input, DataNodeTransmit &output)
 The virtual implementation of transmit_data().

Detailed Description

input: Transform (matrix)

output: none, but applies the matrix as the transform transition for a given arc of the scene graph.

Definition at line 30 of file transform2sg.h.


Member Function Documentation

void Transform2SG::do_transmit_data ( DataGraphTraverser trav,
const DataNodeTransmit input,
DataNodeTransmit output 
) [protected, virtual]

The virtual implementation of transmit_data().

This function receives an array of input parameters and should generate an array of output parameters. The input parameters may be accessed with the index numbers returned by the define_input() calls that were made earlier (presumably in the constructor); likewise, the output parameters should be set with the index numbers returned by the define_output() calls.

Reimplemented from DataNode.

Definition at line 73 of file transform2sg.cxx.

References DataGraphTraverser::get_current_thread(), DataNodeTransmit::get_data(), EventParameter::get_ptr(), and DataNodeTransmit::has_data().

Returns the node that this object will adjust, or NULL if the node has not yet been set.

Definition at line 54 of file transform2sg.cxx.

Sets the node that this object will adjust.

Definition at line 43 of file transform2sg.cxx.


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