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

CGeometryBlock Class Reference

#include <gblock.h>

List of all members.

Public Methods

 CGeometryBlock ()
void SetVerticesAreValid (bool valid)
void SetNormalsAreValid (bool valid)
void SetTexCoordsAreValid (bool valid)
void SetColorsAreValid (bool valid)
bool GetVerticesAreValid () const
bool GetNormalsAreValid () const
bool GetTexCoordsAreValid () const
bool GetColorsAreValid () const
int GetWordsPerVertex () const
int GetWordsPerNormal () const
int GetWordsPerTexCoord () const
int GetWordsPerColor () const
void SetWordsPerVertex (char num)
void SetWordsPerNormal (char num)
void SetWordsPerTexCoord (char num)
void SetWordsPerColor (char num)
void* GetVertices (int strip=0)
void* GetNormals (int strip=0)
void* GetTexCoords (int strip=0)
void* GetColors (int strip=0)
void SetVertices (void *verts)
void SetNormals (void *norms)
void SetTexCoords (void *texcoords)
void SetColors (void *colors)
GLenum GetPrimType () const
void SetPrimType (GLenum type)
int GetNumNewVertices () const
int GetNumNewNormals () const
int GetNumNewTexCoords () const
int GetNumNewColors () const
int GetTotalVertices () const
void AddVertices (int num=1)
void AddNormals (int num=1)
void AddTexCoords (int num=1)
void AddColors (int num=1)
int GetNumVertsPerPrim ()
int GetNumStrips () const
int GetNumVertsToRestartStrip ()
int GetStripLength (int num) const
bool StripIsContinued (int num) const
void ResetCurStrip ()
void ResetNew ()
void Reset ()
bool IsPending () const
bool MergeNew ()
void MakeNewValuesCurrent ()
void AdjustNewGeomPtrs (int offset)


Constructor & Destructor Documentation

CGeometryBlock::CGeometryBlock ( ) [inline]
 

Definition at line 53 of file gblock.h.


Member Function Documentation

void CGeometryBlock::AddColors ( int num = 1 ) [inline]
 

Definition at line 118 of file gblock.h.

Referenced by CImmGeomManager::Color(), CDListGeomManager::Color(), CImmGeomManager::DrawArrays(), and CDListGeomManager::DrawArrays().

void CGeometryBlock::AddNormals ( int num = 1 ) [inline]
 

Definition at line 116 of file gblock.h.

Referenced by CImmGeomManager::DrawArrays(), CDListGeomManager::DrawArrays(), CDListGeomManager::Normal(), and CImmGeomManager::Vertex().

void CGeometryBlock::AddTexCoords ( int num = 1 ) [inline]
 

Definition at line 117 of file gblock.h.

Referenced by CImmGeomManager::DrawArrays(), CDListGeomManager::DrawArrays(), CDListGeomManager::TexCoord(), and CImmGeomManager::Vertex().

void CGeometryBlock::AddVertices ( int num = 1 ) [inline]
 

Definition at line 115 of file gblock.h.

Referenced by CImmGeomManager::DrawArrays(), CDListGeomManager::DrawArrays(), CImmGeomManager::Vertex(), and CDListGeomManager::Vertex().

void CGeometryBlock::AdjustNewGeomPtrs ( int offset ) [inline]
 

Definition at line 148 of file gblock.h.

Referenced by CImmGeomManager::DrawArrays(), and CDListGeomManager::DrawArrays().

void * CGeometryBlock::GetColors ( int strip = 0 ) [inline]
 

Definition at line 91 of file gblock.h.

bool CGeometryBlock::GetColorsAreValid ( ) const [inline]
 

Definition at line 65 of file gblock.h.

Referenced by CVsmManager::DrawArrays().

void * CGeometryBlock::GetNormals ( int strip = 0 ) [inline]
 

Definition at line 83 of file gblock.h.

bool CGeometryBlock::GetNormalsAreValid ( ) const [inline]
 

Definition at line 63 of file gblock.h.

Referenced by CVsmManager::DrawArrays(), and CDrawArraysCmd::Play().

int CGeometryBlock::GetNumNewColors ( ) const [inline]
 

Definition at line 109 of file gblock.h.

Referenced by CImmGeomManager::EndGeom(), and CDListGeomManager::EndGeom().

int CGeometryBlock::GetNumNewNormals ( ) const [inline]
 

Definition at line 107 of file gblock.h.

Referenced by CDListGeomManager::EndGeom().

int CGeometryBlock::GetNumNewTexCoords ( ) const [inline]
 

Definition at line 108 of file gblock.h.

Referenced by CDListGeomManager::EndGeom().

int CGeometryBlock::GetNumNewVertices ( ) const [inline]
 

Definition at line 106 of file gblock.h.

Referenced by CImmGeomManager::EndGeom(), and CDListGeomManager::EndGeom().

int CGeometryBlock::GetNumStrips ( ) const [inline]
 

Definition at line 126 of file gblock.h.

int CGeometryBlock::GetNumVertsPerPrim ( ) [inline]
 

Definition at line 122 of file gblock.h.

Referenced by CVsmManager::DrawArrays().

int CGeometryBlock::GetNumVertsToRestartStrip ( ) [inline]
 

Definition at line 127 of file gblock.h.

GLenum CGeometryBlock::GetPrimType ( ) const [inline]
 

Definition at line 102 of file gblock.h.

Referenced by CDrawArraysCmd::Play().

int CGeometryBlock::GetStripLength ( int num ) const [inline]
 

Definition at line 128 of file gblock.h.

Referenced by MergeNew().

void * CGeometryBlock::GetTexCoords ( int strip = 0 ) [inline]
 

Definition at line 87 of file gblock.h.

bool CGeometryBlock::GetTexCoordsAreValid ( ) const [inline]
 

Definition at line 64 of file gblock.h.

Referenced by CVsmManager::DrawArrays().

int CGeometryBlock::GetTotalVertices ( ) const [inline]
 

Definition at line 111 of file gblock.h.

Referenced by CDrawArraysCmd::Play().

void * CGeometryBlock::GetVertices ( int strip = 0 ) [inline]
 

Definition at line 79 of file gblock.h.

bool CGeometryBlock::GetVerticesAreValid ( ) const [inline]
 

Definition at line 62 of file gblock.h.

int CGeometryBlock::GetWordsPerColor ( ) const [inline]
 

Definition at line 71 of file gblock.h.

Referenced by CVsmManager::DrawArrays().

int CGeometryBlock::GetWordsPerNormal ( ) const [inline]
 

Definition at line 69 of file gblock.h.

Referenced by CVsmManager::DrawArrays().

int CGeometryBlock::GetWordsPerTexCoord ( ) const [inline]
 

Definition at line 70 of file gblock.h.

Referenced by CVsmManager::DrawArrays().

int CGeometryBlock::GetWordsPerVertex ( ) const [inline]
 

Definition at line 68 of file gblock.h.

Referenced by CVsmManager::DrawArrays().

bool CGeometryBlock::IsPending ( ) const [inline]
 

Definition at line 145 of file gblock.h.

Referenced by CImmGeomManager::Flush(), CDListGeomManager::Flush(), and MergeNew().

void CGeometryBlock::MakeNewValuesCurrent ( )
 

Definition at line 102 of file gblock.cpp.

bool CGeometryBlock::MergeNew ( )
 

Definition at line 34 of file gblock.cpp.

void CGeometryBlock::Reset ( )
 

Definition at line 149 of file gblock.cpp.

Referenced by CDListGeomManager::BeginDListDef(), CGeometryBlock(), CImmGeomManager::Flush(), and CDListGeomManager::Flush().

void CGeometryBlock::ResetCurStrip ( )
 

Definition at line 141 of file gblock.cpp.

Referenced by Reset().

void CGeometryBlock::ResetNew ( )
 

Definition at line 130 of file gblock.cpp.

Referenced by MergeNew(), and Reset().

void CGeometryBlock::SetColors ( void * colors ) [inline]
 

Definition at line 99 of file gblock.h.

Referenced by CImmGeomManager::BeginGeom(), CDListGeomManager::BeginGeom(), CImmGeomManager::DrawArrays(), CDListGeomManager::DrawArrays(), and CDListGeomManager::EndGeom().

void CGeometryBlock::SetColorsAreValid ( bool valid ) [inline]
 

Definition at line 60 of file gblock.h.

Referenced by CImmGeomManager::DrawArrays(), CDListGeomManager::DrawArrays(), CImmGeomManager::EndGeom(), and CDListGeomManager::EndGeom().

void CGeometryBlock::SetNormals ( void * norms ) [inline]
 

Definition at line 97 of file gblock.h.

Referenced by CImmGeomManager::BeginGeom(), CDListGeomManager::BeginGeom(), CImmGeomManager::DrawArrays(), and CDListGeomManager::DrawArrays().

void CGeometryBlock::SetNormalsAreValid ( bool valid ) [inline]
 

Definition at line 58 of file gblock.h.

Referenced by CImmGeomManager::DrawArrays(), CDListGeomManager::DrawArrays(), CImmGeomManager::EndGeom(), and CDListGeomManager::EndGeom().

void CGeometryBlock::SetPrimType ( GLenum type ) [inline]
 

Definition at line 103 of file gblock.h.

Referenced by CImmGeomManager::BeginGeom(), CDListGeomManager::BeginGeom(), CImmGeomManager::DrawArrays(), and CDListGeomManager::DrawArrays().

void CGeometryBlock::SetTexCoords ( void * texcoords ) [inline]
 

Definition at line 98 of file gblock.h.

Referenced by CImmGeomManager::BeginGeom(), CDListGeomManager::BeginGeom(), CImmGeomManager::DrawArrays(), and CDListGeomManager::DrawArrays().

void CGeometryBlock::SetTexCoordsAreValid ( bool valid ) [inline]
 

Definition at line 59 of file gblock.h.

Referenced by CImmGeomManager::DrawArrays(), CDListGeomManager::DrawArrays(), CImmGeomManager::EndGeom(), and CDListGeomManager::EndGeom().

void CGeometryBlock::SetVertices ( void * verts ) [inline]
 

Definition at line 96 of file gblock.h.

Referenced by CImmGeomManager::BeginGeom(), CDListGeomManager::BeginGeom(), CImmGeomManager::DrawArrays(), and CDListGeomManager::DrawArrays().

void CGeometryBlock::SetVerticesAreValid ( bool valid ) [inline]
 

Definition at line 57 of file gblock.h.

Referenced by CImmGeomManager::DrawArrays(), CDListGeomManager::DrawArrays(), CImmGeomManager::EndGeom(), and CDListGeomManager::EndGeom().

void CGeometryBlock::SetWordsPerColor ( char num ) [inline]
 

Definition at line 76 of file gblock.h.

Referenced by CImmGeomManager::DrawArrays(), CDListGeomManager::DrawArrays(), CImmGeomManager::EndGeom(), and CDListGeomManager::EndGeom().

void CGeometryBlock::SetWordsPerNormal ( char num ) [inline]
 

Definition at line 74 of file gblock.h.

Referenced by CImmGeomManager::DrawArrays(), CDListGeomManager::DrawArrays(), CImmGeomManager::EndGeom(), and CDListGeomManager::EndGeom().

void CGeometryBlock::SetWordsPerTexCoord ( char num ) [inline]
 

Definition at line 75 of file gblock.h.

Referenced by CImmGeomManager::DrawArrays(), CDListGeomManager::DrawArrays(), CImmGeomManager::EndGeom(), and CDListGeomManager::EndGeom().

void CGeometryBlock::SetWordsPerVertex ( char num ) [inline]
 

Definition at line 73 of file gblock.h.

Referenced by CImmGeomManager::DrawArrays(), CDListGeomManager::DrawArrays(), CImmGeomManager::EndGeom(), and CDListGeomManager::EndGeom().

bool CGeometryBlock::StripIsContinued ( int num ) const [inline]
 

Definition at line 132 of file gblock.h.


The documentation for this class was generated from the following files:
ps2gl version 0.2