#include <base.h>
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. |
Definition at line 85 of file vcg/simplex/edge/base.h.
anonymous enum |
Definition at line 91 of file vcg/simplex/edge/base.h.
void vcg::EdgeArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J >::ClearB | ( | ) | [inline] |
Definition at line 130 of file vcg/simplex/edge/base.h.
void vcg::EdgeArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J >::ClearD | ( | ) | [inline] |
deletes the edge from the mesh
Definition at line 122 of file vcg/simplex/edge/base.h.
void vcg::EdgeArityMax< 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 120 of file vcg/simplex/edge/base.h.
void vcg::EdgeArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J >::ClearR | ( | ) | [inline] |
marks the edge as readable
Definition at line 124 of file vcg/simplex/edge/base.h.
void vcg::EdgeArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J >::ClearS | ( | ) | [inline] |
select the edge
Definition at line 128 of file vcg/simplex/edge/base.h.
void vcg::EdgeArityMax< 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 168 of file vcg/simplex/edge/base.h.
void vcg::EdgeArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J >::ClearV | ( | ) | [inline] |
Definition at line 132 of file vcg/simplex/edge/base.h.
void vcg::EdgeArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J >::ClearW | ( | ) | [inline] |
marks the edge as not readable
Definition at line 125 of file vcg/simplex/edge/base.h.
static bool vcg::EdgeArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J >::DeleteBitFlag | ( | int | bitval | ) | [inline, static] |
De-allocate a pre allocated bit. It updates the FirstUnusedBitFlag.
Definition at line 151 of file vcg/simplex/edge/base.h.
static int& vcg::EdgeArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J >::FirstUnusedBitFlag | ( | ) | [inline, static] |
Return the first bit that is not still used.
Definition at line 135 of file vcg/simplex/edge/base.h.
void vcg::EdgeArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J >::GetBBox | ( | BoxType & | bb | ) | const [inline] |
Definition at line 171 of file vcg/simplex/edge/base.h.
bool vcg::EdgeArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J >::IsB | ( | ) | const [inline] |
checks if the vertex is Selected
Definition at line 108 of file vcg/simplex/edge/base.h.
bool vcg::EdgeArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J >::IsD | ( | ) | const [inline] |
Definition at line 103 of file vcg/simplex/edge/base.h.
bool vcg::EdgeArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J >::IsR | ( | ) | const [inline] |
checks if the vertex is deleted
Definition at line 104 of file vcg/simplex/edge/base.h.
bool vcg::EdgeArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J >::IsRW | ( | ) | const [inline] |
checks if the vertex is modifiable
Definition at line 106 of file vcg/simplex/edge/base.h.
bool vcg::EdgeArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J >::IsS | ( | ) | const [inline] |
This funcion checks whether the vertex is both readable and modifiable.
Definition at line 107 of file vcg/simplex/edge/base.h.
bool vcg::EdgeArityMax< 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 162 of file vcg/simplex/edge/base.h.
bool vcg::EdgeArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J >::IsV | ( | ) | const [inline] |
checks if the vertex is a border one
Definition at line 109 of file vcg/simplex/edge/base.h.
bool vcg::EdgeArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J >::IsW | ( | ) | const [inline] |
checks if the vertex is readable
Definition at line 105 of file vcg/simplex/edge/base.h.
static int vcg::EdgeArityMax< 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. It updates the FirstUnusedBitFlag.
Definition at line 142 of file vcg/simplex/edge/base.h.
void vcg::EdgeArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J >::SetB | ( | ) | [inline] |
Un-select a edge.
Definition at line 129 of file vcg/simplex/edge/base.h.
void vcg::EdgeArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J >::SetD | ( | ) | [inline] |
Definition at line 121 of file vcg/simplex/edge/base.h.
void vcg::EdgeArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J >::SetFlags | ( | int | flagp | ) | [inline] |
checks if the vertex Has been visited
Set the flag value
flagp | Valore da inserire nel flag |
Definition at line 115 of file vcg/simplex/edge/base.h.
void vcg::EdgeArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J >::SetR | ( | ) | [inline] |
un-delete a edge
Definition at line 123 of file vcg/simplex/edge/base.h.
void vcg::EdgeArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J >::SetS | ( | ) | [inline] |
marks the edge as not writable
Definition at line 127 of file vcg/simplex/edge/base.h.
void vcg::EdgeArityMax< 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 165 of file vcg/simplex/edge/base.h.
void vcg::EdgeArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J >::SetV | ( | ) | [inline] |
Definition at line 131 of file vcg/simplex/edge/base.h.
void vcg::EdgeArityMax< UserTypes, A, B, C, D, E, F, G, H, I, J >::SetW | ( | ) | [inline] |
marks the edge as writable
Definition at line 126 of file vcg/simplex/edge/base.h.