|
|
|
A base class for any of a broad family of flt records that represent particular beads in the hierarchy.
More...
#include "fltBead.h"
List of all members.
Detailed Description
A base class for any of a broad family of flt records that represent particular beads in the hierarchy.
These are things like group beads and object beads, as opposed to things like push and pop or comment records.
Definition at line 33 of file fltBead.h.
Member Function Documentation
| bool FltBead::build_record |
( |
FltRecordWriter & |
writer | ) |
const [protected, virtual] |
Fills up the current record on the FltRecordWriter with data for this record, but does not advance the writer.
Returns true on success, false if there is some error.
Reimplemented from FltRecord.
Reimplemented in FltBeadID, FltCurve, FltExternalReference, FltFace, FltGeometry, FltGroup, FltHeader, FltInstanceDefinition, FltInstanceRef, FltLOD, FltMesh, FltMeshPrimitive, and FltObject.
Definition at line 274 of file fltBead.cxx.
References FltRecord::build_record().
Referenced by FltMeshPrimitive::build_record(), FltInstanceRef::build_record(), FltInstanceDefinition::build_record(), FltExternalReference::build_record(), and FltBeadID::build_record().
| void FltBead::clear_transform |
( |
| ) |
|
| bool FltBead::extract_ancillary |
( |
FltRecordReader & |
reader | ) |
[protected, virtual] |
| bool FltBead::extract_record |
( |
FltRecordReader & |
reader | ) |
[protected, virtual] |
Fills in the information in this bead based on the information given in the indicated datagram, whose opcode has already been read.
Returns true on success, false if the datagram is invalid.
Reimplemented from FltRecord.
Reimplemented in FltBeadID, FltCurve, FltExternalReference, FltFace, FltGeometry, FltGroup, FltHeader, FltInstanceDefinition, FltInstanceRef, FltLOD, FltMesh, FltMeshPrimitive, and FltObject.
Definition at line 196 of file fltBead.cxx.
References FltRecord::extract_record().
Referenced by FltMeshPrimitive::extract_record(), FltInstanceRef::extract_record(), FltInstanceDefinition::extract_record(), FltExternalReference::extract_record(), and FltBeadID::extract_record().
| int FltBead::get_num_transform_steps |
( |
| ) |
const |
| int FltBead::get_replicate_count |
( |
| ) |
const |
Returns the replicate count of this bead.
If this is nonzero, it means that the bead is implicitly copied this number of additional times (for replicate_count + 1 total copies), applying the transform on this bead for each copy. In this case, the transform does not* apply to the initial copy of the bead.
Definition at line 170 of file fltBead.cxx.
| const LMatrix4d & FltBead::get_transform |
( |
| ) |
const |
| bool FltBead::has_transform |
( |
| ) |
const |
| static void FltBead::init_type |
( |
| ) |
[inline, static] |
This function is declared non-inline to work around a compiler bug in g++ 2.96.
Making it inline seems to cause problems in the optimizer.
Reimplemented from FltRecord.
Reimplemented in FltBeadID, FltCurve, FltExternalReference, FltFace, FltGeometry, FltGroup, FltHeader, FltInstanceDefinition, FltInstanceRef, FltLOD, FltMesh, FltMeshPrimitive, and FltObject.
Definition at line 81 of file fltBead.h.
| void FltBead::set_replicate_count |
( |
int |
count | ) |
|
Changes the replicate count of this bead.
If you are setting the replicate count to some nonzero number, you must also set a transform on the bead. See set_replicate_count().
Definition at line 183 of file fltBead.cxx.
| void FltBead::set_transform |
( |
const LMatrix4d & |
mat | ) |
|
| FltError FltBead::write_ancillary |
( |
FltRecordWriter & |
writer | ) |
const [protected, virtual] |
Writes whatever ancillary records are required for this record.
Returns FE_ok on success, or something else if there is some error.
Reimplemented from FltRecord.
Reimplemented in FltBeadID, FltHeader, and FltMesh.
Definition at line 289 of file fltBead.cxx.
The documentation for this class was generated from the following files:
| | |