VizKit
3.3.7
|
Dimensionless position of asset on stage. More...
#include <VisualStagePosition.h>
Public Member Functions | |
VisualStagePosition () | |
The constructor. | |
~VisualStagePosition () | |
The destructor. | |
VisualStagePosition (const VisualStagePosition &other) | |
Copy constructor. | |
VisualStagePosition & | operator= (const VisualStagePosition &other) |
Assignment operator. | |
bool | operator== (const VisualStagePosition &other) const |
Equality operator. | |
bool | operator!= (const VisualStagePosition &other) |
Inequality operator. | |
virtual VisualStagePosition * | clone (void) const |
Copies the current VisualStagePosition and returns a pointer to a new VisualStagePosition. | |
void | reset (void) |
Resets the values of the stage position to default. | |
Public Attributes | |
HorizontalAlignment | horizontalAlignment |
The horizontal alignment of the box. | |
VerticalAlignment | verticalAlignment |
The vertical alignment of the box. | |
DepthAlignment | depthAlignment |
The depth alignment of the box (z-dimension). | |
double | marginTop |
The top margin of the box. | |
double | marginLeft |
The left margin of the box. | |
double | marginBottom |
The bottom margin of the box. | |
double | marginRight |
The right margin of the box. | |
double | minMarginTop |
The minimum top margin of the box. | |
double | minMarginLeft |
The minimum left margin of the box. | |
double | minMarginBottom |
The minimum bottom margin of the box. | |
double | minMarginRight |
The minimum right margin of the box. | |
double | minWidth |
The minimum width of the box. | |
double | maxWidth |
The maximum width of the box. | |
double | minHeight |
The minimum height of the box. | |
double | maxHeight |
The maximum height of the box. | |
Unit | marginTopUnit |
The measure of the top margin value. | |
Unit | marginLeftUnit |
The measure of the left margin value. | |
Unit | marginRightUnit |
The measure of the right margin value. | |
Unit | marginBottomUnit |
The measure of the bottom margin value. | |
Unit | minMarginTopUnit |
The measure of the minimum top margin value. | |
Unit | minMarginLeftUnit |
The measure of the minimum left margin value. | |
Unit | minMarginRightUnit |
The measure of the minimum right margin value. | |
Unit | minMarginBottomUnit |
The measure of the minimum bottom margin value. | |
Unit | minWidthUnit |
The measure of the minimum width value. | |
Unit | maxWidthUnit |
The measure of the maximum width value. | |
Unit | minHeightUnit |
The measure of the minimum height value. | |
Unit | maxHeightUnit |
The measure of the maximum height value. | |
double | horizontalCoordOffset |
The horizontal offset (measured in coord values). | |
double | verticalCoordOffset |
The vertical offset (measured in coord values). | |
Private Member Functions | |
void | copy (const VisualStagePosition &other) |
Copy method for assignment operator and copy constructor. |
Dimensionless position of asset on stage.
The constructor.
The destructor.
VisualStagePosition::VisualStagePosition | ( | const VisualStagePosition & | other | ) |
Copy constructor.
other | Another VisualStagePosition. |
VisualStagePosition * VisualStagePosition::clone | ( | void | ) | const [virtual] |
Copies the current VisualStagePosition and returns a pointer to a new VisualStagePosition.
void VisualStagePosition::copy | ( | const VisualStagePosition & | other | ) | [private] |
Copy method for assignment operator and copy constructor.
other | Another VisualStagePosition. |
bool VisualStagePosition::operator!= | ( | const VisualStagePosition & | other | ) |
Inequality operator.
other | Another VisualStagePosition. |
VisualStagePosition & VisualStagePosition::operator= | ( | const VisualStagePosition & | other | ) |
Assignment operator.
other | Another VisualStagePosition. |
bool VisualStagePosition::operator== | ( | const VisualStagePosition & | other | ) | const |
Equality operator.
other | Another VisualStagePosition. |
void VisualStagePosition::reset | ( | void | ) |
Resets the values of the stage position to default.
The depth alignment of the box (z-dimension).
The horizontal alignment of the box.
The horizontal offset (measured in coord values).
The bottom margin of the box.
The measure of the bottom margin value.
The left margin of the box.
The measure of the left margin value.
The right margin of the box.
The measure of the right margin value.
The top margin of the box.
The measure of the top margin value.
The maximum height of the box.
The measure of the maximum height value.
The maximum width of the box.
The measure of the maximum width value.
The minimum height of the box.
The measure of the minimum height value.
The minimum bottom margin of the box.
The measure of the minimum bottom margin value.
The minimum left margin of the box.
The measure of the minimum left margin value.
The minimum right margin of the box.
The measure of the minimum right margin value.
The minimum top margin of the box.
The measure of the minimum top margin value.
The minimum width of the box.
The measure of the minimum width value.
The vertical alignment of the box.
The vertical offset (measured in coord values).