#include <lwoDiscontinuousVertexMap.h>
Inheritance diagram for LwoDiscontinuousVertexMap:
Public Member Functions | |
bool | has_value (int polygon_index, int vertex_index) const |
Returns true if the map has a value associated with the given index, false otherwise. | |
PTA_float | get_value (int polygon_index, int vertex_index) const |
Returns the mapping value associated with the given index, or an empty PTA_float if there is no mapping value associated. | |
virtual bool | read_iff (IffInputFile *in, size_t stop_at) |
Reads the data of the chunk in from the given input file, if possible. | |
virtual void | write (ostream &out, int indent_level=0) const |
virtual TypeHandle | get_type () const |
virtual TypeHandle | force_init_type () |
IffId | get_id () const |
Returns the ID associated with this chunk. | |
void | set_id (IffId id) |
Changes the ID associated with this chunk. | |
virtual void | output (ostream &out) const |
virtual IffChunk * | make_new_chunk (IffInputFile *in, IffId id) |
Allocates and returns a new chunk of the appropriate type based on the given ID, according to the context given by this chunk itself. | |
int | get_type_index () const |
bool | is_of_type (TypeHandle handle) const |
bool | is_exact_type (TypeHandle handle) const |
int | get_ref_count () const |
int | ref () const |
int | unref () const |
void | test_ref_count_integrity () const |
Static Public Member Functions | |
TypeHandle | get_class_type () |
void | init_type () |
Public Attributes | |
IffId | _map_type |
int | _dimension |
string | _name |
Protected Attributes | |
int | _ref_count |
Private Types | |
typedef pmap< int, PTA_float > | VMap |
typedef pmap< int, VMap > | VMad |
Private Attributes | |
VMad | _vmad |
Static Private Attributes | |
TypeHandle | _type_handle |
The meaning of these values is determined by the mapping type code and/or its name.
Definition at line 42 of file lwoDiscontinuousVertexMap.h.
|
Definition at line 57 of file lwoDiscontinuousVertexMap.h. |
|
Definition at line 56 of file lwoDiscontinuousVertexMap.h. |
|
Reimplemented from LwoChunk. Definition at line 64 of file lwoDiscontinuousVertexMap.h. |
|
Reimplemented from LwoChunk. Definition at line 65 of file lwoDiscontinuousVertexMap.h. References _type_handle. |
|
|
Reimplemented from LwoChunk. Definition at line 61 of file lwoDiscontinuousVertexMap.h. |
|
Returns the mapping value associated with the given index, or an empty PTA_float if there is no mapping value associated.
Definition at line 68 of file lwoDiscontinuousVertexMap.cxx. |
|
Returns true if the map has a value associated with the given index, false otherwise.
Definition at line 44 of file lwoDiscontinuousVertexMap.cxx. |
|
Reimplemented from LwoChunk. Definition at line 68 of file lwoDiscontinuousVertexMap.h. |
|
Allocates and returns a new chunk of the appropriate type based on the given ID, according to the context given by this chunk itself.
Reimplemented in LwoClip, LwoSurface, LwoSurfaceBlock, LwoSurfaceBlockHeader, and LwoSurfaceBlockTMap. Definition at line 66 of file iffChunk.cxx. Referenced by IffInputFile::get_chunk(), LwoSurfaceBlockTMap::write(), and LwoClip::write(). |
|
Definition at line 37 of file iffChunk.cxx. References IffChunk::_id, and indent(). |
|
Reads the data of the chunk in from the given input file, if possible. The ID and length of the chunk have already been read. stop_at is the byte position of the file to stop at (based on the current position at in->get_bytes_read()). Returns true on success, false otherwise. Implements IffChunk. Definition at line 102 of file lwoDiscontinuousVertexMap.cxx. |
|
Changes the ID associated with this chunk.
Definition at line 56 of file iffChunk.I. |
|
Reimplemented from IffChunk. Definition at line 156 of file lwoDiscontinuousVertexMap.cxx. |
|
Definition at line 48 of file lwoDiscontinuousVertexMap.h. |
|
Definition at line 47 of file lwoDiscontinuousVertexMap.h. |
|
Definition at line 49 of file lwoDiscontinuousVertexMap.h. |
|
Reimplemented from LwoChunk. Definition at line 30 of file lwoDiscontinuousVertexMap.cxx. Referenced by get_class_type(). |
|
Definition at line 58 of file lwoDiscontinuousVertexMap.h. |