15 #include "transform2sg.h"
16 #include "transformState.h"
17 #include "dataNodeTransmit.h"
18 #include "dataGraphTraverser.h"
29 Transform2SG(
const string &name) :
32 _transform_input = define_input(
"transform", TransformState::get_class_type());
77 if (input.
has_data(_transform_input)) {
78 const TransformState *transform;
81 _node->set_transform(transform, current_thread);
A basic node of the scene graph or data graph.
The fundamental type of node for the data graph.
const EventParameter & get_data(int index) const
Extracts the data for the indicated index, if it has been stored, or the empty parameter if it has no...
A thread; that is, a lightweight process.
TypedWritableReferenceCount * get_ptr() const
Retrieves a pointer to the actual value stored in the parameter.
TypeHandle is the identifier used to differentiate C++ class types.
bool has_data(int index) const
Returns true if the indicated parameter has been stored, false otherwise.
Encapsulates the data generated from (or sent into) any particular DataNode.
Thread * get_current_thread() const
Returns the currently-executing thread object, as passed to the DataGraphTraverser constructor...
This object supervises the traversal of the data graph and the moving of data from one DataNode to it...