14 #ifndef MOVINGPARTMATRIX_H
15 #define MOVINGPARTMATRIX_H
35 const LMatrix4 &default_value);
39 virtual void get_blend_value(
const PartBundle *root);
41 virtual bool apply_freeze_matrix(
const LVecBase3 &pos,
const LVecBase3 &hpr,
const LVecBase3 &scale);
54 return get_class_type();
56 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
62 static void init_type() {
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Parent class for all animation channels.
This template class is a special kind of AnimChannel that always returns just one fixed value.
An instance of this class is passed to the Factory when requesting it to do its business and construc...
This is a particular kind of MovingPart that accepts a matrix each frame.
virtual AnimChannelBase * make_default_channel() const
Creates and returns a new AnimChannel that is not part of any hierarchy, but that returns the default...
A basic node of the scene graph or data graph.
This is the root of a MovingPart hierarchy.
This is the base class for PartRoot and MovingPart.
virtual bool apply_control(PandaNode *node)
Specifies a node to influence this particular joint so that it will always hold the node's transform.
static void register_with_read_factory()
Factory method to generate a PartGroup object.
virtual bool apply_freeze_matrix(const LVecBase3 &pos, const LVecBase3 &hpr, const LVecBase3 &scale)
Freezes this particular joint so that it will always hold the specified transform.
TypeHandle is the identifier used to differentiate C++ class types.
Base class for objects that can be written to and read from Bam files.
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(),...