Developer Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
OpenVolumeMesh::ColorAttrib< ColT > Class Template Reference

Public Member Functions

 ColorAttrib (TopologyKernel &_kernel, const ColT _def=ColT())
 
const ColT & operator[] (const VertexHandle &_h) const
 
ColT & operator[] (const VertexHandle &_h)
 
const ColT & operator[] (const EdgeHandle &_h) const
 
ColT & operator[] (const EdgeHandle &_h)
 
const ColT & operator[] (const HalfEdgeHandle &_h) const
 
ColT & operator[] (const HalfEdgeHandle &_h)
 
const ColT & operator[] (const FaceHandle &_h) const
 
ColT & operator[] (const FaceHandle &_h)
 
const ColT & operator[] (const HalfFaceHandle &_h) const
 
ColT & operator[] (const HalfFaceHandle &_h)
 
const ColT & operator[] (const CellHandle &_h) const
 
ColT & operator[] (const CellHandle &_h)
 
bool vertex_colors_available ()
 
bool halfedge_colors_available ()
 
bool edge_colors_available ()
 
bool halfface_colors_available ()
 
bool face_colors_available ()
 
bool cell_colors_available ()
 
void clear_vertex_colors ()
 
void clear_halfedge_colors ()
 
void clear_edge_colors ()
 
void clear_halfface_colors ()
 
void clear_face_colors ()
 
void clear_cell_colors ()
 

Private Attributes

VertexPropertyT< ColT > vcolor_prop_
 
EdgePropertyT< ColT > ecolor_prop_
 
HalfEdgePropertyT< ColT > hecolor_prop_
 
FacePropertyT< ColT > fcolor_prop_
 
HalfFacePropertyT< ColT > hfcolor_prop_
 
CellPropertyT< ColT > ccolor_prop_
 
TopologyKernelkernel_
 
bool vertex_colors_available_
 
bool halfedge_colors_available_
 
bool edge_colors_available_
 
bool halfface_colors_available_
 
bool face_colors_available_
 
bool cell_colors_available_
 
ColT default_color_
 

Detailed Description

template<class ColT>
class OpenVolumeMesh::ColorAttrib< ColT >

Definition at line 58 of file ColorAttrib.hh.


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