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 edge from the mesh
|
void | ClearFlags () |
void | ClearR () |
| marks the edge as readable
|
void | ClearS () |
| select the edge
|
void | ClearUserBit (int userBit) |
| This function clear the given user bit.
|
void | ClearV () |
void | ClearW () |
| marks the edge 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 edge.
|
void | SetD () |
void | SetFlags (int flagp) |
| checks if the vertex Has been visited
|
void | SetR () |
| un-delete a edge
|
void | SetS () |
| marks the edge as not writable
|
void | SetUserBit (int userBit) |
| This function set the given user bit.
|
void | SetV () |
void | SetW () |
| marks the edge 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>
class vcg::HEdgeArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K >
Definition at line 85 of file hedge.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>
- Enumerator:
DELETED |
|
NOTREAD |
|
NOTWRITE |
|
MODIFIED |
|
VISITED |
|
SELECTED |
|
BORDER |
|
USER0 |
|
Definition at line 91 of file hedge.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>
void vcg::HEdgeArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K >::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>
void vcg::HEdgeArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K >::ClearD |
( |
| ) |
[inline] |
deletes the edge from the mesh
Definition at line 122 of file hedge.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>
void vcg::HEdgeArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K >::ClearFlags |
( |
| ) |
[inline] |
Set the flag value
- Parameters:
-
flagp | Valore da inserire nel flag |
Definition at line 120 of file hedge.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>
void vcg::HEdgeArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K >::ClearR |
( |
| ) |
[inline] |
marks the edge as readable
Definition at line 124 of file hedge.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>
void vcg::HEdgeArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K >::ClearS |
( |
| ) |
[inline] |
select the edge
Definition at line 128 of file hedge.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>
void vcg::HEdgeArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K >::ClearUserBit |
( |
int |
userBit | ) |
[inline] |
This function clear the given user bit.
Definition at line 168 of file hedge.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>
void vcg::HEdgeArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K >::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>
void vcg::HEdgeArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K >::ClearW |
( |
| ) |
[inline] |
marks the edge as not readable
Definition at line 125 of file hedge.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>
static bool vcg::HEdgeArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K >::DeleteBitFlag |
( |
int |
bitval | ) |
[inline, static] |
De-allocate a pre allocated bit. It updates the FirstUnusedBitFlag.
Definition at line 151 of file hedge.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>
static int& vcg::HEdgeArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K >::FirstUnusedBitFlag |
( |
| ) |
[inline, static] |
Return the first bit that is not still used.
Definition at line 135 of file hedge.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<class BoxType >
void vcg::HEdgeArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K >::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>
bool vcg::HEdgeArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K >::IsB |
( |
| ) |
const [inline] |
checks if the vertex is Selected
Definition at line 108 of file hedge.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>
bool vcg::HEdgeArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K >::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>
bool vcg::HEdgeArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K >::IsR |
( |
| ) |
const [inline] |
checks if the vertex is deleted
Definition at line 104 of file hedge.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>
bool vcg::HEdgeArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K >::IsRW |
( |
| ) |
const [inline] |
checks if the vertex is modifiable
Definition at line 106 of file hedge.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>
bool vcg::HEdgeArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K >::IsS |
( |
| ) |
const [inline] |
This funcion checks whether the vertex is both readable and modifiable.
Definition at line 107 of file hedge.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>
bool vcg::HEdgeArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K >::IsUserBit |
( |
int |
userBit | ) |
[inline] |
This function checks if the given user bit is true.
Definition at line 162 of file hedge.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>
bool vcg::HEdgeArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K >::IsV |
( |
| ) |
const [inline] |
checks if the vertex is a border one
Definition at line 109 of file hedge.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>
bool vcg::HEdgeArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K >::IsW |
( |
| ) |
const [inline] |
checks if the vertex is readable
Definition at line 105 of file hedge.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>
static int vcg::HEdgeArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K >::NewBitFlag |
( |
| ) |
[inline, static] |
Allocate a bit among the flags that can be used by user. It updates the FirstUnusedBitFlag.
Definition at line 142 of file hedge.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>
void vcg::HEdgeArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K >::SetB |
( |
| ) |
[inline] |
Un-select a edge.
Definition at line 129 of file hedge.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>
void vcg::HEdgeArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K >::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>
void vcg::HEdgeArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K >::SetFlags |
( |
int |
flagp | ) |
[inline] |
checks if the vertex Has been visited
Set the flag value
- Parameters:
-
flagp | Valore da inserire nel flagsimplex |
Definition at line 115 of file hedge.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>
void vcg::HEdgeArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K >::SetR |
( |
| ) |
[inline] |
un-delete a edge
Definition at line 123 of file hedge.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>
void vcg::HEdgeArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K >::SetS |
( |
| ) |
[inline] |
marks the edge as not writable
Definition at line 127 of file hedge.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>
void vcg::HEdgeArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K >::SetUserBit |
( |
int |
userBit | ) |
[inline] |
This function set the given user bit.
Definition at line 165 of file hedge.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>
void vcg::HEdgeArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K >::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>
void vcg::HEdgeArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J, K >::SetW |
( |
| ) |
[inline] |
marks the edge as writable
Definition at line 126 of file hedge.h.