#include <fltVertex.h>
Inheritance diagram for FltVertex:
Public Types | |
enum | Flags { F_hard_edge = 0x8000, F_normal_frozen = 0x4000, F_no_color = 0x2000, F_packed_color = 0x1000 } |
Public Member Functions | |
FltVertex (FltHeader *header) | |
FltOpcode | get_opcode () const |
int | get_record_length () const |
INLINE bool | has_color () const |
Colorf | get_color () const |
RGBColorf | get_rgb () const |
virtual TypeHandle | get_type () const |
virtual TypeHandle | force_init_type () |
Static Public Member Functions | |
TypeHandle | get_class_type () |
void | init_type () |
Public Attributes | |
int | _color_name_index |
unsigned int | _flags |
LPoint3d | _pos |
LPoint3f | _normal |
LPoint2f | _uv |
FltPackedColor | _packed_color |
int | _color_index |
bool | _has_normal |
bool | _has_uv |
Protected Member Functions | |
virtual bool | extract_record (FltRecordReader &reader) |
virtual bool | build_record (FltRecordWriter &writer) const |
Static Private Attributes | |
TypeHandle | _type_handle |
Friends | |
class | FltHeader |
|
Definition at line 46 of file fltVertex.h. |
|
Definition at line 32 of file fltVertex.cxx. References _color_index, _color_name_index, _flags, _has_normal, _has_uv, _normal, _pos, and _uv. |
|
Reimplemented from FltRecord. Definition at line 234 of file fltVertex.cxx. References _color_index, _color_name_index, _flags, FltRecord::_header, _normal, _packed_color, _pos, _uv, Datagram::add_be_float32(), Datagram::add_be_float64(), Datagram::add_be_int16(), Datagram::add_be_uint16(), Datagram::add_be_uint32(), FltPackedColor::build_record(), FltRecord::build_record(), FltHeader::get_flt_version(), Datagram::get_length(), get_opcode(), get_record_length(), nassertr, Datagram::pad_bytes(), and writer(). Referenced by FltHeader::write_vertex_palette(). |
|
|
Reimplemented from FltRecord. Definition at line 78 of file fltVertex.h. References get_class_type(), and init_type(). |
|
Reimplemented from FltRecord. Definition at line 79 of file fltVertex.h. References _type_handle. Referenced by force_init_type(), and get_type(). |
|
Definition at line 127 of file fltVertex.cxx. References _color_index, _flags, FltRecord::_header, _packed_color, Colorf, F_packed_color, FltHeader::get_color(), has_color(), and nassertr. Referenced by FltLocalVertexPool::build_record(), and FltToEggConverter::make_egg_vertex(). |
|
Definition at line 51 of file fltVertex.cxx. References FO_vertex_c, FO_vertex_cn, FO_vertex_cnu, and FO_vertex_cu. Referenced by build_record(), and get_record_length(). |
|
Definition at line 74 of file fltVertex.cxx. References FltRecord::_header, FO_vertex_c, FO_vertex_cn, FO_vertex_cnu, FO_vertex_cu, FltHeader::get_flt_version(), get_opcode(), and nassertr. Referenced by build_record(), and FltHeader::update_vertex_lookups(). |
|
Definition at line 142 of file fltVertex.cxx. References _color_index, _flags, FltRecord::_header, _packed_color, F_packed_color, FltHeader::get_rgb(), has_color(), nassertr, and RGBColorf. |
|
Reimplemented from FltRecord. Definition at line 75 of file fltVertex.h. References get_class_type(). |
|
Referenced by FltLocalVertexPool::build_record(), get_color(), get_rgb(), and FltToEggConverter::make_egg_vertex(). |
|
Reimplemented from FltRecord. Definition at line 82 of file fltVertex.h. References _type_handle, FltRecord::get_class_type(), FltRecord::init_type(), and register_type(). Referenced by force_init_type(), and init_libflt(). |
|
Definition at line 91 of file fltVertex.h. |
|
Definition at line 59 of file fltVertex.h. Referenced by build_record(), FltLocalVertexPool::build_record(), extract_record(), FltLocalVertexPool::extract_record(), FltVertex(), get_color(), and get_rgb(). |
|
Definition at line 53 of file fltVertex.h. Referenced by build_record(), extract_record(), and FltVertex(). |
|
Definition at line 54 of file fltVertex.h. Referenced by build_record(), FltLocalVertexPool::build_record(), extract_record(), FltLocalVertexPool::extract_record(), FltVertex(), get_color(), and get_rgb(). |
|
Definition at line 61 of file fltVertex.h. Referenced by FltLocalVertexPool::build_record(), extract_record(), FltLocalVertexPool::extract_record(), FltVertex(), and FltToEggConverter::make_egg_vertex(). |
|
Definition at line 62 of file fltVertex.h. Referenced by FltLocalVertexPool::build_record(), extract_record(), FltLocalVertexPool::extract_record(), FltVertex(), and FltToEggConverter::make_egg_vertex(). |
|
Definition at line 56 of file fltVertex.h. Referenced by build_record(), FltLocalVertexPool::build_record(), extract_record(), FltLocalVertexPool::extract_record(), FltVertex(), and FltToEggConverter::make_egg_vertex(). |
|
Definition at line 58 of file fltVertex.h. Referenced by build_record(), extract_record(), FltLocalVertexPool::extract_record(), get_color(), and get_rgb(). |
|
Definition at line 55 of file fltVertex.h. Referenced by build_record(), FltLocalVertexPool::build_record(), extract_record(), FltLocalVertexPool::extract_record(), FltVertex(), and FltToEggConverter::make_egg_vertex(). |
|
Reimplemented from FltRecord. Definition at line 24 of file fltVertex.cxx. Referenced by get_class_type(), and init_type(). |
|
Definition at line 57 of file fltVertex.h. Referenced by build_record(), FltLocalVertexPool::build_record(), extract_record(), FltLocalVertexPool::extract_record(), FltVertex(), and FltToEggConverter::make_egg_vertex(). |