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::Edge Class Reference

This is the Edge Class. More...

#include <hps.h>

Public Types

enum  SizeUnits : uint32_t {
  SizeUnits::ScaleFactor,
  SizeUnits::ObjectSpace,
  SizeUnits::SubscreenRelative,
  SizeUnits::WindowRelative,
  SizeUnits::WorldSpace,
  SizeUnits::Points,
  SizeUnits::Pixels
}
 Edge Size Units. More...
 

Private Member Functions

 Edge ()
 

Detailed Description

This is the Edge Class.

Member Enumeration Documentation

◆ SizeUnits

enum HPS::Edge::SizeUnits : uint32_t
strong

Edge Size Units.

Enumerator
ScaleFactor 

A unitless linear scaling factor.

A value of 2.0 will cause edges to be rendered twice as thick. A value of 1.0 will result in a visually pleasing device-dependent edge weight. A value of 0 will result in the minimal weight edge 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.

Constructor & Destructor Documentation

◆ Edge()

HPS::Edge::Edge ( )
inlineprivate

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