DGtal 0.3.0
Public Member Functions | Data Fields

DGtal::CustomColors3D Struct Reference

#include <DGtalQGLViewer.h>

Inheritance diagram for DGtal::CustomColors3D:
Inheritance graph
Collaboration diagram for DGtal::CustomColors3D:
Collaboration graph

Public Member Functions

 CustomColors3D (const QColor &penColor, const QColor &fillColor)
virtual void selfDrawQGL (DGtalQGLViewer &viewer) const

Data Fields

QColor myPenColor
QColor myFillColor

Detailed Description

Custom style class redefining the fill color and the gl_LINE/gl_POINT color. You can use Qcolor with alpha transparency value but you nedd to take into account the z-buffer during the Open-GL based rendering.

   DGtalQGLviewer viewer;
   viewer << CustomColors3D(QColor(250, 0,0),QColor(250, 0,0));
See also:

3dBorderExtraction.cpp, dgtalQGLviewer-3-objects.cpp, dgtalQGLviewer-5-custom.cpp, dgtalQGLviewer-6-clipping.cpp, digitalSetFromPointList.cpp, distancetransform3D.cpp, and homotopicThinning3D.cpp.

Definition at line 490 of file DGtalQGLViewer.h.

Constructor & Destructor Documentation

DGtal::CustomColors3D::CustomColors3D ( const QColor &  penColor,
const QColor &  fillColor 
) [inline]


penColorspecifies the pen color.
fillColorspecifies the fill color.

Definition at line 501 of file DGtalQGLViewer.h.

Member Function Documentation

virtual void DGtal::CustomColors3D::selfDrawQGL ( DGtalQGLViewer viewer) const [inline, virtual]

Field Documentation

Definition at line 493 of file DGtalQGLViewer.h.

Referenced by selfDrawQGL().

Definition at line 492 of file DGtalQGLViewer.h.

Referenced by selfDrawQGL().

The documentation for this struct was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines