71 return get_class_type();
73 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
77 static void init_type() {
78 FltRecord::init_type();
80 FltRecord::get_class_type());
int get_num_transform_steps() const
Returns the number of individual steps that define the net transform on this bead as returned by set_...
void set_transform(const LMatrix4d &mat)
Replaces the transform matrix on this bead.
This class writes a sequence of FltRecords to an ostream, handling opcode and size counts properly.
This class turns an istream into a sequence of FltRecords by reading a sequence of Datagrams and extr...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
FltTransformRecord * get_transform_step(int n)
Returns the nth individual step that defines the net transform on this bead.
void add_transform_step(FltTransformRecord *record)
Applies the indicated transform step to the net transformation applied to the bead.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
const LMatrix4d & get_transform() const
Returns the single-precision 4x4 matrix that represents the transform applied to this bead,...
A base class for any of a broad family of flt records that represent particular beads in the hierarch...
This is our own Panda specialization on the default STL vector.
bool has_transform() const
Returns true if the bead has been transformed, false otherwise.
The base class for all kinds of records in a MultiGen OpenFlight file.
void clear_transform()
Removes any transform matrix and all transform steps on this bead.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.
void set_replicate_count(int count)
Changes the replicate count of this bead.
int get_replicate_count() const
Returns the replicate count of this bead.