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());
A base class for any of a broad family of flt records that represent particular beads in the hierarch...
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 clear_transform()
Removes any transform matrix and all transform steps on this bead.
int get_replicate_count() const
Returns the replicate count of this bead.
void add_transform_step(FltTransformRecord *record)
Applies the indicated transform step to the net transformation applied to the bead.
FltTransformRecord * get_transform_step(int n)
Returns the nth individual step that defines the net transform on this bead.
const LMatrix4d & get_transform() const
Returns the single-precision 4x4 matrix that represents the transform applied to this bead,...
void set_transform(const LMatrix4d &mat)
Replaces the transform matrix on this bead.
void set_replicate_count(int count)
Changes the replicate count of this bead.
bool has_transform() const
Returns true if the bead has been transformed, false otherwise.
This class turns an istream into a sequence of FltRecords by reading a sequence of Datagrams and extr...
This class writes a sequence of FltRecords to an ostream, handling opcode and size counts properly.
The base class for all kinds of records in a MultiGen OpenFlight file.
TypeHandle is the identifier used to differentiate C++ class types.
This is our own Panda specialization on the default STL vector.
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(),...