Coordinate

class HPS::Coordinate

The Coordinate class is a concept class that contains information about various coordinate spaces.

Public Types

enum Space

The Space enum is a list of all coordinate spaces used in Visualize.

Values:

enumerator Object

An infinite 3D Cartesian coordinate system local to the object or segment itself.

enumerator World

An infinite 3D Cartesian coordinate system where objects reside after their modelling transformations have been applied.

enumerator Camera

A space defined by a camera’s view of world space with the origin at the camera position, y-axis along the camera’s up vector and z-axis pointing toward the camera target.

enumerator Window

A rectangle ([-1,1] in x and y directions) with the origin at center of the outer window.

enumerator Pixel

The pixel position of the outer window counting from the top-left corner.

enumerator InnerWindow

A rectangle ([-1,1] in x and y directions) with the origin at center of the inner window.

enumerator InnerPixel

The pixel position of the inner window counting from the top-left corner.

enumerator NormalizedInnerWindow

Same as InnerWindow except z is in [0,1] with 0 at the camera limit and 1 at infinity.

enumerator NormalizedInnerPixel

Same as InnerPixel except z is in [0,1] with 0 at the camera limit and 1 at infinity.

enumerator NormalizedWindow

Same as Window except z is in [0,1] with 0 at the camera limit and 1 at infinity.

enumerator NormalizedPixel

Same as Pixel except z is in [0,1] with 0 at the camera limit and 1 at infinity.