Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

panda/src/builder/builderTypes.h File Reference

#include <pandabase.h>
#include <luse.h>
#include <pta_TexCoordf.h>
#include <pta_Vertexf.h>
#include <pta_Normalf.h>
#include <pta_Colorf.h>

Go to the source code of this file.

Typedefs

typedef TexCoordf BuilderTC
typedef Vertexf BuilderV
typedef Normalf BuilderN
typedef Colorf BuilderC
typedef PTA_TexCoordf PTA_BuilderTC
typedef PTA_Vertexf PTA_BuilderV
typedef PTA_Normalf PTA_BuilderN
typedef PTA_Colorf PTA_BuilderC

Enumerations

enum  BuilderAttribFlags {
  BAF_coord = 0x00001, BAF_normal = 0x00002, BAF_texcoord = 0x00004, BAF_color = 0x00008,
  BAF_pixel_size = 0x00010, BAF_overall_updated = 0x00100, BAF_overall_normal = 0x00200, BAF_overall_color = 0x00400,
  BAF_overall_pixel_size = 0x00800, BAF_vertex_normal = 0x01000, BAF_vertex_texcoord = 0x02000, BAF_vertex_color = 0x04000,
  BAF_vertex_pixel_size = 0x08000, BAF_component_normal = 0x10000, BAF_component_color = 0x20000, BAF_component_pixel_size = 0x04000
}
enum  BuilderPrimType {
  BPT_poly, BPT_point, BPT_line, BPT_tri,
  BPT_tristrip, BPT_trifan, BPT_quad, BPT_quadstrip
}

Functions

ostream & operator<< (ostream &out, BuilderAttribFlags baf)
ostream & operator<< (ostream &out, BuilderPrimType bpt)


Detailed Description

Definition in file builderTypes.h.


Typedef Documentation

typedef Colorf BuilderC
 

Definition at line 35 of file builderTypes.h.

typedef Normalf BuilderN
 

Definition at line 34 of file builderTypes.h.

Referenced by BuilderVertex::set_color_value(), and BuilderVertexI::set_coord_value().

typedef TexCoordf BuilderTC
 

Definition at line 32 of file builderTypes.h.

typedef Vertexf BuilderV
 

Definition at line 33 of file builderTypes.h.

Referenced by BuilderNormalVisualizer::add_prim(), BuilderVertex::get_color_value(), and BuilderVertex::set_texcoord_value().

typedef PTA_Colorf PTA_BuilderC
 

Definition at line 40 of file builderTypes.h.

typedef PTA_Normalf PTA_BuilderN
 

Definition at line 39 of file builderTypes.h.

typedef PTA_TexCoordf PTA_BuilderTC
 

Definition at line 37 of file builderTypes.h.

typedef PTA_Vertexf PTA_BuilderV
 

Definition at line 38 of file builderTypes.h.


Enumeration Type Documentation

enum BuilderAttribFlags
 

Enumeration values:
BAF_coord 
BAF_normal 
BAF_texcoord 
BAF_color 
BAF_pixel_size 
BAF_overall_updated 
BAF_overall_normal 
BAF_overall_color 
BAF_overall_pixel_size 
BAF_vertex_normal 
BAF_vertex_texcoord 
BAF_vertex_color 
BAF_vertex_pixel_size 
BAF_component_normal 
BAF_component_color 
BAF_component_pixel_size 

Definition at line 42 of file builderTypes.h.

enum BuilderPrimType
 

Enumeration values:
BPT_poly 
BPT_point 
BPT_line 
BPT_tri 
BPT_tristrip 
BPT_trifan 
BPT_quad 
BPT_quadstrip 

Definition at line 66 of file builderTypes.h.

Referenced by BuilderPrimTempl< VTX >::has_any_normal().


Function Documentation

ostream& operator<< ostream &  out,
BuilderPrimType  bpt
 

Definition at line 95 of file builderTypes.cxx.

References BPT_line, BPT_point, BPT_quad, BPT_quadstrip, BPT_tri, BPT_trifan, and BPT_tristrip.

ostream& operator<< ostream &  out,
BuilderAttribFlags  baf
 

Definition at line 25 of file builderTypes.cxx.


Generated on Fri May 2 00:45:04 2003 for Panda by doxygen1.3