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

#include <hps.h>

Public Types

enum  Handedness : uint32_t {
  Handedness::None,
  Handedness::Left,
  Handedness::Right
}
 Handedness is used to define the front face of a polygon as well as the orientation of the z-axis relative to the x-y plane. More...
 
enum  Overlay : uint32_t {
  Overlay::None,
  Overlay::Default,
  Overlay::WithZValues,
  Overlay::InPlace
}
 Enumeration of the various overlay modes. More...
 
enum  ClipOperation : uint32_t {
  ClipOperation::Keep,
  ClipOperation::Remove
}
 Enumerates the clip region operation types. More...
 
enum  ClipSpace : uint32_t {
  ClipSpace::Window,
  ClipSpace::World,
  ClipSpace::Object
}
 Enumerates the coordinate spaces types for clip regions. More...
 

Private Member Functions

 Drawing ()
 

Member Enumeration Documentation

◆ ClipOperation

enum HPS::Drawing::ClipOperation : uint32_t
strong

Enumerates the clip region operation types.

Enumerator
Keep 

The geometry inside the clip region is drawn.

Everything outside of it is clipped.

Remove 

The geometry outside the clip region is drawn.

Everything inside of it is clipped.

◆ ClipSpace

enum HPS::Drawing::ClipSpace : uint32_t
strong

Enumerates the coordinate spaces types for clip regions.

Enumerator
Window 

The clip region is specified in window coordinates.

World 

The clip region is specified in world coordinated.

Object 

The clip region is specified in object coordinated.

◆ Handedness

enum HPS::Drawing::Handedness : uint32_t
strong

Handedness is used to define the front face of a polygon as well as the orientation of the z-axis relative to the x-y plane.

Enumerator
None 

No Handedness.

Left 

Left Handed.

Right 

Right Handed.

◆ Overlay

enum HPS::Drawing::Overlay : uint32_t
strong

Enumeration of the various overlay modes.

Enumerator
None 

No overlay will be used.

If geometry is moved, edited or highlighted, a full screen redraw will be triggered on the subsequent update.

Default 

Any geometry in a segment with this mode set will be redrawn on each update and it will appear on top of the scene regardless of whether it should appear behind other geometry.

This is the most efficient overlay mode.

WithZValues 

Any geometry in a segment with this mode set will be drawn on each update and it will be positioned correctly with respect to other geometry within the scene.

This is the most accurate overlay mode, but is not as efficient as NormalOverlay.

InPlace 

This setting is useful when you are applying a transparent highlight style to overlay geometry.

This setting suppresses the drawing of the geometry, instead drawing the highlight itself in its place. If you are not using a transparent highlight style, this setting has no visible effect. This setting is slightly more computationally expensive than the other overlay settings.

Constructor & Destructor Documentation

◆ Drawing()

HPS::Drawing::Drawing ( )
inlineprivate

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