Color for visualization.
More...
#include <Color.h>
|
| Color (Colorname c, float width_=0.001, bool bFill_=false) |
|
| Color (double r_, double g_, double b_, double width_, bool bFill_=false) |
|
bool | operator!= (const Color &other) const |
|
bool | operator< (const Color &other) const |
|
bool | operator== (const Color &other) const |
|
|
float | b |
| Blue.
|
|
bool | bFill |
| Fill the shape or not.
|
|
float | g |
| Green.
|
|
float | r |
| Red.
|
|
float | width |
| Linewidth.
|
|
|
std::ostream & | operator<< (std::ostream &stream, const Color &c) |
|
Color for visualization.
- See also
- Visualizer2
◆ Color() [1/2]
GEOM_FADE25D::Color::Color |
( |
double |
r_, |
|
|
double |
g_, |
|
|
double |
b_, |
|
|
double |
width_, |
|
|
bool |
bFill_ = false |
|
) |
| |
- Parameters
-
r_ | red |
g_ | green |
b_ | blue |
width_ | linewidth |
bFill_ | fill (default: false) has two meanings: Objects that have an area, like Triangle2, Circle2 and VoroCell2, are filled with the specified rgb-color while line segments with bFill=true will be drawn with x-marks at their endpoints. |
◆ Color() [2/2]
GEOM_FADE25D::Color::Color |
( |
Colorname |
c, |
|
|
float |
width_ = 0.001 , |
|
|
bool |
bFill_ = false |
|
) |
| |
|
explicit |
For convenience predefined colors can be used.
- Parameters
-
c | is a predefined color name |
width_ | linewidth (default: 0.001) |
bFill_ | fill (default: false) |
- Note
- bFill_=true has two meanings: Objects that can be filled (Triangle2, Circle2) are filled with the rgb-color but line segments get x-marks at their endpoints.
The documentation for this class was generated from the following file: