Public Types |
enum | {
DELETED = 0x0001,
NOTREAD = 0x0002,
NOTWRITE = 0x0004,
MODIFIED = 0x0008,
VISITED = 0x0010,
SELECTED = 0x0020,
BORDER = 0x0100,
USER0 = 0x0200
} |
Public Member Functions |
void | ClearB () |
void | ClearD () |
| deletes the vertex from the mesh
|
void | ClearFlags () |
void | ClearR () |
| marks the vertex as readable
|
void | ClearS () |
| select the vertex
|
void | ClearUserBit (int userBit) |
| This function clear the given user bit.
|
void | ClearV () |
void | ClearW () |
| marks the vertex as not readable
|
template<class BoxType > |
void | GetBBox (BoxType &bb) const |
bool | IsB () const |
| checks if the vertex is Selected
|
bool | IsD () const |
bool | IsR () const |
| checks if the vertex is deleted
|
bool | IsRW () const |
| checks if the vertex is modifiable
|
bool | IsS () const |
| This funcion checks whether the vertex is both readable and modifiable.
|
bool | IsUserBit (int userBit) |
| This function checks if the given user bit is true.
|
bool | IsV () const |
| checks if the vertex is a border one
|
bool | IsW () const |
| checks if the vertex is readable
|
void | SetB () |
| Un-select a vertex.
|
void | SetD () |
void | SetFlags (int flagp) |
| checks if the vertex Has been visited
|
void | SetR () |
| un-delete a vertex
|
void | SetS () |
| marks the vertex as not writable
|
void | SetUserBit (int userBit) |
| This function set the given user bit.
|
void | SetV () |
void | SetW () |
| marks the vertex 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::VertexArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K, L >
Definition at line 61 of file vcg/simplex/vertex/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>
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::VertexArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K, L >::ClearB |
( |
| ) |
[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::VertexArityMax< 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::VertexArityMax< 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::VertexArityMax< 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::VertexArityMax< 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::VertexArityMax< 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::VertexArityMax< 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::VertexArityMax< 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::VertexArityMax< 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::VertexArityMax< 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>
template<class BoxType >
void vcg::VertexArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K, L >::GetBBox |
( |
BoxType & |
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::VertexArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K, L >::IsB |
( |
| ) |
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::VertexArityMax< 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::VertexArityMax< 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::VertexArityMax< 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::VertexArityMax< 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::VertexArityMax< 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::VertexArityMax< 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::VertexArityMax< 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::VertexArityMax< 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 119 of file vcg/simplex/vertex/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::VertexArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K, L >::SetB |
( |
| ) |
[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::VertexArityMax< 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::VertexArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K, L >::SetFlags |
( |
int |
flagp | ) |
[inline] |
checks if the vertex Has been visited
Set the flag value
- Parameters:
-
flagp | Valore da inserire nel flag |
Definition at line 92 of file vcg/simplex/vertex/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::VertexArityMax< 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::VertexArityMax< 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::VertexArityMax< 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::VertexArityMax< 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::VertexArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K, L >::SetW |
( |
| ) |
[inline] |