|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
RPatchMesh Class Reference#include <nel_patch_mesh.h>
Collaboration diagram for RPatchMesh:
[legend]List of all members.
Public Methods |
| RPatchMesh () |
| ~RPatchMesh () |
uint | getMapHitSize () const |
uint | remapTriangle (uint iD) const |
uint | getUIPatchSize () const |
UI_PATCH& | getUIPatch (uint iD) |
const UI_PATCH& | getUIPatch (uint iD) const |
uint | getUIVertexSize () const |
UI_VERTEX& | getUIVertex (uint iD) |
const UI_VERTEX& | getUIVertex (uint iD) const |
| RPatchMesh (PatchMesh *pmesh) |
void | InvalidateBindingPos () |
void | InvalidateBindingInfo () |
void | UpdateBinding (PatchMesh& patch, TimeValue t) |
bool | Validity (const PatchMesh& patch, bool bAssert) |
void | SetNumVerts (int nVert) |
void | SetNumPatches (int nPatch) |
void | Subdivide (int nPatch, int nV0, int nV1, int nV2, int nV3, int nCenter, int nFirstPatch, PatchMesh& patch) |
void | SubdivideU (int nPatch, int nV0, int nV1, int nFirstPatch, PatchMesh& patch) |
void | SubdivideV (int nPatch, int nV0, int nV1, int nFirstPatch, PatchMesh& patch) |
void | AddHook (int nVert, int nSeg, PatchMesh& patch) |
void | AddHook (int nVert0, int nVert1, int nVert2, int nSeg, PatchMesh& patch) |
void | RemoveHook (PatchMesh& patch) |
void | Attach (RPatchMesh *rattPatch, PatchMesh& patch) |
void | CreateExtrusion (PatchMesh *rpatch) |
void | Weld (PatchMesh *patch) |
void | AddPatch (int nEdge, int nFirstPatch, PatchMesh *patch) |
void | DeleteAndSweep (const BitArray &remapVerts, const BitArray &remapPatches, PatchMesh& patch) |
void | InvalidateChannels (ChannelMask channels) |
void | ResolveTopoChanges (PatchMesh *patch) |
void | SetSelLevel (int sellevel) |
int | GetSelLevel () |
IOResult | Load (ILoad *iload) |
IOResult | Save (ISave *isave) |
Matrix3 | GetSelTileTm (PatchMesh& patch, TimeValue t, INode *node, bool& bHasSel) const |
Point3 | GetSelTileCenter (PatchMesh& patch, TimeValue t, INode *node, bool& bHasSel) const |
BOOL | SubObjectHitTest (GraphicsWindow *gw, Material *ma, HitRegion *hr, DWORD flags, SubPatchHitList& hitList, TimeValue t, PatchMesh& patch) |
int | GetTileNumber (int nPatch, int nU, int nV) const |
void | BuildMesh (TimeValue t, PatchMesh& patch, Mesh *pMesh=NULL) |
void | GetPatchTess (int nPatch, int& nUTess, int& nVTess) |
int | Display (TimeValue t, INode* inode, ViewExp *vpt, int flags, PatchMesh& patch) |
tileDesc& | getTileDesc (int nTile) |
void | setTileDesc (int nTile, const tileDesc& desc) |
void | TurnPatch (PatchMesh *patch) |
void | exportZone (INode* pNode, PatchMesh* pPM, NL3D::CZone& zone, int zoneId) |
void | getVertexColor (int patch, int s, int t, NLMISC::CRGBA& dest) |
void | setVertexColor (int patch, int s, int t, const NLMISC::CRGBA& newColor) |
Public Attributes |
Interval | ValidGeom |
Interval | ValidTopo |
Interval | ValidTexmap |
Interval | ValidSelect |
Interval | ValidDisplay |
Interval | ValidBindingPos |
Interval | ValidBindingInfo |
BitArray | tileSel |
RPOTess | rTess |
bool | paint |
bool | paintHack |
Private Methods |
void | resizeMapHit (uint size) |
void | setRemapEntry (uint iD, uint remap) |
void | resizeUIPatch (uint size) |
void | resizeUIVertex (uint size) |
void | BindingVertex (int nVertex, int nPatch, int nEdge, int nPrimary, typeBind nType) |
void | UnBindingVertex (int nVertex) |
void | UnbindRelatedPatch (int nPatch, PatchMesh& patch) |
void | UnbindRelatedVertex (int nPatch, PatchMesh& patch) |
void | UpdateBindingPos (PatchMesh& patch) |
void | UpdateBindingInfo (PatchMesh& patch) |
void | FindPatch (PatchMesh *patch, int nEdge, int &WhichEdge, int &nPatch, int nFirstPatch) |
Private Attributes |
CPatchMeshData | _Data |
Mesh | mesh |
int | selLevel |
int | tileSet |
int | build |
Static Private Attributes |
CBankManager | manager |
Friends |
class | RPO |
Constructor & Destructor Documentation
RPatchMesh::RPatchMesh (
|
)
|
|
RPatchMesh::~RPatchMesh (
|
)
|
|
RPatchMesh::RPatchMesh (
|
PatchMesh * pmesh )
|
|
Member Function Documentation
void RPatchMesh::AddHook (
|
int nVert0,
|
|
int nVert1,
|
|
int nVert2,
|
|
int nSeg,
|
|
PatchMesh & patch )
|
|
void RPatchMesh::AddHook (
|
int nVert,
|
|
int nSeg,
|
|
PatchMesh & patch )
|
|
void RPatchMesh::AddPatch (
|
int nEdge,
|
|
int nFirstPatch,
|
|
PatchMesh * patch )
|
|
void RPatchMesh::Attach (
|
RPatchMesh * rattPatch,
|
|
PatchMesh & patch )
|
|
void RPatchMesh::BindingVertex (
|
int nVertex,
|
|
int nPatch,
|
|
int nEdge,
|
|
int nPrimary,
|
|
typeBind nType ) [private]
|
|
void RPatchMesh::BuildMesh (
|
TimeValue t,
|
|
PatchMesh & patch,
|
|
Mesh * pMesh = NULL )
|
|
void RPatchMesh::CreateExtrusion (
|
PatchMesh * patch )
|
|
void RPatchMesh::DeleteAndSweep (
|
const BitArray & remapVerts,
|
|
const BitArray & remapPatches,
|
|
PatchMesh & patch )
|
|
int RPatchMesh::Display (
|
TimeValue t,
|
|
INode * inode,
|
|
ViewExp * vpt,
|
|
int flags,
|
|
PatchMesh & patch )
|
|
void RPatchMesh::FindPatch (
|
PatchMesh * patch,
|
|
int nEdge,
|
|
int & WhichEdge,
|
|
int & nPatch,
|
|
int nFirstPatch ) [private]
|
|
void RPatchMesh::GetPatchTess (
|
int nPatch,
|
|
int & nUTess,
|
|
int & nVTess )
|
|
int RPatchMesh::GetSelLevel (
|
) [inline]
|
|
Point3 RPatchMesh::GetSelTileCenter (
|
PatchMesh & patch,
|
|
TimeValue t,
|
|
INode * node,
|
|
bool & bHasSel ) const
|
|
Matrix3 RPatchMesh::GetSelTileTm (
|
PatchMesh & patch,
|
|
TimeValue t,
|
|
INode * node,
|
|
bool & bHasSel ) const
|
|
int RPatchMesh::GetTileNumber (
|
int nPatch,
|
|
int nU,
|
|
int nV ) const [inline]
|
|
void RPatchMesh::InvalidateBindingInfo (
|
) [inline]
|
|
void RPatchMesh::InvalidateBindingPos (
|
) [inline]
|
|
void RPatchMesh::InvalidateChannels (
|
ChannelMask channels )
|
|
IOResult RPatchMesh::Load (
|
ILoad * iload )
|
|
void RPatchMesh::RemoveHook (
|
PatchMesh & patch )
|
|
void RPatchMesh::ResolveTopoChanges (
|
PatchMesh * patch )
|
|
IOResult RPatchMesh::Save (
|
ISave * isave )
|
|
void RPatchMesh::SetNumPatches (
|
int nPatch )
|
|
void RPatchMesh::SetNumVerts (
|
int nVert )
|
|
void RPatchMesh::SetSelLevel (
|
int sellevel ) [inline]
|
|
BOOL RPatchMesh::SubObjectHitTest (
|
GraphicsWindow * gw,
|
|
Material * ma,
|
|
HitRegion * hr,
|
|
DWORD flags,
|
|
SubPatchHitList & hitList,
|
|
TimeValue t,
|
|
PatchMesh & patch )
|
|
void RPatchMesh::Subdivide (
|
int nPatch,
|
|
int nV0,
|
|
int nV1,
|
|
int nV2,
|
|
int nV3,
|
|
int nCenter,
|
|
int nFirstPatch,
|
|
PatchMesh & patch )
|
|
void RPatchMesh::SubdivideU (
|
int nPatch,
|
|
int nV0,
|
|
int nV1,
|
|
int nFirstPatch,
|
|
PatchMesh & patch )
|
|
void RPatchMesh::SubdivideV (
|
int nPatch,
|
|
int nV0,
|
|
int nV1,
|
|
int nFirstPatch,
|
|
PatchMesh & patch )
|
|
void RPatchMesh::TurnPatch (
|
PatchMesh * patch )
|
|
void RPatchMesh::UnBindingVertex (
|
int nVertex ) [private]
|
|
void RPatchMesh::UnbindRelatedPatch (
|
int nPatch,
|
|
PatchMesh & patch ) [private]
|
|
void RPatchMesh::UnbindRelatedVertex (
|
int nVertex,
|
|
PatchMesh & patch ) [private]
|
|
void RPatchMesh::UpdateBinding (
|
PatchMesh & patch,
|
|
TimeValue t )
|
|
void RPatchMesh::UpdateBindingInfo (
|
PatchMesh & patch ) [private]
|
|
void RPatchMesh::UpdateBindingPos (
|
PatchMesh & patch ) [private]
|
|
bool RPatchMesh::Validity (
|
const PatchMesh & patch,
|
|
bool bAssert )
|
|
void RPatchMesh::Weld (
|
PatchMesh * patch )
|
|
void RPatchMesh::exportZone (
|
INode * pNode,
|
|
PatchMesh * pPM,
|
|
NL3D::CZone & zone,
|
|
int zoneId )
|
|
uint RPatchMesh::getMapHitSize (
|
) const [inline]
|
|
tileDesc & RPatchMesh::getTileDesc (
|
int nTile )
|
|
const UI_PATCH & RPatchMesh::getUIPatch (
|
uint iD ) const [inline]
|
|
|
Definition at line 524 of file nel_patch_mesh.h.
Referenced by AddPatch(), Attach(), BuildMesh(), CreateExtrusion(), DeleteAndSweep(), GetSelTileCenter(), GetSelTileTm(), Load(), ResolveTopoChanges(), Save(), SetNumPatches(), Subdivide(), SubdivideU(), SubdivideV(), TurnPatch(), exportZone(), getTileDesc(), getVertexColor(), setTileDesc(), and setVertexColor(). |
uint RPatchMesh::getUIPatchSize (
|
) const [inline]
|
|
|
Definition at line 518 of file nel_patch_mesh.h.
Referenced by AddPatch(), Attach(), BindingVertex(), CreateExtrusion(), DeleteAndSweep(), GetPatchTess(), GetSelTileCenter(), GetSelTileTm(), ResolveTopoChanges(), Save(), SetNumPatches(), and Validity(). |
const UI_VERTEX & RPatchMesh::getUIVertex (
|
uint iD ) const [inline]
|
|
|
Definition at line 548 of file nel_patch_mesh.h.
Referenced by Attach(), BindingVertex(), CreateExtrusion(), DeleteAndSweep(), RPO::Display(), Display(), Load(), ResolveTopoChanges(), Save(), SetNumVerts(), Subdivide(), SubdivideU(), SubdivideV(), TurnPatch(), UnBindingVertex(), UnbindRelatedPatch(), UnbindRelatedVertex(), UpdateBindingInfo(), UpdateBindingPos(), exportZone(), and getOtherBindedVertex(). |
uint RPatchMesh::getUIVertexSize (
|
) const [inline]
|
|
|
Definition at line 542 of file nel_patch_mesh.h.
Referenced by Attach(), BindingVertex(), CreateExtrusion(), DeleteAndSweep(), ResolveTopoChanges(), Save(), SetNumVerts(), Subdivide(), SubdivideU(), SubdivideV(), UnbindRelatedVertex(), UpdateBindingPos(), and Validity(). |
void RPatchMesh::getVertexColor (
|
int patch,
|
|
int s,
|
|
int t,
|
|
NLMISC::CRGBA & dest ) [inline]
|
|
uint RPatchMesh::remapTriangle (
|
uint iD ) const [inline]
|
|
void RPatchMesh::resizeMapHit (
|
uint size ) [inline, private]
|
|
void RPatchMesh::resizeUIPatch (
|
uint size ) [inline, private]
|
|
void RPatchMesh::resizeUIVertex (
|
uint size ) [inline, private]
|
|
void RPatchMesh::setRemapEntry (
|
uint iD,
|
|
uint remap ) [inline, private]
|
|
void RPatchMesh::setTileDesc (
|
int nTile,
|
|
const tileDesc & desc )
|
|
void RPatchMesh::setVertexColor (
|
int patch,
|
|
int s,
|
|
int t,
|
|
const NLMISC::CRGBA & newColor ) [inline]
|
|
Friends And Related Function Documentation
Member Data Documentation
Interval RPatchMesh::ValidBindingInfo
|
|
Interval RPatchMesh::ValidBindingPos
|
|
Interval RPatchMesh::ValidDisplay
|
|
Interval RPatchMesh::ValidGeom
|
|
Interval RPatchMesh::ValidSelect
|
|
Interval RPatchMesh::ValidTexmap
|
|
Interval RPatchMesh::ValidTopo
|
|
int RPatchMesh::build [private]
|
|
Mesh RPatchMesh::mesh [private]
|
|
bool RPatchMesh::paintHack
|
|
int RPatchMesh::selLevel [private]
|
|
BitArray RPatchMesh::tileSel
|
|
int RPatchMesh::tileSet [private]
|
|
The documentation for this class was generated from the following files:
|
|