HGlobals.h File Reference

Go to the source code of this file.

Classes

class  HIntRectangle
 
class  HPixelRGB
 The HPixelRGB class is the data type of a rgb pixel. More...
 
class  HPixelRGBA
 The HPixelRGBA class is the data type of a rgba pixel. More...
 
class  HPlane
 The HPlane class is the data type of a plane. More...
 
class  HPlaneKey
 The HPlaneKey class is the data type of a plane that can be used as a key in STL containers. More...
 
class  HPoint
 The HPoint class is the data type of a three-dimensional point. More...
 
class  HPointKey
 

Macros

#define HFileInputResult   HFileIOResult
 
#define HFileOutputResult   HFileIOResult
 
#define HPOINT_EPSILON   (1e-5f)
 HPOINT_EPSILON.
 
#define InputBadFileName   HIO_BadFileName
 
#define InputBadLicense   HIO_BadLicense
 
#define InputBadOptions   HIO_BadOptions
 
#define InputFail   HIO_Fail
 
#define InputLibraryNotFound   HIO_LibraryNotFound
 
#define InputNotHandled   HIO_NotHandled
 
#define InputOK   HIO_OK
 
#define InputVersionMismatch   HIO_VersionMismatch
 
#define LAST_HFileInputResult   InputBadOptions
 Specifies last file output type.
 
#define LAST_HFileOutputResult   OutputBadOptions
 Specifies last file output type.
 
#define LAST_HShadowMode   HShadowHard
 Specifies last shadow mode type.
 
#define LAST_HSignal   HSignalClash
 Specifies last object signal.
 
#define OutputBadFileName   HIO_BadFileName
 
#define OutputBadLicense   HIO_BadLicense
 
#define OutputBadOptions   HIO_BadOptions
 
#define OutputFail   HIO_Fail
 
#define OutputLibraryNotFound   HIO_LibraryNotFound
 
#define OutputNotHandled   HIO_NotHandled
 
#define OutputOK   HIO_OK
 
#define OutputVersionMismatch   HIO_VersionMismatch
 

Typedefs

typedef class HPoint HVector
 The HVector class is the data type of a three-dimensional vector. More...
 

Enumerations

enum  HCutGeometryVisibility { HCutGeometryVisibilityNone = 0x0, HCutGeometryVisibilityFaces = 0x1, HCutGeometryVisibilityEdges = 0x2, HCutGeometryVisibilityAll = HCutGeometryVisibilityFaces | HCutGeometryVisibilityEdges }
 
enum  HFileIOResult {
  HIO_OK = 1, HIO_VersionMismatch = 2, HIO_Fail = 3, HIO_NotHandled = 4,
  HIO_BadFileName = 5, HIO_BadOptions = 6, HIO_BadLicense = 7, HIO_LibraryNotFound = 8
}
 
enum  HRefSelType { RefSelSpriting, RefSelDefault, RefSelOff }
 
enum  HRegionEdgeHighlightMode { NoEdges = 0, AllEdges, PerimeterEdges }
 
enum  HRegionFaceHighlightMode { FacesUnmodified = 0, FacesForcedOn, FacesForcedOff }
 
enum  HSelectionHighlightMode { HighlightDefault, HighlightQuickmoves, InverseTransparency, ColoredInverseTransparency }
 
enum  HShadowMode { HShadowNone = 1, HShadowSoft = 2, HShadowHard = 3 }
 
enum  HSignal {
  HSignalDelete = 1, HSignalCameraPositionChanged = 2, HSignalSelected = 3, HSignalDeSelectedOne = 4,
  HSignalDeSelectedAll = 5, HSignalPaint = 6, HSignalClash = 7, HSignalRenderModeChanged = 8,
  HSignalResize = 9
}
 

Detailed Description

Defines several file I/O and point/vector/pixel datatypes

Typedef Documentation

◆ HVector

typedef class HPoint HVector

The HVector class is the data type of a three-dimensional vector.

The HVector class encapsulates the x, y, and z coordinates of a 3-dimensional vector. HVector simplifies the passing of 3-dimensional vector data to all of the MVO and derived classes. It is widely used by public and internal functions as well as by native HOOPS routines.

Enumeration Type Documentation

◆ HCutGeometryVisibility

cut geometry visibility settings

Enumerator
HCutGeometryVisibilityNone 

No cut geometry will be visible.

HCutGeometryVisibilityFaces 

Faces will be visible for cut geometry.

HCutGeometryVisibilityEdges 

Edges will be visible for cut geometry.

HCutGeometryVisibilityAll 

Both Faces and Edges will be visible.

◆ HFileIOResult

Indicates the result of an attempt to read a file

Enumerator
HIO_OK 

self-explanatory

HIO_VersionMismatch 

self-explanatory

HIO_Fail 

self-explanatory

HIO_NotHandled 

self-explanatory

HIO_BadFileName 

self-explanatory

HIO_BadOptions 

self-explanatory

HIO_BadLicense 

self-explanatory

HIO_LibraryNotFound 

self-explanatory

◆ HRefSelType

Enumerator
RefSelSpriting 

use spriting for reference selection

RefSelDefault 

use whatever the current quick moves preference is

RefSelOff 

do not use quick moves for reference selection

◆ HShadowMode

Shadow Mode

Enumerator
HShadowNone 

no shadow

HShadowSoft 

soft shadow

HShadowHard 

hard shadow

◆ HSignal

enum HSignal

Used for requesting notification from objects when given actions happen. This is for intra-object signalling, not for messages passed to/from UI or OS

Enumerator
HSignalDelete 

self-explantory

HSignalCameraPositionChanged 

self-explantory

HSignalSelected 

self-explantory

HSignalDeSelectedOne 

self-explantory

HSignalDeSelectedAll 

self-explantory

HSignalPaint 

a paint (screen update) has occurred; signal_data is pointer to HRectangle containing window size

HSignalClash 

objects have clashed; signal_data is pointer to StencilProbe object that detected a clash; StencilProbe is deprecated, should this be removed?

HSignalRenderModeChanged 

self-explantory

HSignalResize 

self-explantory