14 #ifndef CCONSTRAINPOSHPRINTERVAL_H 15 #define CCONSTRAINPOSHPRINTERVAL_H 31 bool wrt,
const LVecBase3 posOffset=LVector3::zero(),
32 const LVecBase3 hprOffset=LVector3::zero());
34 INLINE
const NodePath &get_node()
const;
35 INLINE
const NodePath &get_target()
const;
38 virtual void output(std::ostream &out)
const;
45 LQuaternion _quatOffset;
51 static void init_type() {
52 CConstraintInterval::init_type();
54 CConstraintInterval::get_class_type());
57 return get_class_type();
59 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
A constraint interval that will constrain the position and orientation of one node to the position an...
virtual void priv_step(double t)
Advances the time on the interval.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
The base class for a family of intervals that constrain some property to a value over time.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.
NodePath is the fundamental system for disambiguating instances, and also provides a higher-level int...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.