Patate Lib  0.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
PatateCommon::SurfaceMesh::VertexProperty< T > Class Template Reference

Inherits PatateCommon::Property< T >.

Detailed Description

template<class T>
class PatateCommon::SurfaceMesh::VertexProperty< T >

Vertex property of type T

See Also
HalfedgeProperty, EdgeProperty, FaceProperty

Public Member Functions

 VertexProperty ()
 default constructor
 
 VertexProperty (Property< T > p)
 
Property< T >::Reference operator[] (Vertex v)
 access the data stored for vertex v
 
Property< T >::ConstReference operator[] (Vertex v) const
 access the data stored for vertex v
 
- Public Member Functions inherited from PatateCommon::Property< T >
 Property (PropertyArray< T > *p=NULL)
 
void reset ()
 
 operator bool () const
 
Reference operator[] (int i)
 
ConstReference operator[] (int i) const
 
const T * data () const
 
std::vector< T > & vector ()
 

Additional Inherited Members

- Public Types inherited from PatateCommon::Property< T >
typedef PropertyArray< T >
::Reference 
Reference
 
typedef PropertyArray< T >
::ConstReference 
ConstReference