Cafu Engine
cf::PatchMeshT Struct Reference

Public Member Functions

const PatchTGetPatch (unsigned long i, unsigned long j) const
 Returns the const mesh patch at (i, j). More...
 
PatchTGetPatch (unsigned long i, unsigned long j)
 Returns the (non-const) mesh patch at (i, j). More...
 

Public Attributes

unsigned long Width
 
unsigned long Height
 
ArrayT< PatchTPatches
 The patches that form this patch mesh. More...
 
bool WrapsHorz
 Returns whether the patch mesh wraps "in the width". Note that if true, the extra-column at the right is not included in the Patches array! More...
 
bool WrapsVert
 Returns whether the patch mesh wraps "in the height". Note that if true, the extra-row at the bottom is not included in the Patches array! More...
 
const
cf::SceneGraph::GenericNodeT
Node
 The GenericNodeT this PatchMesh belongs to - quasi its "parent". More...
 
MaterialTMaterial
 The MaterialT "beneath" this PatchMesh. More...
 

Member Function Documentation

const PatchT& cf::PatchMeshT::GetPatch ( unsigned long  i,
unsigned long  j 
) const
inline

Returns the const mesh patch at (i, j).

PatchT& cf::PatchMeshT::GetPatch ( unsigned long  i,
unsigned long  j 
)
inline

Returns the (non-const) mesh patch at (i, j).

Member Data Documentation

MaterialT* cf::PatchMeshT::Material

The MaterialT "beneath" this PatchMesh.

const cf::SceneGraph::GenericNodeT* cf::PatchMeshT::Node

The GenericNodeT this PatchMesh belongs to - quasi its "parent".

ArrayT<PatchT> cf::PatchMeshT::Patches

The patches that form this patch mesh.

bool cf::PatchMeshT::WrapsHorz

Returns whether the patch mesh wraps "in the width". Note that if true, the extra-column at the right is not included in the Patches array!

bool cf::PatchMeshT::WrapsVert

Returns whether the patch mesh wraps "in the height". Note that if true, the extra-row at the bottom is not included in the Patches array!


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