#include <base.h>
Public Types | |
enum | { DELETED = 0x00000001, NOTREAD = 0x00000002, NOTWRITE = 0x00000004, VISITED = 0x00000010, SELECTED = 0x00000020, BORDER0 = 0x00000040, BORDER1 = 0x00000080, BORDER2 = 0x00000100, BORDER012 = BORDER0 | BORDER1 | BORDER2, NORMX = 0x00000200, NORMY = 0x00000400, NORMZ = 0x00000800, CREASE0 = 0x00008000, CREASE1 = 0x00010000, CREASE2 = 0x00020000, FAUX0 = 0x00040000, FAUX1 = 0x00080000, FAUX2 = 0x00100000, FAUX012 = FAUX0 | FAUX1 | FAUX2, USER0 = 0x00200000 } |
typedef FaceArityMax::ScalarType | ScalarType |
Public Member Functions | |
void | ClearAllF () |
void | ClearB (int i) |
This funcion execute the inverse operation of SetS(). | |
void | ClearD () |
un-delete a Face | |
void | ClearF (int i) |
This funcion execute the inverse operation of SetS(). | |
void | ClearFlags () |
void | ClearR () |
marks the Face as not readable | |
void | ClearS () |
Un-select a Face. | |
void | ClearUserBit (int userBit) |
This function clear the given user bit. | |
void | ClearV () |
Un-select a Face. | |
void | ClearW () |
marks the Face as notwritable | |
void | GetBBox (Box3< ScalarType > &bb) const |
bool | IsAnyF () const |
bool | IsB (int i) const |
This function checks if the face is selected. | |
bool | IsD () const |
checks if the Face is deleted | |
bool | IsF (int i) const |
bool | IsR () const |
checks if the Face is readable | |
bool | IsRW () const |
This funcion checks whether the Face is both readable and modifiable. | |
bool | IsS () const |
checks if the Face is Modified | |
bool | IsUserBit (int userBit) |
This function checks if the given user bit is true. | |
bool | IsV () const |
checks if the Face is Modified | |
bool | IsW () const |
checks if the Face is modifiable | |
void | SetB (int i) |
This function select the face. | |
void | SetD () |
deletes the Face from the mesh | |
void | SetF (int i) |
This function select the face. | |
void | SetFlags (int flagp) |
void | SetR () |
marks the Face as readable | |
void | SetS () |
select the Face | |
void | SetUserBit (int userBit) |
This function set the given user bit. | |
void | SetV () |
select the Face | |
void | SetW () |
marks the Face as writable | |
int | UberFlags () const |
int & | UberFlags () |
Static Public Member Functions | |
static bool | DeleteBitFlag (int bitval) |
static int & | LastBitFlag () |
Return the first bit that is not still used. | |
static int | NewBitFlag () |
allocate a bit among the flags that can be used by user. |
Definition at line 103 of file simplex/face/base.h.
typedef FaceArityMax::ScalarType vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J >::ScalarType |
Definition at line 106 of file simplex/face/base.h.
anonymous enum |
DELETED | |
NOTREAD | |
NOTWRITE | |
VISITED | |
SELECTED | |
BORDER0 | |
BORDER1 | |
BORDER2 | |
BORDER012 | |
NORMX | |
NORMY | |
NORMZ | |
CREASE0 | |
CREASE1 | |
CREASE2 | |
FAUX0 | |
FAUX1 | |
FAUX2 | |
FAUX012 | |
USER0 |
Definition at line 117 of file simplex/face/base.h.
void vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J >::ClearAllF | ( | ) | [inline] |
Definition at line 207 of file simplex/face/base.h.
void vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J >::ClearB | ( | int | i | ) | [inline] |
This funcion execute the inverse operation of SetS().
Definition at line 196 of file simplex/face/base.h.
void vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J >::ClearD | ( | ) | [inline] |
un-delete a Face
Definition at line 173 of file simplex/face/base.h.
void vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J >::ClearF | ( | int | i | ) | [inline] |
This funcion execute the inverse operation of SetS().
Definition at line 206 of file simplex/face/base.h.
void vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J >::ClearFlags | ( | ) | [inline] |
Set the flag value
flagp | Valore da inserire nel flag |
Definition at line 168 of file simplex/face/base.h.
void vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J >::ClearR | ( | ) | [inline] |
marks the Face as not readable
Definition at line 177 of file simplex/face/base.h.
void vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J >::ClearS | ( | ) | [inline] |
Un-select a Face.
Definition at line 185 of file simplex/face/base.h.
void vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J >::ClearUserBit | ( | int | userBit | ) | [inline] |
This function clear the given user bit.
Definition at line 237 of file simplex/face/base.h.
void vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J >::ClearV | ( | ) | [inline] |
Un-select a Face.
Definition at line 189 of file simplex/face/base.h.
void vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J >::ClearW | ( | ) | [inline] |
marks the Face as notwritable
Definition at line 181 of file simplex/face/base.h.
static bool vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J >::DeleteBitFlag | ( | int | bitval | ) | [inline, static] |
Definition at line 223 of file simplex/face/base.h.
void vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J >::GetBBox | ( | Box3< ScalarType > & | bb | ) | const [inline] |
Definition at line 240 of file simplex/face/base.h.
bool vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J >::IsAnyF | ( | ) | const [inline] |
Definition at line 202 of file simplex/face/base.h.
bool vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J >::IsB | ( | int | i | ) | const [inline] |
This function checks if the face is selected.
Definition at line 192 of file simplex/face/base.h.
bool vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J >::IsD | ( | ) | const [inline] |
checks if the Face is deleted
Definition at line 148 of file simplex/face/base.h.
bool vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J >::IsF | ( | int | i | ) | const [inline] |
This function checks if a given side of the face is a feature/internal edge it is used by some importer to mark internal edges of polygonal faces that have been triangulated
Definition at line 201 of file simplex/face/base.h.
bool vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J >::IsR | ( | ) | const [inline] |
checks if the Face is readable
Definition at line 150 of file simplex/face/base.h.
bool vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J >::IsRW | ( | ) | const [inline] |
This funcion checks whether the Face is both readable and modifiable.
Definition at line 154 of file simplex/face/base.h.
bool vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J >::IsS | ( | ) | const [inline] |
checks if the Face is Modified
Definition at line 156 of file simplex/face/base.h.
bool vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J >::IsUserBit | ( | int | userBit | ) | [inline] |
This function checks if the given user bit is true.
Definition at line 233 of file simplex/face/base.h.
bool vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J >::IsV | ( | ) | const [inline] |
checks if the Face is Modified
Definition at line 158 of file simplex/face/base.h.
bool vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J >::IsW | ( | ) | const [inline] |
checks if the Face is modifiable
Definition at line 152 of file simplex/face/base.h.
static int& vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J >::LastBitFlag | ( | ) | [inline, static] |
Return the first bit that is not still used.
Definition at line 210 of file simplex/face/base.h.
static int vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J >::NewBitFlag | ( | ) | [inline, static] |
allocate a bit among the flags that can be used by user.
Definition at line 217 of file simplex/face/base.h.
void vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J >::SetB | ( | int | i | ) | [inline] |
This function select the face.
Definition at line 194 of file simplex/face/base.h.
void vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J >::SetD | ( | ) | [inline] |
deletes the Face from the mesh
Definition at line 171 of file simplex/face/base.h.
void vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J >::SetF | ( | int | i | ) | [inline] |
This function select the face.
Definition at line 204 of file simplex/face/base.h.
void vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J >::SetFlags | ( | int | flagp | ) | [inline] |
Set the flag value
flagp | Valore da inserire nel flag |
Definition at line 163 of file simplex/face/base.h.
void vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J >::SetR | ( | ) | [inline] |
marks the Face as readable
Definition at line 175 of file simplex/face/base.h.
void vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J >::SetS | ( | ) | [inline] |
select the Face
Definition at line 183 of file simplex/face/base.h.
void vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J >::SetUserBit | ( | int | userBit | ) | [inline] |
This function set the given user bit.
Definition at line 235 of file simplex/face/base.h.
void vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J >::SetV | ( | ) | [inline] |
select the Face
Definition at line 187 of file simplex/face/base.h.
void vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J >::SetW | ( | ) | [inline] |
marks the Face as writable
Definition at line 179 of file simplex/face/base.h.
int vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J >::UberFlags | ( | ) | const [inline] |
Definition at line 113 of file simplex/face/base.h.
int& vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J >::UberFlags | ( | ) | [inline] |
Definition at line 109 of file simplex/face/base.h.