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

panda/src/gobj/geom.cxx File Reference

#include "geom.h"
#include "config_gobj.h"
#include "graphicsStateGuardianBase.h"
#include "geometricBoundingVolume.h"
#include "datagram.h"
#include "datagramIterator.h"
#include "bamReader.h"
#include "bamWriter.h"
#include "ioPtaDatagramShort.h"
#include "ioPtaDatagramInt.h"
#include "ioPtaDatagramLinMath.h"
#include "indent.h"

Go to the source code of this file.

Functions

const Vertexfget_vertex_nonindexed (Geom::VertexIterator &vi)
 Retrieves the next component of the nonindexed array.

const Normalfget_normal_nonindexed (Geom::NormalIterator &vi)
const TexCoordfget_texcoord_nonindexed (Geom::TexCoordIterator &vi)
const Colorfget_color_nonindexed (Geom::ColorIterator &vi)
const Vertexfget_vertex_indexed (Geom::VertexIterator &vi)
 Retrieves the next component of the indexed array.

const Normalfget_normal_indexed (Geom::NormalIterator &vi)
const TexCoordfget_texcoord_indexed (Geom::TexCoordIterator &vi)
const Colorfget_color_indexed (Geom::ColorIterator &vi)
const Vertexfget_vertex_noop (Geom::VertexIterator &)
 Doesn't retrieve anything at all.

const Normalfget_normal_noop (Geom::NormalIterator &)
const TexCoordfget_texcoord_noop (Geom::TexCoordIterator &)
const Colorfget_color_noop (Geom::ColorIterator &)
ostream & operator<< (ostream &out, GeomBindType t)
ostream & operator<< (ostream &out, GeomAttrType t)
template<class VecType> void describe_attr (ostream &out, const Geom *geom, GeomBindType bind, const PointerToArray< VecType > &array, bool newline, int indent_level)
 A handy helper function for output_verbose, below.


Detailed Description

Definition in file geom.cxx.


Function Documentation

template<class VecType>
void describe_attr ostream &  out,
const Geom geom,
GeomBindType  bind,
const PointerToArray< VecType > &  array,
bool  newline,
int  indent_level
[static]
 

A handy helper function for output_verbose, below.

Definition at line 925 of file geom.cxx.

Referenced by Geom::fillin().

const Colorf& get_color_indexed Geom::ColorIterator vi  )  [static]
 

Definition at line 80 of file geom.cxx.

const Colorf& get_color_nonindexed Geom::ColorIterator vi  )  [static]
 

Definition at line 60 of file geom.cxx.

References Geom::VertexIterator::_array, Geom::VertexIterator::_index, and Vertexf.

const Colorf& get_color_noop Geom::ColorIterator  )  [static]
 

Definition at line 103 of file geom.cxx.

References G_OVERALL, G_PER_COMPONENT, G_PER_PRIM, and G_PER_VERTEX.

Referenced by Geom::output().

const Normalf& get_normal_indexed Geom::NormalIterator vi  )  [static]
 

Definition at line 74 of file geom.cxx.

const Normalf& get_normal_nonindexed Geom::NormalIterator vi  )  [static]
 

Definition at line 54 of file geom.cxx.

const Normalf& get_normal_noop Geom::NormalIterator  )  [static]
 

Definition at line 95 of file geom.cxx.

Referenced by Geom::output().

const TexCoordf& get_texcoord_indexed Geom::TexCoordIterator vi  )  [static]
 

Definition at line 77 of file geom.cxx.

References Vertexf.

const TexCoordf& get_texcoord_nonindexed Geom::TexCoordIterator vi  )  [static]
 

Definition at line 57 of file geom.cxx.

const TexCoordf& get_texcoord_noop Geom::TexCoordIterator  )  [static]
 

Definition at line 99 of file geom.cxx.

References G_OFF.

Referenced by Geom::output().

const Vertexf& get_vertex_indexed Geom::VertexIterator vi  )  [static]
 

Retrieves the next component of the indexed array.

Definition at line 71 of file geom.cxx.

const Vertexf& get_vertex_nonindexed Geom::VertexIterator vi  )  [static]
 

Retrieves the next component of the nonindexed array.

Definition at line 51 of file geom.cxx.

const Vertexf& get_vertex_noop Geom::VertexIterator  )  [static]
 

Doesn't retrieve anything at all.

Definition at line 91 of file geom.cxx.

Referenced by Geom::output().

ostream& operator<< ostream &  out,
GeomAttrType  t
 

Definition at line 138 of file geom.cxx.

ostream& operator<< ostream &  out,
GeomBindType  t
 

Definition at line 115 of file geom.cxx.


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