DGtal 1.3.0
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
DGtal::CustomColors3D Struct Reference

#include <DGtal/io/DrawWithDisplay3DModifier.h>

Inheritance diagram for DGtal::CustomColors3D:
DGtal::DrawWithDisplay3DModifier

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.

display << CustomColors3D(Color(250, 0,0),Color(250, 0,0));
...
Structure representing an RGB triple with alpha component.
Definition: Color.h:68
Aim: This semi abstract class defines the stream mechanism to display 3d primitive (like BallVector,...
Definition: Display3D.h:93
void display(ostream &out, const AContainer &C)
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, geometry/volumes/fullConvexityAnalysis3D.cpp, geometry/volumes/fullConvexityThinning3D.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

◆ CustomColors3D()

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

◆ myFillColor

Color DGtal::CustomColors3D::myFillColor

Definition at line 132 of file DrawWithDisplay3DModifier.h.

◆ myPenColor

Color DGtal::CustomColors3D::myPenColor

Definition at line 131 of file DrawWithDisplay3DModifier.h.


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