15 #include "cConstrainTransformInterval.h" 16 #include "transformState.h" 17 #include "config_interval.h" 19 TypeHandle CConstrainTransformInterval::_type_handle;
53 check_started(get_class_type(),
"priv_step");
58 CPT(TransformState) transform;
61 interval_cat.warning()
62 <<
"Unable to copy transform in CConstrainTransformInterval::priv_step;\n" 64 <<
") and target (" << _target.
get_name()
65 <<
") are not in the same graph.\n";
82 void CConstrainTransformInterval::
83 output(ostream &out)
const {
bool is_empty() const
Returns true if the NodePath contains no nodes.
void set_transform(const TransformState *transform, Thread *current_thread=Thread::get_current_thread())
Changes the complete transform object on this node.
const string & get_name() const
Returns the interval's name.
string get_name() const
Returns the name of the referenced node.
The base class for a family of intervals that constrain some property to a value over time...
double get_duration() const
Returns the duration of the interval in seconds.
bool is_same_graph(const NodePath &other, Thread *current_thread=Thread::get_current_thread()) const
Returns true if the node represented by this NodePath is parented within the same graph as that of th...
NodePath get_parent(Thread *current_thread=Thread::get_current_thread()) const
Returns the NodePath to the parent of the referenced node: that is, this NodePath, shortened by one node.
TypeHandle is the identifier used to differentiate C++ class types.
const TransformState * get_transform(Thread *current_thread=Thread::get_current_thread()) const
Returns the complete transform object set on this node.
NodePath is the fundamental system for disambiguating instances, and also provides a higher-level int...