Panda3D
Public Member Functions | Static Public Member Functions | Protected Member Functions
FltFace Class Reference

A single face bead, e.g. More...

#include "fltFace.h"

Inheritance diagram for FltFace:
FltGeometry FltBeadID FltBead FltRecord TypedReferenceCount TypedObject ReferenceCount MemoryBase MemoryBase

List of all members.

Public Member Functions

 FltFace (FltHeader *header)
virtual TypeHandle force_init_type ()
virtual TypeHandle get_type () const

Static Public Member Functions

static TypeHandle get_class_type ()
static void init_type ()
 This function is declared non-inline to work around a compiler bug in g++ 2.96.

Protected Member Functions

virtual bool build_record (FltRecordWriter &writer) const
 Fills up the current record on the FltRecordWriter with data for this record, but does not advance the writer.
virtual bool extract_record (FltRecordReader &reader)
 Fills in the information in this bead based on the information given in the indicated datagram, whose opcode has already been read.

Detailed Description

A single face bead, e.g.

a polygon.

Definition at line 26 of file fltFace.h.


Member Function Documentation

bool FltFace::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 FltGeometry.

Definition at line 65 of file fltFace.cxx.

References FltBeadID::build_record(), FltGeometry::build_record(), and FltRecordWriter::set_opcode().

bool FltFace::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 FltGeometry.

Definition at line 41 of file fltFace.cxx.

References FltRecord::check_remaining_size(), FltBeadID::extract_record(), FltGeometry::extract_record(), FltRecordReader::get_iterator(), and FltRecordReader::get_opcode().

static void FltFace::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 FltGeometry.

Definition at line 43 of file fltFace.h.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations