14#ifndef NODEVERTEXTRANSFORM_H
15#define NODEVERTEXTRANSFORM_H
29class EXPCL_PANDA_GRUTIL NodeVertexTransform :
public VertexTransform {
31 NodeVertexTransform(
const PandaNode *node,
32 const VertexTransform *prev =
nullptr);
35 INLINE
const VertexTransform *
get_prev()
const;
39 virtual void get_matrix(LMatrix4 &matrix)
const;
41 virtual void output(std::ostream &out)
const;
45 CPT(VertexTransform) _prev;
51 static void init_type() {
52 VertexTransform::init_type();
54 VertexTransform::get_class_type());
56 virtual TypeHandle get_type()
const {
57 return get_class_type();
59 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
62 static TypeHandle _type_handle;
64 friend class RigidBodyCombiner;
An instance of this class is passed to the Factory when requesting it to do its business and construc...
A basic node of the scene graph or data graph.
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.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...