A base class for a number of types of ancillary records that follow beads and indicate some kind of a transformation.
More...
|
| | FltTransformRecord (FltHeader *header) |
| |
| virtual TypeHandle | force_init_type () |
| |
| const LMatrix4d & | get_matrix () const |
| | Returns the transform matrix represented by this particular component of the transform.
|
| |
| virtual TypeHandle | get_type () const |
| |
| | FltRecord (FltHeader *header) |
| |
| void | add_ancillary (FltRecord *ancillary) |
| | Adds a new unsupported ancillary record to the end of the list of ancillary records for this record.
|
| |
| void | add_child (FltRecord *child) |
| | Adds a new child to the end of the list of children for this record.
|
| |
| void | add_extension (FltRecord *extension) |
| | Adds a new extension to the end of the list of extensions for this record.
|
| |
| void | add_subface (FltRecord *subface) |
| | Adds a new subface to the end of the list of subfaces for this record.
|
| |
| virtual void | apply_converted_filenames () |
| | Walks the hierarchy at this record and below and copies the _converted_filename record into the _orig_filename record, so the flt file will be written out with the converted filename instead of what was originally read in.
|
| |
| void | check_remaining_size (const DatagramIterator &di, const std::string &name=std::string()) const |
| | Checks that the iterator has no bytes left, as it should at the end of a successfully read record.
|
| |
| void | clear_ancillary () |
| | Removes all unsupported ancillary records from this record.
|
| |
| void | clear_children () |
| | Removes all children from this record.
|
| |
| void | clear_comment () |
| | Removes the comment for this record.
|
| |
| void | clear_extensions () |
| | Removes all extensions from this record.
|
| |
| void | clear_subfaces () |
| | Removes all subfaces from this record.
|
| |
| FltRecord * | get_ancillary (int n) const |
| | Returns the nth unsupported ancillary record of this record.
|
| |
| FltRecord * | get_child (int n) const |
| | Returns the nth child of this record.
|
| |
| const std::string & | get_comment () const |
| | Retrieves the comment for this record, or empty string if the record has no comment.
|
| |
| FltRecord * | get_extension (int n) const |
| | Returns the nth extension of this record.
|
| |
| int | get_num_ancillary () const |
| | Returns the number of unsupported ancillary records of this record.
|
| |
| int | get_num_children () const |
| | Returns the number of child records of this record.
|
| |
| int | get_num_extensions () const |
| | Returns the number of extension attribute records for this object.
|
| |
| int | get_num_subfaces () const |
| | Returns the number of subface records of this record.
|
| |
| FltRecord * | get_subface (int n) const |
| | Returns the nth subface of this record.
|
| |
| bool | has_comment () const |
| | Returns true if this record has a nonempty comment, false otherwise.
|
| |
| virtual void | output (std::ostream &out) const |
| | Writes a quick one-line description of the record, but not its children.
|
| |
| void | set_comment (const std::string &comment) |
| | Changes the comment for this record.
|
| |
| virtual void | write (std::ostream &out, int indent_level=0) const |
| | Writes a multiple-line description of the record and all of its children.
|
| |
| | TypedReferenceCount (const TypedReferenceCount ©) |
| |
| void | operator= (const TypedReferenceCount ©) |
| |
|
| TypedObject (const TypedObject ©)=default |
| |
| TypedObject * | as_typed_object () |
| | Returns the object, upcast (if necessary) to a TypedObject pointer.
|
| |
| const TypedObject * | as_typed_object () const |
| | Returns the object, upcast (if necessary) to a TypedObject pointer.
|
| |
| int | get_best_parent_from_Set (const std::set< int > &) const |
| |
| int | get_type_index () const |
| | Returns the internal index number associated with this object's TypeHandle, a unique number for each different type.
|
| |
| bool | is_exact_type (TypeHandle handle) const |
| | Returns true if the current object is the indicated type exactly.
|
| |
| bool | is_of_type (TypeHandle handle) const |
| | Returns true if the current object is or derives from the indicated type.
|
| |
|
TypedObject & | operator= (const TypedObject ©)=default |
| |
| void | operator delete (void *, void *) |
| |
| void | operator delete (void *ptr) |
| |
| void | operator delete[] (void *, void *) |
| |
| void | operator delete[] (void *ptr) |
| |
| void * | operator new (size_t size) |
| |
| void * | operator new (size_t size, void *ptr) |
| |
| void * | operator new[] (size_t size) |
| |
| void * | operator new[] (size_t size, void *ptr) |
| |
|
int | get_ref_count () const |
| |
| WeakReferenceList * | get_weak_list () const |
| | Returns the WeakReferenceList associated with this ReferenceCount object.
|
| |
| bool | has_weak_list () const |
| | Returns true if this particular ReferenceCount object has a WeakReferenceList created, false otherwise.
|
| |
| void | local_object () |
| | This function should be called, once, immediately after creating a new instance of some ReferenceCount-derived object on the stack.
|
| |
| void | ref () const |
| | Explicitly increments the reference count.
|
| |
| bool | ref_if_nonzero () const |
| | Atomically increases the reference count of this object if it is not zero.
|
| |
| bool | test_ref_count_integrity () const |
| | Does some easy checks to make sure that the reference count isn't completely bogus.
|
| |
| bool | test_ref_count_nonzero () const |
| | Does some easy checks to make sure that the reference count isn't zero, or completely bogus.
|
| |
| virtual bool | unref () const |
| | Explicitly decrements the reference count.
|
| |
| bool | unref_if_one () const |
| | Atomically decreases the reference count of this object if it is one.
|
| |
| WeakReferenceList * | weak_ref () |
| | Adds the indicated PointerToVoid as a weak reference to this object.
|
| |
| void | weak_unref () |
| | Removes the indicated PointerToVoid as a weak reference to this object.
|
| |
A base class for a number of types of ancillary records that follow beads and indicate some kind of a transformation.
Pointers of this type are collected in the FltTransformation class.
Definition at line 28 of file fltTransformRecord.h.