DGtal  1.5.beta
DGtal::CustomColors3D Struct Reference

#include <DGtal/io/DrawWithDisplay3DModifier.h>

Inheritance 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));
...
CustomColors3D(const Color &penColor, const Color &fillColor)
void display(ostream &out, const AContainer &C)
See also
Display3D
Examples
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: