#include <gls_angular_scale.h>
|
DistiAttribDict | _attribDict |
| The attribute dictionary for this class' members.
|
|
The GlsAngularScaleData class. Stores information for the appearance of one set of tick marks.
◆ GlsAngularScaleData() [1/2]
GlsAngularScaleData |
( |
bool |
_active, |
|
|
bool |
_useLineColor, |
|
|
unsigned int |
_ticks, |
|
|
float |
_startAngle, |
|
|
float |
_interval, |
|
|
float |
_length, |
|
|
float |
_thickness, |
|
|
const GlsColor & |
_color |
|
) |
| |
|
inline |
Constructor
- Parameters
-
_active | True if this scale is active. |
_useLineColor | True if this scale draws with line color. |
_ticks | Number of ticks on this scale. |
_startAngle | Angle Start angle in degrees. |
_interval | Interval between ticks in degrees. |
_length | Length of ticks in logical units. |
_thickness | Thickness of ticks in logical units. |
_color | Color to draw ticks if line color is not being used. |
◆ GlsAngularScaleData() [2/2]
Copy constructor
- Parameters
-
src | The object to copy from. |
◆ operator!=()
Inequality operator
- Parameters
-
right | The object to compare. |
- Returns
- Whether or not the objects are not equal.
◆ operator=()
Assignment operator
- Parameters
-
src | The object to copy from. |
- Returns
- the resulting object (this).
◆ operator==()
Equality operator
- Parameters
-
right | The object to compare. |
- Returns
- Whether or not the objects are equal.
◆ ReadValue()
virtual std::istream & ReadValue |
( |
std::istream & |
instr | ) |
|
|
virtual |
Reads this from a stream.
- Parameters
-
instr | The stream to read from. |
- Returns
- The stream in its current state.
◆ WriteValue()
virtual std::ostream & WriteValue |
( |
std::ostream & |
outstr | ) |
|
|
virtual |
Writes this to a stream.
- Parameters
-
outstr | The stream to write to. |
- Returns
- The stream in its current state.
◆ active
True if this scale is active
◆ color
Color to draw ticks if line color is not being used
◆ interval
Interval between ticks in degrees
◆ length
Length of ticks in logical units
◆ startAngle
◆ thickness
Thickness of ticks in logical units
◆ ticks
Number of ticks on this scale
◆ useLineColor
True if this scale draws with line color
The documentation for this class was generated from the following file: