A stack for saving and restoring selection. More...
#include <selection.h>
Public Member Functions | |
bool | pop (bool mergeFlag=false) |
bool | popOr () |
bool | push () |
SelectionStack (ComputeMeshType &m) | |
Private Types | |
typedef ComputeMeshType::template PerEdgeAttributeHandle< bool > | esHandle |
typedef ComputeMeshType::template PerFaceAttributeHandle< bool > | fsHandle |
typedef ComputeMeshType::template PerVertexAttributeHandle< bool > | vsHandle |
Private Attributes | |
ComputeMeshType * | _m |
std::vector< esHandle > | esV |
std::vector< fsHandle > | fsV |
std::vector< vsHandle > | vsV |
A stack for saving and restoring selection.
This class is used to save the current selection onto a stack for later use.
Definition at line 38 of file selection.h.
typedef ComputeMeshType::template PerEdgeAttributeHandle< bool > vcg::tri::SelectionStack< ComputeMeshType >::esHandle [private] |
Definition at line 41 of file selection.h.
typedef ComputeMeshType::template PerFaceAttributeHandle< bool > vcg::tri::SelectionStack< ComputeMeshType >::fsHandle [private] |
Definition at line 42 of file selection.h.
typedef ComputeMeshType::template PerVertexAttributeHandle< bool > vcg::tri::SelectionStack< ComputeMeshType >::vsHandle [private] |
Definition at line 40 of file selection.h.
vcg::tri::SelectionStack< ComputeMeshType >::SelectionStack | ( | ComputeMeshType & | m | ) | [inline] |
Definition at line 45 of file selection.h.
bool vcg::tri::SelectionStack< ComputeMeshType >::pop | ( | bool | mergeFlag = false | ) | [inline] |
Definition at line 78 of file selection.h.
bool vcg::tri::SelectionStack< ComputeMeshType >::popOr | ( | ) | [inline] |
Definition at line 73 of file selection.h.
bool vcg::tri::SelectionStack< ComputeMeshType >::push | ( | ) | [inline] |
Definition at line 50 of file selection.h.
ComputeMeshType* vcg::tri::SelectionStack< ComputeMeshType >::_m [private] |
Definition at line 128 of file selection.h.
std::vector<esHandle> vcg::tri::SelectionStack< ComputeMeshType >::esV [private] |
Definition at line 130 of file selection.h.
std::vector<fsHandle> vcg::tri::SelectionStack< ComputeMeshType >::fsV [private] |
Definition at line 131 of file selection.h.
std::vector<vsHandle> vcg::tri::SelectionStack< ComputeMeshType >::vsV [private] |
Definition at line 129 of file selection.h.