# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

UI_PATCH Class Reference

#include <nel_patch_mesh.h>

Collaboration diagram for UI_PATCH:

Collaboration graph
[legend]
List of all members.

Public Methods

tileDescgetTileDesc (uint iD)
const tileDescgetTileDesc (uint iD) const
uint getColor (uint iD) const
void setColor (uint iD, uint newColor)
uint getTileSize () const
uint getColorSize () const
bool getEdgeFlag (uint edge)
void setEdgeFlag (uint edge, bool flags)
CEdgeInfogetEdge (uint edge)
const CEdgeInfogetEdge (uint edge) const
void Init (int nU=RPO_DEFAULT_TESSEL, int nV=RPO_DEFAULT_TESSEL, bool bKeep=false)

Public Attributes

int NbTilesU
int NbTilesV

Private Attributes

tileDesc Tile [16*16]
uint Colors [17*17]
CEdgeInfo _Edges [4]

Member Function Documentation

void UI_PATCH::Init ( int nU = RPO_DEFAULT_TESSEL,
int nV = RPO_DEFAULT_TESSEL,
bool bKeep = false ) [inline]
 

Definition at line 323 of file nel_patch_mesh.h.

Referenced by RPatchMesh::CreateExtrusion(), RPatchMesh::SetNumPatches(), RPatchMesh::SubdivideU(), and RPatchMesh::SubdivideV().

uint UI_PATCH::getColor ( uint iD ) const [inline]
 

Definition at line 264 of file nel_patch_mesh.h.

Referenced by Init(), RPatchMesh::Save(), RPatchMesh::exportZone(), and RPatchMesh::getVertexColor().

uint UI_PATCH::getColorSize ( ) const [inline]
 

Definition at line 290 of file nel_patch_mesh.h.

Referenced by RPatchMesh::Save(), RPatchMesh::Subdivide(), RPatchMesh::SubdivideU(), and RPatchMesh::SubdivideV().

const CEdgeInfo & UI_PATCH::getEdge ( uint edge ) const [inline]
 

Definition at line 318 of file nel_patch_mesh.h.

CEdgeInfo & UI_PATCH::getEdge ( uint edge ) [inline]
 

Definition at line 312 of file nel_patch_mesh.h.

Referenced by RPatchMesh::Load(), RPatchMesh::Save(), RPatchMesh::Subdivide(), RPatchMesh::SubdivideU(), and RPatchMesh::SubdivideV().

bool UI_PATCH::getEdgeFlag ( uint edge ) [inline]
 

Definition at line 296 of file nel_patch_mesh.h.

const tileDesc & UI_PATCH::getTileDesc ( uint iD ) const [inline]
 

Definition at line 254 of file nel_patch_mesh.h.

tileDesc & UI_PATCH::getTileDesc ( uint iD ) [inline]
 

Definition at line 244 of file nel_patch_mesh.h.

Referenced by RPatchMesh::BuildMesh(), Init(), RPatchMesh::Load(), RPatchMesh::Save(), RPatchMesh::Subdivide(), RPatchMesh::SubdivideU(), RPatchMesh::SubdivideV(), RPatchMesh::TurnPatch(), RPatchMesh::exportZone(), RPatchMesh::getTileDesc(), and RPatchMesh::setTileDesc().

uint UI_PATCH::getTileSize ( ) const [inline]
 

Definition at line 284 of file nel_patch_mesh.h.

Referenced by RPatchMesh::Save(), RPatchMesh::Subdivide(), RPatchMesh::SubdivideU(), and RPatchMesh::SubdivideV().

void UI_PATCH::setColor ( uint iD,
uint newColor ) [inline]
 

Definition at line 274 of file nel_patch_mesh.h.

Referenced by RPatchMesh::Load(), RPatchMesh::SubdivideU(), RPatchMesh::SubdivideV(), and RPatchMesh::setVertexColor().

void UI_PATCH::setEdgeFlag ( uint edge,
bool flags ) [inline]
 

Definition at line 303 of file nel_patch_mesh.h.


Member Data Documentation

uint UI_PATCH::Colors[17 *17] [private]
 

Definition at line 238 of file nel_patch_mesh.h.

int UI_PATCH::NbTilesU
 

Definition at line 230 of file nel_patch_mesh.h.

int UI_PATCH::NbTilesV
 

Definition at line 231 of file nel_patch_mesh.h.

tileDesc UI_PATCH::Tile[16 *16] [private]
 

Definition at line 235 of file nel_patch_mesh.h.

CEdgeInfo UI_PATCH::_Edges[4] [private]
 

Definition at line 241 of file nel_patch_mesh.h.


The documentation for this class was generated from the following file: