Panda3D
|
input: Transform (matrix) More...
#include "transform2sg.h"
Public Member Functions | |
Transform2SG (const string &name) | |
virtual TypeHandle | force_init_type () |
PandaNode * | get_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(). |
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.
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().
PandaNode * Transform2SG::get_node | ( | ) | const |
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.
void Transform2SG::set_node | ( | PandaNode * | node | ) |
Sets the node that this object will adjust.
Definition at line 43 of file transform2sg.cxx.