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 | ClearCrease (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 | IsCrease (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 | SetCrease (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
|
Static Public Member Functions |
static bool | DeleteBitFlag (int bitval) |
| De-allocate a pre allocated bit. It updates the FirstUnusedBitFlag.
|
static int & | FirstUnusedBitFlag () |
| Return the first bit that is not still used.
|
static int | NewBitFlag () |
| Allocate a bit among the flags that can be used by user. It updates the FirstUnusedBitFlag.
|
template<class UserTypes, template< typename > class A, template< typename > class B, template< typename > class C, template< typename > class D, template< typename > class E, template< typename > class F, template< typename > class G, template< typename > class H, template< typename > class I, template< typename > class J, template< typename > class K, template< typename > class L>
class vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K, L >
Definition at line 91 of file vcg/simplex/face/base.h.
template<class UserTypes, template< typename > class A, template< typename > class B, template< typename > class C, template< typename > class D, template< typename > class E, template< typename > class F, template< typename > class G, template< typename > class H, template< typename > class I, template< typename > class J, template< typename > class K, template< typename > class L>
typedef FaceArityMax::ScalarType vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K, L >::ScalarType |
template<class UserTypes, template< typename > class A, template< typename > class B, template< typename > class C, template< typename > class D, template< typename > class E, template< typename > class F, template< typename > class G, template< typename > class H, template< typename > class I, template< typename > class J, template< typename > class K, template< typename > class L>
- Enumerator:
DELETED |
|
NOTREAD |
|
NOTWRITE |
|
VISITED |
|
SELECTED |
|
BORDER0 |
|
BORDER1 |
|
BORDER2 |
|
BORDER012 |
|
NORMX |
|
NORMY |
|
NORMZ |
|
CREASE0 |
|
CREASE1 |
|
CREASE2 |
|
FAUX0 |
|
FAUX1 |
|
FAUX2 |
|
FAUX012 |
|
USER0 |
|
Definition at line 97 of file vcg/simplex/face/base.h.
template<class UserTypes, template< typename > class A, template< typename > class B, template< typename > class C, template< typename > class D, template< typename > class E, template< typename > class F, template< typename > class G, template< typename > class H, template< typename > class I, template< typename > class J, template< typename > class K, template< typename > class L>
void vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K, L >::ClearAllF |
( |
| ) |
[inline] |
template<class UserTypes, template< typename > class A, template< typename > class B, template< typename > class C, template< typename > class D, template< typename > class E, template< typename > class F, template< typename > class G, template< typename > class H, template< typename > class I, template< typename > class J, template< typename > class K, template< typename > class L>
void vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K, L >::ClearB |
( |
int |
i | ) |
[inline] |
template<class UserTypes, template< typename > class A, template< typename > class B, template< typename > class C, template< typename > class D, template< typename > class E, template< typename > class F, template< typename > class G, template< typename > class H, template< typename > class I, template< typename > class J, template< typename > class K, template< typename > class L>
void vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K, L >::ClearCrease |
( |
int |
i | ) |
[inline] |
template<class UserTypes, template< typename > class A, template< typename > class B, template< typename > class C, template< typename > class D, template< typename > class E, template< typename > class F, template< typename > class G, template< typename > class H, template< typename > class I, template< typename > class J, template< typename > class K, template< typename > class L>
void vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K, L >::ClearD |
( |
| ) |
[inline] |
template<class UserTypes, template< typename > class A, template< typename > class B, template< typename > class C, template< typename > class D, template< typename > class E, template< typename > class F, template< typename > class G, template< typename > class H, template< typename > class I, template< typename > class J, template< typename > class K, template< typename > class L>
void vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K, L >::ClearF |
( |
int |
i | ) |
[inline] |
template<class UserTypes, template< typename > class A, template< typename > class B, template< typename > class C, template< typename > class D, template< typename > class E, template< typename > class F, template< typename > class G, template< typename > class H, template< typename > class I, template< typename > class J, template< typename > class K, template< typename > class L>
void vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K, L >::ClearFlags |
( |
| ) |
[inline] |
template<class UserTypes, template< typename > class A, template< typename > class B, template< typename > class C, template< typename > class D, template< typename > class E, template< typename > class F, template< typename > class G, template< typename > class H, template< typename > class I, template< typename > class J, template< typename > class K, template< typename > class L>
void vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K, L >::ClearR |
( |
| ) |
[inline] |
template<class UserTypes, template< typename > class A, template< typename > class B, template< typename > class C, template< typename > class D, template< typename > class E, template< typename > class F, template< typename > class G, template< typename > class H, template< typename > class I, template< typename > class J, template< typename > class K, template< typename > class L>
void vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K, L >::ClearS |
( |
| ) |
[inline] |
template<class UserTypes, template< typename > class A, template< typename > class B, template< typename > class C, template< typename > class D, template< typename > class E, template< typename > class F, template< typename > class G, template< typename > class H, template< typename > class I, template< typename > class J, template< typename > class K, template< typename > class L>
void vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K, L >::ClearUserBit |
( |
int |
userBit | ) |
[inline] |
template<class UserTypes, template< typename > class A, template< typename > class B, template< typename > class C, template< typename > class D, template< typename > class E, template< typename > class F, template< typename > class G, template< typename > class H, template< typename > class I, template< typename > class J, template< typename > class K, template< typename > class L>
void vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K, L >::ClearV |
( |
| ) |
[inline] |
template<class UserTypes, template< typename > class A, template< typename > class B, template< typename > class C, template< typename > class D, template< typename > class E, template< typename > class F, template< typename > class G, template< typename > class H, template< typename > class I, template< typename > class J, template< typename > class K, template< typename > class L>
void vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K, L >::ClearW |
( |
| ) |
[inline] |
template<class UserTypes, template< typename > class A, template< typename > class B, template< typename > class C, template< typename > class D, template< typename > class E, template< typename > class F, template< typename > class G, template< typename > class H, template< typename > class I, template< typename > class J, template< typename > class K, template< typename > class L>
static bool vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K, L >::DeleteBitFlag |
( |
int |
bitval | ) |
[inline, static] |
template<class UserTypes, template< typename > class A, template< typename > class B, template< typename > class C, template< typename > class D, template< typename > class E, template< typename > class F, template< typename > class G, template< typename > class H, template< typename > class I, template< typename > class J, template< typename > class K, template< typename > class L>
static int& vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K, L >::FirstUnusedBitFlag |
( |
| ) |
[inline, static] |
template<class UserTypes, template< typename > class A, template< typename > class B, template< typename > class C, template< typename > class D, template< typename > class E, template< typename > class F, template< typename > class G, template< typename > class H, template< typename > class I, template< typename > class J, template< typename > class K, template< typename > class L>
void vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K, L >::GetBBox |
( |
Box3< ScalarType > & |
bb | ) |
const [inline] |
template<class UserTypes, template< typename > class A, template< typename > class B, template< typename > class C, template< typename > class D, template< typename > class E, template< typename > class F, template< typename > class G, template< typename > class H, template< typename > class I, template< typename > class J, template< typename > class K, template< typename > class L>
bool vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K, L >::IsAnyF |
( |
| ) |
const [inline] |
template<class UserTypes, template< typename > class A, template< typename > class B, template< typename > class C, template< typename > class D, template< typename > class E, template< typename > class F, template< typename > class G, template< typename > class H, template< typename > class I, template< typename > class J, template< typename > class K, template< typename > class L>
bool vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K, L >::IsB |
( |
int |
i | ) |
const [inline] |
template<class UserTypes, template< typename > class A, template< typename > class B, template< typename > class C, template< typename > class D, template< typename > class E, template< typename > class F, template< typename > class G, template< typename > class H, template< typename > class I, template< typename > class J, template< typename > class K, template< typename > class L>
bool vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K, L >::IsCrease |
( |
int |
i | ) |
const [inline] |
template<class UserTypes, template< typename > class A, template< typename > class B, template< typename > class C, template< typename > class D, template< typename > class E, template< typename > class F, template< typename > class G, template< typename > class H, template< typename > class I, template< typename > class J, template< typename > class K, template< typename > class L>
bool vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K, L >::IsD |
( |
| ) |
const [inline] |
template<class UserTypes, template< typename > class A, template< typename > class B, template< typename > class C, template< typename > class D, template< typename > class E, template< typename > class F, template< typename > class G, template< typename > class H, template< typename > class I, template< typename > class J, template< typename > class K, template< typename > class L>
bool vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K, L >::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 188 of file vcg/simplex/face/base.h.
template<class UserTypes, template< typename > class A, template< typename > class B, template< typename > class C, template< typename > class D, template< typename > class E, template< typename > class F, template< typename > class G, template< typename > class H, template< typename > class I, template< typename > class J, template< typename > class K, template< typename > class L>
bool vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K, L >::IsR |
( |
| ) |
const [inline] |
template<class UserTypes, template< typename > class A, template< typename > class B, template< typename > class C, template< typename > class D, template< typename > class E, template< typename > class F, template< typename > class G, template< typename > class H, template< typename > class I, template< typename > class J, template< typename > class K, template< typename > class L>
bool vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K, L >::IsRW |
( |
| ) |
const [inline] |
template<class UserTypes, template< typename > class A, template< typename > class B, template< typename > class C, template< typename > class D, template< typename > class E, template< typename > class F, template< typename > class G, template< typename > class H, template< typename > class I, template< typename > class J, template< typename > class K, template< typename > class L>
bool vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K, L >::IsS |
( |
| ) |
const [inline] |
template<class UserTypes, template< typename > class A, template< typename > class B, template< typename > class C, template< typename > class D, template< typename > class E, template< typename > class F, template< typename > class G, template< typename > class H, template< typename > class I, template< typename > class J, template< typename > class K, template< typename > class L>
bool vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K, L >::IsUserBit |
( |
int |
userBit | ) |
[inline] |
template<class UserTypes, template< typename > class A, template< typename > class B, template< typename > class C, template< typename > class D, template< typename > class E, template< typename > class F, template< typename > class G, template< typename > class H, template< typename > class I, template< typename > class J, template< typename > class K, template< typename > class L>
bool vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K, L >::IsV |
( |
| ) |
const [inline] |
template<class UserTypes, template< typename > class A, template< typename > class B, template< typename > class C, template< typename > class D, template< typename > class E, template< typename > class F, template< typename > class G, template< typename > class H, template< typename > class I, template< typename > class J, template< typename > class K, template< typename > class L>
bool vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K, L >::IsW |
( |
| ) |
const [inline] |
template<class UserTypes, template< typename > class A, template< typename > class B, template< typename > class C, template< typename > class D, template< typename > class E, template< typename > class F, template< typename > class G, template< typename > class H, template< typename > class I, template< typename > class J, template< typename > class K, template< typename > class L>
static int vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K, L >::NewBitFlag |
( |
| ) |
[inline, static] |
Allocate a bit among the flags that can be used by user. It updates the FirstUnusedBitFlag.
Definition at line 204 of file vcg/simplex/face/base.h.
template<class UserTypes, template< typename > class A, template< typename > class B, template< typename > class C, template< typename > class D, template< typename > class E, template< typename > class F, template< typename > class G, template< typename > class H, template< typename > class I, template< typename > class J, template< typename > class K, template< typename > class L>
void vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K, L >::SetB |
( |
int |
i | ) |
[inline] |
template<class UserTypes, template< typename > class A, template< typename > class B, template< typename > class C, template< typename > class D, template< typename > class E, template< typename > class F, template< typename > class G, template< typename > class H, template< typename > class I, template< typename > class J, template< typename > class K, template< typename > class L>
void vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K, L >::SetCrease |
( |
int |
i | ) |
[inline] |
template<class UserTypes, template< typename > class A, template< typename > class B, template< typename > class C, template< typename > class D, template< typename > class E, template< typename > class F, template< typename > class G, template< typename > class H, template< typename > class I, template< typename > class J, template< typename > class K, template< typename > class L>
void vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K, L >::SetD |
( |
| ) |
[inline] |
template<class UserTypes, template< typename > class A, template< typename > class B, template< typename > class C, template< typename > class D, template< typename > class E, template< typename > class F, template< typename > class G, template< typename > class H, template< typename > class I, template< typename > class J, template< typename > class K, template< typename > class L>
void vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K, L >::SetF |
( |
int |
i | ) |
[inline] |
template<class UserTypes, template< typename > class A, template< typename > class B, template< typename > class C, template< typename > class D, template< typename > class E, template< typename > class F, template< typename > class G, template< typename > class H, template< typename > class I, template< typename > class J, template< typename > class K, template< typename > class L>
void vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K, L >::SetFlags |
( |
int |
flagp | ) |
[inline] |
template<class UserTypes, template< typename > class A, template< typename > class B, template< typename > class C, template< typename > class D, template< typename > class E, template< typename > class F, template< typename > class G, template< typename > class H, template< typename > class I, template< typename > class J, template< typename > class K, template< typename > class L>
void vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K, L >::SetR |
( |
| ) |
[inline] |
template<class UserTypes, template< typename > class A, template< typename > class B, template< typename > class C, template< typename > class D, template< typename > class E, template< typename > class F, template< typename > class G, template< typename > class H, template< typename > class I, template< typename > class J, template< typename > class K, template< typename > class L>
void vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K, L >::SetS |
( |
| ) |
[inline] |
template<class UserTypes, template< typename > class A, template< typename > class B, template< typename > class C, template< typename > class D, template< typename > class E, template< typename > class F, template< typename > class G, template< typename > class H, template< typename > class I, template< typename > class J, template< typename > class K, template< typename > class L>
void vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K, L >::SetUserBit |
( |
int |
userBit | ) |
[inline] |
template<class UserTypes, template< typename > class A, template< typename > class B, template< typename > class C, template< typename > class D, template< typename > class E, template< typename > class F, template< typename > class G, template< typename > class H, template< typename > class I, template< typename > class J, template< typename > class K, template< typename > class L>
void vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K, L >::SetV |
( |
| ) |
[inline] |
template<class UserTypes, template< typename > class A, template< typename > class B, template< typename > class C, template< typename > class D, template< typename > class E, template< typename > class F, template< typename > class G, template< typename > class H, template< typename > class I, template< typename > class J, template< typename > class K, template< typename > class L>
void vcg::FaceArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K, L >::SetW |
( |
| ) |
[inline] |