BOpcodeHandler.h

Contains data types which are used by BBaseOpcodeHandler.

Content

Classes

BBaseOpcodeHandler

TK_Default

TK_Unavailable

TK_Header

Utility class for managing HSF header information.

TK_File_Info

Handles the TKE_File_Info opcode.

TK_Comment

Handles the TKE_Comment opcode.

TK_Terminator

Handles the TKE_Termination and TKE_Pause opcodes.

TK_Compression

Handles the TKE_Start_Compression and TKE_Stop_Compression opcodes.

Lock_Masks

TK_Open_Segment

Handles the TKE_Open_Segment opcode.

TK_Close_Segment

Handles the TKE_Close_Segment opcode.

TK_Reopen_Segment

Handles the TKE_Reopen_Segment opcode.

TK_Referenced_Segment

Handles the TKE_Inlude_Segment TKE_Named_Style and TKE_Style_Segment opcodes.

TK_Reference

Handles the TKE_Reference opcodes.

TK_Instance

Handles the TKE_Repeat_Object opcode.

TK_Delete_Object

Handles the TKE_Delete_Object opcode.

TK_LOD

Handles the TKE_LOD opcode.

TK_Geometry_Attributes

Handles the TKE_Geometry_Attributes opcode.

TK_Renumber

Handles the TKE_Renumber_Key_Global, TKE_Renumber_Key_Local, and TKE_Priority opcodes.

TK_Tag

Handles the TKE_Tag opcode.

TK_Dictionary

Handles the TKE_Dictionary opcode.

TK_Dictionary_Locater

Handles the TKE_Dictionary_Locater opcode.

TK_Color

Handles the TKE_Color opcode.

channel

TK_Color_RGB

Handles the TKE_Color_RGB opcode.

TK_Color_By_Value

Handles the TKE_Color_By_Value opcode.

TK_Color_By_Index

Handles the TKE_Color_By_Index and TKE_Color_By_Index_16 opcode.

TK_Color_By_FIndex

Handles the TKE_Color_By_FIndex opcode.

TK_Color_Map

Handles the TKE_Color_Map opcode.

TK_PBR

Handles the TKE_PBR opcode.

TK_Animation

TK_Callback

Handles the TKE_Callback opcode.

TK_Rendering_Options

Handles the TKE_Rendering_Options opcode.

TK_Heuristics

Handles the TKE_Heuristics opcode.

TK_Geometry_Options

Handles the TKE_Geometry_Options opcode.

TK_Visibility

Handles the TKE_Visibility opcode.

TK_Selectability

Handles the TKE_Selectability opcode.

TK_Matrix

Handles the TKE_Modelling_Matrix and TKE_Texture_Matrix opcodes.

TK_Enumerated

TK_Size

TK_Linear_Pattern

TK_Named

TK_Streaming

TK_Conditions

Handles the TKE_Conditions opcode.

TK_Conditional_Action

Handles the TKE_Conditional_Action opcode.

TK_User_Options

Handles the TKE_User_Options opcode.

TK_Unicode_Options

Handles the TKE_Unicode_Options opcode.

TK_User_Index

Handles the TKE_User_Index opcode.

TK_User_Index_Data

Handles the TKE_User_Index opcode.

TK_User_Value

Handles the TKE_User_Value opcode.

TK_Camera

Handles the TKE_Camera opcode.

TK_Window

Handles the TKE_Window opcode.

TK_Text_Font

Handles the TKE_Text_Font opcode.

TK_Bounding

Handles the TKE_Bounding and TKE_Bounding_Info opcodes.

TK_Point

Handles the TKE_Marker, TKE_Text_Path TKE_Distant_Light, and TKE_Local_Light opcodes.

TK_Line

Handles the TKE_Line opcode.

TK_Polypoint

Handles the TKE_Polyline and TKE_Polygon opcodes.

TK_NURBS_Curve

Handles the TKE_NURBS_Curve opcode.

HT_NURBS_Trim

Does not handle any top level opcodes, but rather only the trim types allowable on nurbs surfaces.

TK_NURBS_Surface

Handles the TKE_NURBS_Surface opcode.

TK_Area_Light

Handles the TKE_Area_Light opcode.

TK_Spot_Light

Handles the TKE_Spot_Light opcode.

TK_Cutting_Plane

Handles the TKE_Cutting_Plane opcode.

TK_Circle

Handles the TKE_Circle, TKE_Circular_Arc, TKE_Circular_Chord and TKE_Circular_Wedge opcodes.

TK_Ellipse

Handles the TKE_Ellipse and TKE_Elliptical_Arc opcodes.

TK_Sphere

Handles the TKE_Sphere opcode.

TK_Cylinder

Handles the TKE_Cylinder opcode.

TK_PolyCylinder

Handles the TKE_PolyCylinder opcode.

TK_Grid

Handles the TKE_Grid opcode.

TK_Text

Handles the TKE_Text and TKE_Text_With_Encoding opcodes.

TK_Font

Handles the TKE_Font opcode.

TK_Image

Handles the TKE_Image opcode.

TK_Texture

Handles the TKE_Texture opcode.

TK_Custom_Shader_Definition

Handles the TKE_Custom_Shader_Definition opcode.

TK_Custom_Shader_Texture

Handles the TKE_Custom_Shader_Texture opcode.

TK_Custom_Shader_Sampler

Handles the TKE_Custom_Shader_Sampler opcode.

TK_Custom_Shader

Handles the TKE_Custom_Shader opcode.

TK_Thumbnail

Handles the TKE_Thumbnail opcode.

TK_Glyph_Definition

Handles the TKE_Glyph_Definition opcode.

TK_Shape_Definition

Handles the TKE_Shape_Definition opcode.

TK_Named_Style_Def

Handles the TKE_Named_Style_Def opcode.

TK_Line_Style

Handles the TKE_Line_Style opcode.

TK_Clip_Rectangle

Handles the TKE_Clip_Rectangle opcode.

TK_Clip_Region

Handles the TKE_Clip_Region opcodes.

TK_Complex_Clip_Region

Handles the TKE_Complex_Clip_Region opcodes.

TK_User_Data

Handles the TKE_Start_User_Data opcode.

TK_Material

Handles the TKE_Material opcode.

TK_XML

Handles the TKE_XML opcode.

TK_URL

Handles the TKE_URL opcodes.

TK_External_Reference

Handles the TKE_External_Reference opcodes.

TK_External_Reference_Unicode

Handles the TKE_External_Reference_Unicode opcodes.

TK_Image_XRef

Handles the TKE_Image_XRef opcodes.

Data Structures

TK_Character_Attribute

Macro definitions

POINTER_SIZED_INT

POINTER_SIZED_UINT

IMPLEMENT_CLONE

macro to simplify normal implementation of the Clone function

IMPLEMENT_CLONE_OPCODE

a version of IMPLEMENT_CLONE for the classes that need to know the opcode

TKLOD_ESCAPE

terminates the list of all LOD levels. TKE_Termination could not be used, since 0 is a valid value for LOD level.

NC_HAS_WEIGHTS

an array of floats for the weights is specified with the TK_NURBS_Curve

NC_HAS_KNOTS

an array of floats for the knots is specified with the TK_NURBS_Curve

NC_HAS_START

a float is specified for where the TK_NURBS_Curve starts in parametric [0,1] space

NC_HAS_END

a float is specified for where the TK_NURBS_Curve ends in parametric [0,1] space

NS_HAS_WEIGHTS

an array of floats for the weights is specified with the TK_NURBS_Surface

NS_HAS_KNOTS

an array of floats for the knots is specified with the TK_NURBS_Surface

NS_HAS_TRIMS

the TK_NURBS_Surface contains a list of trims

NS_TRIM_END

terminates an NS_TRIM_COLLECTION if one is active, otherwise terminates the list of trims

NS_TRIM_POLY

the next trim is a polyline (closed automatically if not already a closed loop)

NS_TRIM_CURVE

the next trim is a nurbs curve in parametric space

NS_TRIM_COLLECTION

all trim objects up to the next NS_TRIM_END should be combined as one.

NS_TRIM_LAST_KNOWN_TYPE

the last known trim type defined as of the current version of the toolkit

NS_TRIM_KEEP

instead of the usual cutting away the enclosed area, cut away everything but

NS_TRIM_HAS_WEIGHTS

applies only to trims of type NS_TRIM_CURVE: an array of floats for the weights is specified with the trim curve

NS_TRIM_HAS_KNOTS

applies only to trims of type NS_TRIM_CURVE: an array of floats for the knots is specified with the trim curve

Macro definitions

POINTER_SIZED_INT
POINTER_SIZED_UINT
IMPLEMENT_CLONE(class_name)

macro to simplify normal implementation of the Clone function

IMPLEMENT_CLONE_OPCODE(class_name)

a version of IMPLEMENT_CLONE for the classes that need to know the opcode

TKLOD_ESCAPE

terminates the list of all LOD levels. TKE_Termination could not be used, since 0 is a valid value for LOD level.

NC_HAS_WEIGHTS

an array of floats for the weights is specified with the TK_NURBS_Curve

NC_HAS_KNOTS

an array of floats for the knots is specified with the TK_NURBS_Curve

NC_HAS_START

a float is specified for where the TK_NURBS_Curve starts in parametric [0,1] space

NC_HAS_END

a float is specified for where the TK_NURBS_Curve ends in parametric [0,1] space

NS_HAS_WEIGHTS

an array of floats for the weights is specified with the TK_NURBS_Surface

NS_HAS_KNOTS

an array of floats for the knots is specified with the TK_NURBS_Surface

NS_HAS_TRIMS

the TK_NURBS_Surface contains a list of trims

NS_TRIM_END

terminates an NS_TRIM_COLLECTION if one is active, otherwise terminates the list of trims

NS_TRIM_POLY

the next trim is a polyline (closed automatically if not already a closed loop)

NS_TRIM_CURVE

the next trim is a nurbs curve in parametric space

NS_TRIM_COLLECTION

all trim objects up to the next NS_TRIM_END should be combined as one.

NS_TRIM_LAST_KNOWN_TYPE

the last known trim type defined as of the current version of the toolkit

NS_TRIM_KEEP

instead of the usual cutting away the enclosed area, cut away everything but

NS_TRIM_HAS_WEIGHTS

applies only to trims of type NS_TRIM_CURVE: an array of floats for the weights is specified with the trim curve

NS_TRIM_HAS_KNOTS

applies only to trims of type NS_TRIM_CURVE: an array of floats for the knots is specified with the trim curve