BOpcodeHandler.h

Macro Definitions

POINTER_SIZED_INT

POINTER_SIZED_UINT

IMPLEMENT_CLONE

IMPLEMENT_CLONE_OPCODE

TKLOD_ESCAPE

NC_HAS_WEIGHTS

NC_HAS_KNOTS

NC_HAS_START

NC_HAS_END

NS_HAS_WEIGHTS

NS_HAS_KNOTS

NS_HAS_TRIMS

NS_TRIM_END

NS_TRIM_POLY

NS_TRIM_CURVE

NS_TRIM_COLLECTION

NS_TRIM_LAST_KNOWN_TYPE

NS_TRIM_KEEP

NS_TRIM_HAS_WEIGHTS

NS_TRIM_HAS_KNOTS

Types

BBaseOpcodeHandler

TK_Default

TK_Unavailable

TK_Header

TK_File_Info

TK_Comment

TK_Terminator

TK_Compression

Lock_Masks

TK_Open_Segment

TK_Close_Segment

TK_Reopen_Segment

TK_Referenced_Segment

TK_Reference

TK_Instance

TK_Delete_Object

TK_LOD

TK_Geometry_Attributes

TK_Renumber

TK_Tag

TK_Dictionary

TK_Dictionary_Locater

TK_Color

TK_Color_RGB

TK_Color_By_Value

TK_Color_By_Index

TK_Color_By_FIndex

TK_Color_Map

TK_PBR

TK_Animation

TK_Callback

TK_Rendering_Options

TK_Heuristics

TK_Geometry_Options

TK_Visibility

TK_Selectability

TK_Matrix

TK_Enumerated

TK_Size

TK_Linear_Pattern

TK_Named

TK_Streaming

TK_Conditions

TK_Conditional_Action

TK_User_Options

TK_Unicode_Options

TK_User_Index

TK_User_Index_Data

TK_User_Value

TK_Camera

TK_Window

TK_Text_Font

TK_Bounding

TK_Point

TK_Line

TK_Polypoint

TK_NURBS_Curve

HT_NURBS_Trim

TK_NURBS_Surface

TK_Area_Light

TK_Spot_Light

TK_Cutting_Plane

TK_Circle

TK_Ellipse

TK_Sphere

TK_Cylinder

TK_PolyCylinder

TK_Grid

TK_Character_Attribute

TK_Text

TK_Font

TK_Image

TK_Texture

TK_Custom_Shader_Definition

TK_Custom_Shader_Texture

TK_Custom_Shader_Sampler

TK_Custom_Shader

TK_Thumbnail

TK_Glyph_Definition

TK_Shape_Definition

TK_Named_Style_Def

TK_Line_Style

TK_Clip_Rectangle

TK_Clip_Region

TK_Complex_Clip_Region

TK_User_Data

TK_Material

TK_XML

TK_URL

TK_External_Reference

TK_External_Reference_Unicode

TK_Image_XRef

Fields

int const

TK_Image_Bytes_Per_Pixel

Detailed Description

Macro Definition

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

Field Documentation

int const TK_Image_Bytes_Per_Pixel[]

Specifies the number of bytes per pixel for each format.