This is the Line Class. More...
#include <hps.h>
Public Types | |
| enum | CoordinateSpace : uint32_t { CoordinateSpace::Object, CoordinateSpace::World, CoordinateSpace::NormalizedInnerWindow, CoordinateSpace::NormalizedInnerPixel } |
| The CoordinateSpace enum is a list of all coordinate spaces used in Visualize. More... | |
| enum | SizeUnits : uint32_t { SizeUnits::ScaleFactor, SizeUnits::ObjectSpace, SizeUnits::SubscreenRelative, SizeUnits::WindowRelative, SizeUnits::WorldSpace, SizeUnits::Points, SizeUnits::Pixels } |
| Line Size Units. More... | |
Private Member Functions | |
| Line () | |
This is the Line Class.
|
strong |
The CoordinateSpace enum is a list of all coordinate spaces used in Visualize.
These correspond to HPS::Coordinate::Space
| Enumerator | |
|---|---|
| Object |
|
| World |
|
| NormalizedInnerWindow | |
| NormalizedInnerPixel | |
|
strong |
Line Size Units.
| Enumerator | |
|---|---|
| ScaleFactor | A unitless linear scaling factor. A value of 2.0 will cause lines to be rendered twice as thick. A value of 1.0 will result in a visually pleasing device-dependent line weight. A value of 0 will result in the minimal weight line supported by the device. |
| ObjectSpace | Object space units ignoring any scaling components in modelling matrices. |
| SubscreenRelative | Fraction of the height of the outermost window. |
| WindowRelative | Fraction of the height of the local window. |
| WorldSpace | Object space units including any scaling components in modelling matrices and cameras. |
| Points | Points units typically used for text size. 1 point corresponds to 1/72 inch. |
| Pixels | Number of pixels. |
|
inlineprivate |