14#ifndef CCONSTRAINHPRINTERVAL_H
15#define CCONSTRAINHPRINTERVAL_H
31 bool wrt,
const LVecBase3 hprOffset=LVector3::zero());
37 virtual void output(std::ostream &out)
const;
43 LQuaternion _quatOffset;
49 static void init_type() {
50 CConstraintInterval::init_type();
52 CConstraintInterval::get_class_type());
55 return get_class_type();
57 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
const NodePath & get_target() const
Returns the "target" node.
const NodePath & get_node() const
Returns the "source" node.
CConstrainHprInterval(const std::string &name, double duration, const NodePath &node, const NodePath &target, bool wrt, const LVecBase3 hprOffset=LVector3::zero())
Constructs a constraint interval that will constrain the orientation of one node to the orientation o...
virtual void priv_step(double t)
Advances the time on the interval.
NodePath is the fundamental system for disambiguating instances, and also provides a higher-level int...
TypeHandle is the identifier used to differentiate C++ class types.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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(),...