Hoops Visualize HPS  version 2018-SP2
Hoops Visualize HPS 3D Rendering Engine
Looking for a senior C++ dev?
I'm looking for work. Hire me!
HPS::Coordinate Class Reference

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

#include <hps.h>

Public Types

enum  Space : uint32_t {
  Space::Object,
  Space::World,
  Space::Camera,
  Space::Window,
  Space::Pixel,
  Space::InnerWindow,
  Space::InnerPixel,
  Space::NormalizedInnerWindow,
  Space::NormalizedInnerPixel,
  Space::NormalizedWindow,
  Space::NormalizedPixel
}
 The Space enum is a list of all coordinate spaces used in Visualize. More...
 

Private Member Functions

 Coordinate ()
 

Detailed Description

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

Member Enumeration Documentation

◆ Space

enum HPS::Coordinate::Space : uint32_t
strong

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

Enumerator
Object 

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

World 

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

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.

Window 

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

Pixel 

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

InnerWindow 

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

InnerPixel 

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

NormalizedInnerWindow 

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

NormalizedInnerPixel 

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

NormalizedWindow 

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

NormalizedPixel 

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

Constructor & Destructor Documentation

◆ Coordinate()

HPS::Coordinate::Coordinate ( )
inlineprivate

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