DGtal  0.9.4beta
Public Member Functions | Data Fields
DGtal::CustomColors3D Struct Reference

#include <DGtal/io/DrawWithDisplay3DModifier.h>

Inheritance diagram for DGtal::CustomColors3D:
[legend]
Collaboration diagram for DGtal::CustomColors3D:
[legend]

Public Member Functions

 CustomColors3D (const Color &penColor, const Color &fillColor)
 
- Public Member Functions inherited from DGtal::DrawWithDisplay3DModifier
std::string className () const
 

Data Fields

Color myPenColor
 
Color myFillColor
 

Detailed Description

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

Display3D display;
display << CustomColors3D(Color(250, 0,0),Color(250, 0,0));
...
See also
Display3D
Examples:
dec/exampleDiscreteExteriorCalculusSolve.cpp, geometry/surfaces/greedy-plane-segmentation-ex2.cpp, geometry/surfaces/greedy-plane-segmentation.cpp, geometry/volumes/distance/distancetransform3D.cpp, geometry/volumes/distance/exampleFMM3D.cpp, graph/volDistanceTraversal.cpp, io/boards/dgtalBoard3D-1-points.cpp, io/boards/dgtalBoard3D-6-clipping.cpp, io/boards/dgtalBoard3DTo2D-3-objects.cpp, io/boards/dgtalBoard3DTo2D-5-custom.cpp, io/boards/dgtalBoard3DTo2D-6.cpp, io/digitalSetFromPointList.cpp, io/viewDualSurface.cpp, io/viewers/viewer3D-10-interaction.cpp, io/viewers/viewer3D-3-objects.cpp, io/viewers/viewer3D-5-custom.cpp, io/viewers/viewer3D-6-clipping.cpp, io/viewers/viewer3D-7-planes.cpp, io/viewers/viewer3D-7-stdplane.cpp, io/viewers/viewer3D-7bis-planes.cpp, io/viewers/viewer3D-7bis-stdplane.cpp, topology/3dBorderExtraction.cpp, topology/3dKSSurfaceExtraction.cpp, topology/frontierAndBoundary.cpp, topology/homotopicThinning3D.cpp, topology/volBreadthFirstTraversal.cpp, topology/volScanBoundary.cpp, topology/volTrackBoundary.cpp, and tutorial-examples/volDTGranulo.cpp.

Definition at line 129 of file DrawWithDisplay3DModifier.h.

Constructor & Destructor Documentation

DGtal::CustomColors3D::CustomColors3D ( const Color penColor,
const Color fillColor 
)
inline

Constructor.

Parameters
penColorspecifies the pen color.
fillColorspecifies the fill color.

Definition at line 140 of file DrawWithDisplay3DModifier.h.

142  : myPenColor( penColor ), myFillColor( fillColor )
143  {}

Field Documentation

Color DGtal::CustomColors3D::myFillColor

Definition at line 132 of file DrawWithDisplay3DModifier.h.

Color DGtal::CustomColors3D::myPenColor

Definition at line 131 of file DrawWithDisplay3DModifier.h.


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