class FaceList : public MbPList


Inheritance:


Public Classes

enum Orientation
Face normal for the whole face

Public Fields

int body
Is it degenerate? (set by findNormal)
int degenerate
index of the first vertex in the original IFS node
MbVec3f normal
which body does it belong to?
int nv
Orientation orientation
long* v
Number of vertices
int vct
Indices for vertex normals
int vidx
count of the first vertex in the original IFS node
long* vn
Pointers to indices, which are vertices...

Public Methods

void append(Face *f)
void correctOrientation()
void extractBody(int b, int &nFaces, long *fNewFromOld, long *fOldFromNew, int &nVertices, long *vNewFromOld, long *vOldFromNew)
sets faces' body field. returns bodies
FaceList()
FaceList(const MbVec3f *, MwIndexedFaceSet *, MbBool verbose=FALSE)
int findBodies()
void findFacetNormals(MwNormal *)
void findNormal(const MbVec3f *verts)
void findOrientation()
void findShapeInfo()
void findVertexNormals(MwNormal *, MwIndexedFaceSet *, float)
MwIndexedFaceSet* getFaceSet()
int isConvex()
int isSolid()
sets isSolid() and isConvex() appropriately
MbBool isVerbose()
Face* operator[](int i)
void orientFace(int, int)
void setVerbose(MbBool v)
~FaceList()

Public

enum Orientation
Face normal for the whole face

Private Fields

int convex
EdgeDict* ed
MwIndexedFaceSet* faceSet
int solid
FaceList* vd
int vdSize
vertex dictionary
MbBool verbose
const MbVec3f* verts

Private Methods

void averageNormals(MwMFVec3f &, MbVec3f &, float, int)
void buildVertexDict()
FaceList(const MbVec3f *, EdgeDict *)
static int FaceList::getIdx(MwMFVec3f &mf, const MbVec3f &p)
void orientOutward()
void recursivelyMarkBody(Face *)
void recursivelyOrient(Face *)
reverse orientation of all on list
void reverseOrientation()
float volume()

Inherited from MbPList:

Public Fields

PFSTRUCT_DECLARE

Public Methods

void copy(const MbPList &pl)
int find(const void *ptr)
int getLength()
void insert(void *ptr, int addBefore)
int operator !=(const MbPList &pl)
MbPList& operator =(const MbPList &pl)
int operator ==(const MbPList &pl)
void*& operator [](int i)
void remove(int which)
void truncate(int start)

Private Fields

int nPtrs
void** ptrs
int ptrsSize

Private Methods

int compare(const MbPList &pl)
void expand(int size)
void grow(int max)
void setSize(int size)

Documentation

int nv

long* v
Number of vertices

long* vn
Pointers to indices, which are vertices...

int vct
Indices for vertex normals

int vidx
count of the first vertex in the original IFS node

int degenerate
index of the first vertex in the original IFS node

int body
Is it degenerate? (set by findNormal)

MbVec3f normal
which body does it belong to?

enum Orientation
Face normal for the whole face

Orientation orientation

void findNormal(const MbVec3f *verts)

void orientFace(int, int)

FaceList()

FaceList(const MbVec3f *, MwIndexedFaceSet *, MbBool verbose=FALSE)

~FaceList()

void append(Face *f)

Face* operator[](int i)

void findOrientation()

void correctOrientation()

void findFacetNormals(MwNormal *)

void findVertexNormals(MwNormal *, MwIndexedFaceSet *, float)

void findShapeInfo()

int isSolid()
sets isSolid() and isConvex() appropriately

int isConvex()

int findBodies()

void extractBody(int b, int &nFaces, long *fNewFromOld, long *fOldFromNew, int &nVertices, long *vNewFromOld, long *vOldFromNew)
sets faces' body field. returns bodies

MwIndexedFaceSet* getFaceSet()

void setVerbose(MbBool v)

MbBool isVerbose()

FaceList(const MbVec3f *, EdgeDict *)

float volume()

void reverseOrientation()

void recursivelyOrient(Face *)
reverse orientation of all on list

void recursivelyMarkBody(Face *)

void orientOutward()

void averageNormals(MwMFVec3f &, MbVec3f &, float, int)

void buildVertexDict()

int convex

int solid

const MbVec3f* verts

EdgeDict* ed

FaceList* vd

int vdSize
vertex dictionary

MwIndexedFaceSet* faceSet

MbBool verbose

static int FaceList::getIdx(MwMFVec3f &mf, const MbVec3f &p)


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de