Public Member Functions | Private Types | Private Attributes
vcg::tri::SelectionStack< ComputeMeshType > Class Template Reference

A stack for saving and restoring selection. More...

#include <selection.h>

List of all members.

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< esHandleesV
std::vector< fsHandlefsV
std::vector< vsHandlevsV

Detailed Description

template<class ComputeMeshType>
class vcg::tri::SelectionStack< ComputeMeshType >

A stack for saving and restoring selection.

This class is used to save the current selection onto a stack for later use.

Todo:
it should be generalized to other attributes with a templated approach.

Definition at line 38 of file selection.h.


Member Typedef Documentation

template<class ComputeMeshType>
typedef ComputeMeshType::template PerEdgeAttributeHandle< bool > vcg::tri::SelectionStack< ComputeMeshType >::esHandle [private]

Definition at line 41 of file selection.h.

template<class ComputeMeshType>
typedef ComputeMeshType::template PerFaceAttributeHandle< bool > vcg::tri::SelectionStack< ComputeMeshType >::fsHandle [private]

Definition at line 42 of file selection.h.

template<class ComputeMeshType>
typedef ComputeMeshType::template PerVertexAttributeHandle< bool > vcg::tri::SelectionStack< ComputeMeshType >::vsHandle [private]

Definition at line 40 of file selection.h.


Constructor & Destructor Documentation

template<class ComputeMeshType>
vcg::tri::SelectionStack< ComputeMeshType >::SelectionStack ( ComputeMeshType &  m) [inline]

Definition at line 45 of file selection.h.


Member Function Documentation

template<class ComputeMeshType>
bool vcg::tri::SelectionStack< ComputeMeshType >::pop ( bool  mergeFlag = false) [inline]

Definition at line 78 of file selection.h.

template<class ComputeMeshType>
bool vcg::tri::SelectionStack< ComputeMeshType >::popOr ( ) [inline]

Definition at line 73 of file selection.h.

template<class ComputeMeshType>
bool vcg::tri::SelectionStack< ComputeMeshType >::push ( ) [inline]

Definition at line 50 of file selection.h.


Member Data Documentation

template<class ComputeMeshType>
ComputeMeshType* vcg::tri::SelectionStack< ComputeMeshType >::_m [private]

Definition at line 128 of file selection.h.

template<class ComputeMeshType>
std::vector<esHandle> vcg::tri::SelectionStack< ComputeMeshType >::esV [private]

Definition at line 130 of file selection.h.

template<class ComputeMeshType>
std::vector<fsHandle> vcg::tri::SelectionStack< ComputeMeshType >::fsV [private]

Definition at line 131 of file selection.h.

template<class ComputeMeshType>
std::vector<vsHandle> vcg::tri::SelectionStack< ComputeMeshType >::vsV [private]

Definition at line 129 of file selection.h.


The documentation for this class was generated from the following file:


shape_reconstruction
Author(s): Roberto Martín-Martín
autogenerated on Sat Jun 8 2019 18:43:06