PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...
#include "character.h"
#include "characterJoint.h"
#include "config_char.h"
#include "nodePath.h"
#include "geomNode.h"
#include "datagram.h"
#include "datagramIterator.h"
#include "bamReader.h"
#include "bamWriter.h"
#include "pStatTimer.h"
#include "animControl.h"
#include "clockObject.h"
#include "camera.h"
#include "cullTraverser.h"
#include "cullTraverserData.h"
Go to the source code of this file.
Functions | |
CPT (TransformState) Character | |
This is used to support NodePath::calc_tight_bounds(). More... | |
CPT (TransformTable) Character | |
Creates a new TransformTable, similar to the indicated one, with the joint and slider pointers redirected into this object. More... | |
CPT (TransformBlendTable) Character | |
Creates a new TransformBlendTable, similar to the indicated one, with the joint and slider pointers redirected into this object. More... | |
CPT (SliderTable) Character | |
Creates a new SliderTable, similar to the indicated one, with the joint and slider pointers redirected into this object. More... | |
PT (Geom) Character | |
Makes a new copy of the Geom with the dynamic vertex arrays replaced to reference this Character instead of the other one. More... | |
PT (JointVertexTransform) Character | |
Creates a new JointVertexTransform that is similar to the indicated one, but points into this character. More... | |
PT (CharacterVertexSlider) Character | |
Creates a new CharacterVertexSlider that is similar to the indicated one, but points into this character. More... | |
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
All rights reserved.
All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."
Definition in file character.cxx.
CPT | ( | TransformState | ) |
This is used to support NodePath::calc_tight_bounds().
Returns the relative transform to convert from the LODNode space to the camera space.
It is not intended to be called directly, and it has nothing to do with the normal Panda bounding-volume computation.
If the node contains any geometry, this updates min_point and max_point to enclose its bounding box. found_any is to be set true if the node has any geometry at all, or left alone if it has none. This method may be called over several nodes, so it may enter with min_point, max_point, and found_any already set.
This function is recursive, and the return value is the transform after it has been modified by this node's transform. Merges old_bundle with new_bundle. old_bundle must be one of the PartBundles within this node. At the end of this call, the old_bundle pointer within this node will be replaced with the new_bundle pointer, and all geometry within this node will be updated to reference new_bundle.
This method is deprecated. Use the newer version of this method, below.
Definition at line 218 of file character.cxx.
References PandaNode::get_parents.
CPT | ( | TransformTable | ) |
Creates a new TransformTable, similar to the indicated one, with the joint and slider pointers redirected into this object.
Definition at line 928 of file character.cxx.
CPT | ( | TransformBlendTable | ) |
Creates a new TransformBlendTable, similar to the indicated one, with the joint and slider pointers redirected into this object.
Definition at line 954 of file character.cxx.
CPT | ( | SliderTable | ) |
Creates a new SliderTable, similar to the indicated one, with the joint and slider pointers redirected into this object.
Definition at line 985 of file character.cxx.
PT | ( | Geom | ) |
Makes a new copy of the Geom with the dynamic vertex arrays replaced to reference this Character instead of the other one.
If no arrays have changed, simply returns the same Geom.
Definition at line 821 of file character.cxx.
References Geom::make_copy().
PT | ( | JointVertexTransform | ) |
Creates a new JointVertexTransform that is similar to the indicated one, but points into this character.
If one was already created (in the GeomJointMap), returns it instead.
Definition at line 1011 of file character.cxx.
References TypedObject::is_of_type().
PT | ( | CharacterVertexSlider | ) |
Creates a new CharacterVertexSlider that is similar to the indicated one, but points into this character.
If one was already created (in the GeomSliderMap), returns it instead.
Definition at line 1047 of file character.cxx.
References TypedObject::is_of_type().