15 #ifndef LWOVERTEXMAP_H
16 #define LWOVERTEXMAP_H
18 #include "pandatoolbase.h"
22 #include "pta_stdfloat.h"
41 virtual void write(ostream &out,
int indent_level = 0)
const;
49 return get_class_type();
51 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
55 static void init_type() {
56 LwoChunk::init_type();
57 register_type(_type_handle,
"LwoVertexMap",
58 LwoChunk::get_class_type());
A specialization of IffChunk for Lightwave Object files.
bool has_value(int index) const
Returns true if the map has a value associated with the given index, false otherwise.
A mapping of floating-point values per integer index.
virtual bool read_iff(IffInputFile *in, size_t stop_at)
Reads the data of the chunk in from the given input file, if possible.
TypeHandle is the identifier used to differentiate C++ class types.
A four-byte chunk ID appearing in an "IFF" file.
PTA_stdfloat get_value(int index) const
Returns the mapping value associated with the given index, or an empty PTA_stdfloat if there is no ma...