HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GR_Defines.h File Reference
#include <UT/UT_Array.h>
#include <UT/UT_Pair.h>
+ Include dependency graph for GR_Defines.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  GR_ObjectPickFlags
 

Macros

#define GR_DRAW_WIREFRAME   0x01
 
#define GR_DRAW_SHADED   0x02
 

Typedefs

typedef UT_Array< UT_Pair
< UT_Matrix4D, UT_Vector2i > > 
GR_FrustumList
 

Enumerations

enum  GR_RenderVersion { GR_RENDER_UNDEF = 0, GR_RENDER_GL3 = 3, GR_RENDER_GL4 = 4 }
 
enum  GR_ShadingMode {
  GR_BOUNDING_BOX_WIRE, GR_BOUNDING_BOX_SHADED, GR_WIRE, GR_WIRE_GHOST,
  GR_HIDDEN_LINE_INVISIBLE, GR_HIDDEN_LINE_GHOST, GR_FLAT_SHADED, GR_FLAT_WIRE_SHADED,
  GR_SMOOTH_SHADED, GR_SMOOTH_WIRE_SHADED
}
 
enum  GR_RenderMode {
  GR_RENDER_BEAUTY, GR_RENDER_MATERIAL, GR_RENDER_CONSTANT, GR_RENDER_WIREFRAME,
  GR_RENDER_HIDDEN_LINE, GR_RENDER_XRAY_LINE, GR_RENDER_GHOST_LINE, GR_RENDER_MATERIAL_WIREFRAME,
  GR_RENDER_DEPTH, GR_RENDER_DEPTH_CUBE, GR_RENDER_DEPTH_LINEAR, GR_RENDER_MATTE,
  GR_RENDER_XRAY, GR_RENDER_OBJECT_PICK, GR_RENDER_SHADER_AS_IS, GR_RENDER_BBOX,
  GR_RENDER_POST_PASS, GR_RENDER_NUM_BEAUTY_MODES = GR_RENDER_CONSTANT + 1, GR_RENDER_NUM_UTILITY_MODES = GR_RENDER_XRAY - GR_RENDER_DEPTH + 1, GR_RENDER_NUM_WIRE_MODES = GR_RENDER_GHOST_LINE - GR_RENDER_WIREFRAME + 1
}
 
enum  GR_RenderFlags {
  GR_RENDER_FLAG_NONE = 0x00, GR_RENDER_FLAG_FLAT_SHADED = 0x01, GR_RENDER_FLAG_UNLIT = 0x02, GR_RENDER_FLAG_WIRE_OVER = 0x04,
  GR_RENDER_FLAG_FADED = 0x08, GR_RENDER_FLAG_COLOR_OVERRIDE = 0x10, GR_RENDER_FLAG_ALPHA_OVERRIDE = 0x20, GR_RENDER_FLAG_POINTS_ONLY = 0x40,
  GR_RENDER_FLAG_SHADED_CURVES = 0x80, GR_RENDER_FLAG_WIRE_PRIMS_ONLY = 0x100, GR_RENDER_FLAG_USE_SUBDIVISION = 0x200, GR_RENDER_FLAG_POINT_UV_POS = 0x400,
  GR_RENDER_FLAG_VERTEX_UV_POS = 0x800, GR_RENDER_FLAG_UV_POS = 0xC00, GR_RENDER_FLAG_BONE_DEFORM = 0x01000, GR_RENDER_FLAG_BONE_DEFORM_SINGLE = 0x02000,
  GR_RENDER_FLAG_BONE_DEFORM_4 = 0x04000, GR_RENDER_FLAG_BONE_DEFORM_8 = 0x08000, GR_RENDER_FLAG_BONE_DEFORM_12 = 0x10000, GR_RENDER_FLAG_MASK_BONE_DEFORM = 0x1F000,
  GR_RENDER_FLAG_HULL_CLOSURE_SELECT = 0x20000, GR_RENDER_FLAG_HIDE_MATERIALS = 0x40000
}
 
enum  GR_AlphaPass { GR_ALPHA_PASS_OPAQUE, GR_ALPHA_PASS_NORMAL, GR_ALPHA_PASS_ALL }
 
enum  GR_ShadingPass { GR_SHADING_SOLID, GR_SHADING_WIREFRAME, GR_SHADING_ANY }
 
enum  GR_LightingPass { GR_LIGHTING_UNLIT, GR_LIGHTING_LIT, GR_LIGHTING_ANY }
 
enum  GR_ParticleType { GR_PARTICLE_POINTS, GR_PARTICLE_LINES, GR_PARTICLE_DISCS, GR_PARTICLE_PIXELS }
 
enum  GR_Decoration {
  GR_NO_DECORATION = -1, GR_POINT_MARKER, GR_POINT_NUMBER, GR_POINT_NORMAL,
  GR_POINT_UV, GR_POINT_POSITION, GR_POINT_VELOCITY, GR_POINT_COINCIDENT,
  GR_PRIM_NORMAL, GR_PRIM_NUMBER, GR_PRIM_HULL, GR_PRIM_BREAKPOINT,
  GR_PRIM_PROFILE, GR_PRIM_PROFILE_NUMBER, GR_VERTEX_MARKER, GR_VERTEX_NORMAL,
  GR_VERTEX_NUMBER, GR_VERTEX_UV, GR_MAX_DECORATIONS, GR_USER_DECORATION = GR_MAX_DECORATIONS,
  GR_VISUALIZER_MARKER = GR_USER_DECORATION+1
}
 
enum  GR_DecorVisibility { GR_DECOR_ALWAYS_VISIBLE, GR_DECOR_SELECTED_ONLY, GR_DECOR_LOCAL_AREA, GR_DECOR_HOVER }
 
enum  GR_DecorFontSize {
  GR_DECOR_FONT_TINY = 0, GR_DECOR_FONT_SMALL, GR_DECOR_FONT_MEDIUM, GR_DECOR_FONT_LARGE,
  GR_DECOR_FONT_NUM_SIZES
}
 
enum  GR_DecorFontType { GR_DECOR_FONT_FULL =0, GR_DECOR_FONT_FP_DIGITS, GR_DECOR_FONT_INT_DIGITS, GR_DECOR_FONT_NUM_TYPES }
 
enum  GR_DecorationOverride {
  GR_DECOR_OVERRIDE_NONE = 0x0, GR_DECOR_OVERRIDE_POINT = 0x1, GR_DECOR_OVERRIDE_VERTEX = 0x2, GR_DECOR_OVERRIDE_BREAKPOINT = 0x4,
  GR_DECOR_OVERRIDE_EDGE = 0x8, GR_DECOR_OVERRIDE_VELOCITY = 0x10
}
 
enum  GR_DecorRenderFlags {
  GR_DECOR_RENDER_FLAG_NONE = 0x0, GR_DECOR_RENDER_FLAG_DIMMED = 0x1, GR_DECOR_RENDER_FLAG_ACTIVE_INSTANCE_ONLY = 0x2, GR_DECOR_RENDER_FLAG_POINT_UV_POS = 0x10,
  GR_DECOR_RENDER_FLAG_VERTEX_UV_POS = 0x20, GR_DECOR_RENDER_FLAG_UV_POS = 0x30
}
 
enum  GR_SelectMode {
  GR_SELECT_NONE = 0, GR_SELECT_PRIM_PARTIAL = 1, GR_SELECT_PRIM_FULL = 2, GR_SELECT_POINT_PARTIAL = 3,
  GR_SELECT_POINT_FULL = 4, GR_SELECT_VERTEX_PARTIAL = 5, GR_SELECT_VERTEX_FULL = 6
}
 
enum  GR_PickStyle {
  GR_PICK_NONE = 0x0000, GR_PICK_SINGLE = 0x0001, GR_PICK_MULTI_VISIBLE = 0x0010, GR_PICK_MULTI_FRUSTUM = 0x0020,
  GR_PICK_MULTI_FLAG = 0x0030, GR_PICK_POINT_UV_FLAG = 0x0100, GR_PICK_VERTEX_UV_FLAG = 0x0200, GR_PICK_UV_FLAG = 0x0300,
  GR_PICK_SNAP_FLAG = 0x1000, GR_PICK_HIDE_SELECTED = 0x2000, GR_PICK_OUTSIDE = 0x4000, GR_PICK_AS_WIRE = 0x8000
}
 
enum  GR_UpdateReason {
  GR_UNCHANGED = 0x0, GR_GEO_CHANGED = 0x001, GR_GEO_TOPOLOGY_CHANGED = 0x002, GR_GEO_ATTRIB_LIST_CHANGED = 0x004,
  GR_GEO_SELECTION_CHANGED = 0x008, GR_GEO_DETAIL_SWITCHED = 0x010, GR_GEO_PRIMITIVE_CHANGED = 0x020, GR_DISPLAY_OPTIONS_CHANGED = 0x040,
  GR_OBJECT_MODE_CHANGED = 0x080, GR_INSTANCE_PARMS_CHANGED = 0x100, GR_INSTANCE_SELECTION_CHANGED = 0x200, GR_GL_STATE_CHANGED = 0x400,
  GR_GL_VIEW_CHANGED = 0x800, GR_LOD_CHANGED = 0x1000, GR_MATERIALS_CHANGED = 0x2000, GR_MATERIAL_ASSIGNMENT_CHANGED = 0x4000,
  GR_GEO_VISIBILITY_RESTORED = 0x8000, GR_VISUALIZER_NEEDS_REFINE = 0x10000, GR_VISUALIZER_NEEDS_UPDATE = 0x20000, GR_VIEWPORT_CONFIG_CHANGED = 0x40000
}
 
enum  GR_AttribMask {
  GR_NO_ATTRIBS = 0x0, GR_VERTEX_ATTRIB = 0x1, GR_POINT_ATTRIB = 0x2, GR_PRIMITIVE_ATTRIB = 0x4,
  GR_DETAIL_ATTRIB = 0x8, GR_EDGE_ATTRIB = 0x10, GR_BREAKPOINT_ATTRIB = 0x20, GR_ALL_ATTRIBS = 0xFFFFFFFF
}
 
enum  GR_PrimAcceptResult { GR_NOT_PROCESSED, GR_PROCESSED, GR_PROCESSED_NON_EXCLUSIVE }
 
enum  GR_BasePrimType {
  GR_BASE_PRIM_NORMAL, GR_BASE_PRIM_PACKED, GR_BASE_PRIM_PACKED_MESH, GR_BASE_PRIM_INSTANCE,
  GR_BASE_PRIM_FRAGMENT, GR_BASE_PRIM_AGENT_SHAPE, GR_BASE_PRIM_VISUALIZE
}
 
enum  GR_BoundaryMode {
  GR_BOUNDARY_NONE = 0, GR_BOUNDARY_3D = 1, GR_BOUNDARY_UV = 2, GR_BOUNDARY_VIEWPORT = 3,
  GR_BOUNDARY_UV_IN_UV = 4
}
 
enum  GR_AgentWireMode { GR_AGENT_WIRE_LINE = 0, GR_AGENT_WIRE_BONE = 1 }
 

Macro Definition Documentation

#define GR_DRAW_SHADED   0x02

Definition at line 17 of file GR_Defines.h.

#define GR_DRAW_WIREFRAME   0x01

Definition at line 16 of file GR_Defines.h.

Typedef Documentation

Definition at line 357 of file GR_Defines.h.

Enumeration Type Documentation

Enumerator
GR_AGENT_WIRE_LINE 
GR_AGENT_WIRE_BONE 

Definition at line 349 of file GR_Defines.h.

Enumerator
GR_ALPHA_PASS_OPAQUE 
GR_ALPHA_PASS_NORMAL 
GR_ALPHA_PASS_ALL 

Definition at line 107 of file GR_Defines.h.

Enumerator
GR_NO_ATTRIBS 
GR_VERTEX_ATTRIB 
GR_POINT_ATTRIB 
GR_PRIMITIVE_ATTRIB 
GR_DETAIL_ATTRIB 
GR_EDGE_ATTRIB 
GR_BREAKPOINT_ATTRIB 
GR_ALL_ATTRIBS 

Definition at line 303 of file GR_Defines.h.

Enumerator
GR_BASE_PRIM_NORMAL 
GR_BASE_PRIM_PACKED 
GR_BASE_PRIM_PACKED_MESH 
GR_BASE_PRIM_INSTANCE 
GR_BASE_PRIM_FRAGMENT 
GR_BASE_PRIM_AGENT_SHAPE 
GR_BASE_PRIM_VISUALIZE 

Definition at line 327 of file GR_Defines.h.

Enumerator
GR_BOUNDARY_NONE 
GR_BOUNDARY_3D 
GR_BOUNDARY_UV 
GR_BOUNDARY_VIEWPORT 
GR_BOUNDARY_UV_IN_UV 

Definition at line 340 of file GR_Defines.h.

Enumerator
GR_NO_DECORATION 
GR_POINT_MARKER 
GR_POINT_NUMBER 
GR_POINT_NORMAL 
GR_POINT_UV 
GR_POINT_POSITION 
GR_POINT_VELOCITY 
GR_POINT_COINCIDENT 
GR_PRIM_NORMAL 
GR_PRIM_NUMBER 
GR_PRIM_HULL 
GR_PRIM_BREAKPOINT 
GR_PRIM_PROFILE 
GR_PRIM_PROFILE_NUMBER 
GR_VERTEX_MARKER 
GR_VERTEX_NORMAL 
GR_VERTEX_NUMBER 
GR_VERTEX_UV 
GR_MAX_DECORATIONS 
GR_USER_DECORATION 
GR_VISUALIZER_MARKER 

Definition at line 137 of file GR_Defines.h.

Enumerator
GR_DECOR_OVERRIDE_NONE 
GR_DECOR_OVERRIDE_POINT 
GR_DECOR_OVERRIDE_VERTEX 
GR_DECOR_OVERRIDE_BREAKPOINT 
GR_DECOR_OVERRIDE_EDGE 
GR_DECOR_OVERRIDE_VELOCITY 

Definition at line 194 of file GR_Defines.h.

Enumerator
GR_DECOR_FONT_TINY 
GR_DECOR_FONT_SMALL 
GR_DECOR_FONT_MEDIUM 
GR_DECOR_FONT_LARGE 
GR_DECOR_FONT_NUM_SIZES 

Definition at line 175 of file GR_Defines.h.

Enumerator
GR_DECOR_FONT_FULL 
GR_DECOR_FONT_FP_DIGITS 
GR_DECOR_FONT_INT_DIGITS 
GR_DECOR_FONT_NUM_TYPES 

Definition at line 185 of file GR_Defines.h.

Enumerator
GR_DECOR_RENDER_FLAG_NONE 
GR_DECOR_RENDER_FLAG_DIMMED 
GR_DECOR_RENDER_FLAG_ACTIVE_INSTANCE_ONLY 
GR_DECOR_RENDER_FLAG_POINT_UV_POS 
GR_DECOR_RENDER_FLAG_VERTEX_UV_POS 
GR_DECOR_RENDER_FLAG_UV_POS 

Definition at line 205 of file GR_Defines.h.

Enumerator
GR_DECOR_ALWAYS_VISIBLE 
GR_DECOR_SELECTED_ONLY 
GR_DECOR_LOCAL_AREA 
GR_DECOR_HOVER 

Definition at line 167 of file GR_Defines.h.

Enumerator
GR_LIGHTING_UNLIT 
GR_LIGHTING_LIT 
GR_LIGHTING_ANY 

Definition at line 122 of file GR_Defines.h.

Enumerator
GR_PARTICLE_POINTS 
GR_PARTICLE_LINES 
GR_PARTICLE_DISCS 
GR_PARTICLE_PIXELS 

Definition at line 129 of file GR_Defines.h.

Enumerator
GR_PICK_NONE 
GR_PICK_SINGLE 
GR_PICK_MULTI_VISIBLE 
GR_PICK_MULTI_FRUSTUM 
GR_PICK_MULTI_FLAG 
GR_PICK_POINT_UV_FLAG 
GR_PICK_VERTEX_UV_FLAG 
GR_PICK_UV_FLAG 
GR_PICK_SNAP_FLAG 
GR_PICK_HIDE_SELECTED 
GR_PICK_OUTSIDE 
GR_PICK_AS_WIRE 

Definition at line 226 of file GR_Defines.h.

Enumerator
GR_NOT_PROCESSED 
GR_PROCESSED 
GR_PROCESSED_NON_EXCLUSIVE 

Definition at line 320 of file GR_Defines.h.

Enumerator
GR_RENDER_FLAG_NONE 
GR_RENDER_FLAG_FLAT_SHADED 
GR_RENDER_FLAG_UNLIT 
GR_RENDER_FLAG_WIRE_OVER 
GR_RENDER_FLAG_FADED 
GR_RENDER_FLAG_COLOR_OVERRIDE 
GR_RENDER_FLAG_ALPHA_OVERRIDE 
GR_RENDER_FLAG_POINTS_ONLY 
GR_RENDER_FLAG_SHADED_CURVES 
GR_RENDER_FLAG_WIRE_PRIMS_ONLY 
GR_RENDER_FLAG_USE_SUBDIVISION 
GR_RENDER_FLAG_POINT_UV_POS 
GR_RENDER_FLAG_VERTEX_UV_POS 
GR_RENDER_FLAG_UV_POS 
GR_RENDER_FLAG_BONE_DEFORM 
GR_RENDER_FLAG_BONE_DEFORM_SINGLE 
GR_RENDER_FLAG_BONE_DEFORM_4 
GR_RENDER_FLAG_BONE_DEFORM_8 
GR_RENDER_FLAG_BONE_DEFORM_12 
GR_RENDER_FLAG_MASK_BONE_DEFORM 
GR_RENDER_FLAG_HULL_CLOSURE_SELECT 
GR_RENDER_FLAG_HIDE_MATERIALS 

Definition at line 77 of file GR_Defines.h.

Enumerator
GR_RENDER_BEAUTY 
GR_RENDER_MATERIAL 
GR_RENDER_CONSTANT 
GR_RENDER_WIREFRAME 
GR_RENDER_HIDDEN_LINE 
GR_RENDER_XRAY_LINE 
GR_RENDER_GHOST_LINE 
GR_RENDER_MATERIAL_WIREFRAME 
GR_RENDER_DEPTH 
GR_RENDER_DEPTH_CUBE 
GR_RENDER_DEPTH_LINEAR 
GR_RENDER_MATTE 
GR_RENDER_XRAY 
GR_RENDER_OBJECT_PICK 
GR_RENDER_SHADER_AS_IS 
GR_RENDER_BBOX 
GR_RENDER_POST_PASS 
GR_RENDER_NUM_BEAUTY_MODES 
GR_RENDER_NUM_UTILITY_MODES 
GR_RENDER_NUM_WIRE_MODES 

Definition at line 42 of file GR_Defines.h.

Enumerator
GR_RENDER_UNDEF 
GR_RENDER_GL3 
GR_RENDER_GL4 

Definition at line 19 of file GR_Defines.h.

Enumerator
GR_SELECT_NONE 
GR_SELECT_PRIM_PARTIAL 
GR_SELECT_PRIM_FULL 
GR_SELECT_POINT_PARTIAL 
GR_SELECT_POINT_FULL 
GR_SELECT_VERTEX_PARTIAL 
GR_SELECT_VERTEX_FULL 

Definition at line 215 of file GR_Defines.h.

Enumerator
GR_BOUNDING_BOX_WIRE 
GR_BOUNDING_BOX_SHADED 
GR_WIRE 
GR_WIRE_GHOST 
GR_HIDDEN_LINE_INVISIBLE 
GR_HIDDEN_LINE_GHOST 
GR_FLAT_SHADED 
GR_FLAT_WIRE_SHADED 
GR_SMOOTH_SHADED 
GR_SMOOTH_WIRE_SHADED 

Definition at line 27 of file GR_Defines.h.

Enumerator
GR_SHADING_SOLID 
GR_SHADING_WIREFRAME 
GR_SHADING_ANY 

Definition at line 115 of file GR_Defines.h.

Enumerator
GR_UNCHANGED 
GR_GEO_CHANGED 
GR_GEO_TOPOLOGY_CHANGED 
GR_GEO_ATTRIB_LIST_CHANGED 
GR_GEO_SELECTION_CHANGED 
GR_GEO_DETAIL_SWITCHED 
GR_GEO_PRIMITIVE_CHANGED 
GR_DISPLAY_OPTIONS_CHANGED 
GR_OBJECT_MODE_CHANGED 
GR_INSTANCE_PARMS_CHANGED 
GR_INSTANCE_SELECTION_CHANGED 
GR_GL_STATE_CHANGED 
GR_GL_VIEW_CHANGED 
GR_LOD_CHANGED 
GR_MATERIALS_CHANGED 
GR_MATERIAL_ASSIGNMENT_CHANGED 
GR_GEO_VISIBILITY_RESTORED 
GR_VISUALIZER_NEEDS_REFINE 
GR_VISUALIZER_NEEDS_UPDATE 
GR_VIEWPORT_CONFIG_CHANGED 

Definition at line 278 of file GR_Defines.h.