PhyCylinder::SegmentColor Struct Reference

The structure used to define the color of intervals of the cylinder. More...

Public Member Functions

 SegmentColor ()
 Constructor. More...
 
 SegmentColor (Intervals i, QColor c)
 Constructor. More...
 

Public Attributes

QColor color
 The color of the segment. More...
 
Intervals intervals
 The intervals of the cylinder with the given color. More...
 

Detailed Description

The structure used to define the color of intervals of the cylinder.

Intervals angles are in radians. See the description of setSegmentsColor() for more information

Definition at line 63 of file phycylinder.h.

Constructor & Destructor Documentation

SegmentColor ( )
inline

Constructor.

Sets color to white

Definition at line 69 of file phycylinder.h.

SegmentColor ( Intervals  i,
QColor  c 
)
inline

Constructor.

Parameters
ithe interval of the cylinder of the given color
cthe color of the segment

Definition at line 81 of file phycylinder.h.

Member Data Documentation

QColor color

The color of the segment.

Definition at line 95 of file phycylinder.h.

Referenced by RenderPhyCylinder::updateRepresentation().

Intervals intervals

The intervals of the cylinder with the given color.

Definition at line 90 of file phycylinder.h.


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