Public Member Functions | Protected Attributes | List of all members
TK_Rendering_Options Class Reference

Handles the TKE_Rendering_Options opcode. More...

#include <BOpcodeHandler.h>

Public Member Functions

TK_Status Clone (BStreamFileToolkit &tk, BBaseOpcodeHandler **handler) const
 
float const * GetAmbientUpVector () const
 
int GetAntiAlias () const
 
int GetBufferOptionsMask () const
 
int GetBufferOptionsValue () const
 
int GetBufferSizeLimit () const
 
int GetColorBackForcedLockMask () const
 
int GetColorBackForcedLockValue () const
 
int GetColorBackLockMask () const
 
int GetColorBackLockValue () const
 
int GetColorEdgeContrastForcedLockMask () const
 
int GetColorEdgeContrastForcedLockValue () const
 
int GetColorEdgeContrastLockMask () const
 
int GetColorEdgeContrastLockValue () const
 
int GetColorEdgeForcedLockMask () const
 
int GetColorEdgeForcedLockValue () const
 
int GetColorEdgeLockMask () const
 
int GetColorEdgeLockValue () const
 
int GetColorFaceContrastForcedLockMask () const
 
int GetColorFaceContrastForcedLockValue () const
 
int GetColorFaceContrastLockMask () const
 
int GetColorFaceContrastLockValue () const
 
int GetColorFaceForcedLockMask () const
 
int GetColorFaceForcedLockValue () const
 
int GetColorFaceLockMask () const
 
int GetColorFaceLockValue () const
 
int GetColorForcedLockMask () const
 
int GetColorForcedLockValue () const
 
int GetColorLineContrastForcedLockMask () const
 
int GetColorLineContrastForcedLockValue () const
 
int GetColorLineContrastLockMask () const
 
int GetColorLineContrastLockValue () const
 
int GetColorLineForcedLockMask () const
 
int GetColorLineForcedLockValue () const
 
int GetColorLineLockMask () const
 
int GetColorLineLockValue () const
 
int GetColorLockMask () const
 
int GetColorLockValue () const
 
int GetColorMarkerContrastForcedLockMask () const
 
int GetColorMarkerContrastForcedLockValue () const
 
int GetColorMarkerContrastLockMask () const
 
int GetColorMarkerContrastLockValue () const
 
int GetColorMarkerForcedLockMask () const
 
int GetColorMarkerForcedLockValue () const
 
int GetColorMarkerLockMask () const
 
int GetColorMarkerLockValue () const
 
int GetColorTextContrastForcedLockMask () const
 
int GetColorTextContrastForcedLockValue () const
 
int GetColorTextContrastLockMask () const
 
int GetColorTextContrastLockValue () const
 
int GetColorTextForcedLockMask () const
 
int GetColorTextForcedLockValue () const
 
int GetColorTextLockMask () const
 
int GetColorTextLockValue () const
 
int GetColorVertexContrastForcedLockMask () const
 
int GetColorVertexContrastForcedLockValue () const
 
int GetColorVertexContrastLockMask () const
 
int GetColorVertexContrastLockValue () const
 
int GetColorVertexForcedLockMask () const
 
int GetColorVertexForcedLockValue () const
 
int GetColorVertexLockMask () const
 
int GetColorVertexLockValue () const
 
int GetColorWindowContrastForcedLockMask () const
 
int GetColorWindowContrastForcedLockValue () const
 
int GetColorWindowContrastLockMask () const
 
int GetColorWindowContrastLockValue () const
 
int GetColorWindowForcedLockMask () const
 
int GetColorWindowForcedLockValue () const
 
int GetColorWindowLockMask () const
 
int GetColorWindowLockValue () const
 
int GetCutGeometry () const
 
int GetCutGeometryColorMatch () const
 
int GetCutGeometryLevel () const
 
float GetCutGeometryTolerance () const
 
char const * GetCylinderTessellations () const
 
char * GetCylinderTessellations ()
 
int GetDebug () const
 
float const * GetDepthRange () const
 
float const * GetDiffuseTextureTintColor () const
 
int GetDisplayListLevel () const
 
int GetFaceDisplacement () const
 
float const * GetFogLimits () const
 
int GetForcedLockMask () const
 
int GetForcedLockValue () const
 
int GetGeneralDisplacement () const
 
int GetGeometryOptionsMask () const
 
float GetHardEdgeAngle () const
 
float GetHlrDimFactor () const
 
float GetHlrFaceDisplacement () const
 
float GetHlrFaceSortingAlgorithm () const
 
int GetHlrLinePattern () const
 
int GetHlrOptions () const
 
int GetHSR () const
 
float const * GetImageScale () const
 
float const * GetImageTintColor () const
 
int GetJoinCutoffAngle () const
 
int GetLockMask () const
 
int GetLockValue () const
 
int GetLodAlgorithm () const
 
float const * GetLodBounding () const
 
int GetLodClamp () const
 
float const * GetLodCutoffs () const
 
float * GetLodCutoffs ()
 
int GetLodFallback () const
 
int GetLodMaxDegree () const
 
int GetLodMinimumTriangleCount () const
 
int GetLodNumCutoffs () const
 
int GetLodNumLevels () const
 
int GetLodNumRatios () const
 
int GetLodNumThresholds () const
 
int GetLodOptionsMask () const
 
int GetLodOptionsValue () const
 
float const * GetLodRatios () const
 
float * GetLodRatios ()
 
float const * GetLodThresholds () const
 
float * GetLodThresholds ()
 
int GetLodThresholdType () const
 
float GetLodTolerance () const
 
int GetMask (int index=0) const
 
int GetMaskTransform () const
 
int GetNumCylinderTessellations () const
 
int GetNumSphereTessellations () const
 
int GetNURBSCurveBudget () const
 
int GetNURBSCurveContinuedBudget () const
 
int GetNURBSOptionsMask () const
 
int GetNURBSOptionsValue () const
 
int GetNURBSSurfaceBudget () const
 
int GetNURBSSurfaceTrimBudget () const
 
int GetQuantization () const
 
float const * GetScreenRange () const
 
int GetShadowMap () const
 
int GetShadowMapResolution () const
 
int GetShadowMapSamples () const
 
int GetSimpleReflection () const
 
float GetSimpleReflectionOpacity () const
 
float const * GetSimpleReflectionPlane () const
 
int GetSimpleReflectionVisibilityValue () const
 
int GetSimpleShadow () const
 
int GetSimpleShadowBlur () const
 
float const * GetSimpleShadowColor () const
 
float const * getSimpleShadowLight () const
 
float GetSimpleShadowOpacity () const
 
float const * GetSimpleShadowPlane () const
 
int GetSimpleShadowResolution () const
 
char const * GetSphereTessellations () const
 
char * GetSphereTessellations ()
 
float GetStereoDistance () const
 
float GetStereoSeparation () const
 
int GetTechnology () const
 
int GetTessellationMask () const
 
int GetTransparentHSR () const
 
int GetTransparentStyle () const
 
int GetValue (int index=0) const
 
float GetVertexDecimation () const
 
int GetVertexDisplacement () const
 
int GetVisibilityForcedLockMask () const
 
int GetVisibilityForcedLockValue () const
 
int GetVisibilityLockMask () const
 
int GetVisibilityLockValue () const
 
TK_Status Read (BStreamFileToolkit &tk)
 
TK_Status ReadAscii (BStreamFileToolkit &tk)
 Deprecated.
 
void Reset ()
 
void SetAmbientUpVector (float x, float y, float z)
 
void SetAmbientUpVector (float const v[])
 
void SetAntiAlias (int m)
 
void SetBufferOptionsMask (int v)
 
void SetBufferOptionsValue (int v)
 
void SetBufferSizeLimit (int l)
 
void SetColorBackForcedLockMask (int m)
 
void SetColorBackForcedLockValue (int v)
 
void SetColorBackLockMask (int m)
 
void SetColorBackLockValue (int v)
 
void SetColorEdgeContrastForcedLockMask (int m)
 
void SetColorEdgeContrastForcedLockValue (int v)
 
void SetColorEdgeContrastLockMask (int m)
 
void SetColorEdgeContrastLockValue (int v)
 
void SetColorEdgeForcedLockMask (int m)
 
void SetColorEdgeForcedLockValue (int v)
 
void SetColorEdgeLockMask (int m)
 
void SetColorEdgeLockValue (int v)
 
void SetColorFaceContrastForcedLockMask (int m)
 
void SetColorFaceContrastForcedLockValue (int v)
 
void SetColorFaceContrastLockMask (int m)
 
void SetColorFaceContrastLockValue (int v)
 
void SetColorFaceForcedLockMask (int m)
 
void SetColorFaceForcedLockValue (int v)
 
void SetColorFaceLockMask (int m)
 
void SetColorFaceLockValue (int v)
 
void SetColorForcedLockMask (int m)
 
void SetColorForcedLockValue (int v)
 
void SetColorLineContrastForcedLockMask (int m)
 
void SetColorLineContrastForcedLockValue (int v)
 
void SetColorLineContrastLockMask (int m)
 
void SetColorLineContrastLockValue (int v)
 
void SetColorLineForcedLockMask (int m)
 
void SetColorLineForcedLockValue (int v)
 
void SetColorLineLockMask (int m)
 
void SetColorLineLockValue (int v)
 
void SetColorLockMask (int m)
 
void SetColorLockValue (int v)
 
void SetColorMarkerContrastForcedLockMask (int m)
 
void SetColorMarkerContrastForcedLockValue (int v)
 
void SetColorMarkerContrastLockMask (int m)
 
void SetColorMarkerContrastLockValue (int v)
 
void SetColorMarkerForcedLockMask (int m)
 
void SetColorMarkerForcedLockValue (int v)
 
void SetColorMarkerLockMask (int m)
 
void SetColorMarkerLockValue (int v)
 
void SetColorTextContrastForcedLockMask (int m)
 
void SetColorTextContrastForcedLockValue (int v)
 
void SetColorTextContrastLockMask (int m)
 
void SetColorTextContrastLockValue (int v)
 
void SetColorTextForcedLockMask (int m)
 
void SetColorTextForcedLockValue (int v)
 
void SetColorTextLockMask (int m)
 
void SetColorTextLockValue (int v)
 
void SetColorVertexContrastForcedLockMask (int m)
 
void SetColorVertexContrastForcedLockValue (int v)
 
void SetColorVertexContrastLockMask (int m)
 
void SetColorVertexContrastLockValue (int v)
 
void SetColorVertexForcedLockMask (int m)
 
void SetColorVertexForcedLockValue (int v)
 
void SetColorVertexLockMask (int m)
 
void SetColorVertexLockValue (int v)
 
void SetColorWindowContrastForcedLockMask (int m)
 
void SetColorWindowContrastForcedLockValue (int v)
 
void SetColorWindowContrastLockMask (int m)
 
void SetColorWindowContrastLockValue (int v)
 
void SetColorWindowForcedLockMask (int m)
 
void SetColorWindowForcedLockValue (int v)
 
void SetColorWindowLockMask (int m)
 
void SetColorWindowLockValue (int v)
 
void SetCutGeometry (int m)
 
void SetCutGeometryColorMatch (int m)
 
void SetCutGeometryLevel (int m)
 
void SetCutGeometryTolerance (float m)
 
void SetCylinderTessellation (int n)
 
void SetCylinderTessellations (int c, char const *n=0)
 
void SetDebug (int d)
 
void SetDepthRange (float n, float f)
 
void SetDepthRange (float const l[])
 
void SetDiffuseTextureTintColor (float r, float g, float b)
 
void SetDiffuseTextureTintColor (float const rgb[])
 
void SetDisplayListLevel (int m)
 
void SetFaceDisplacement (int d)
 
void SetFogLimits (float n, float f)
 
void SetFogLimits (float const l[])
 
void SetForcedLockMask (int m)
 
void SetForcedLockValue (int v)
 
void SetGeneralDisplacement (int d)
 
void SetGeometryOptionsMask (int m)
 
void SetHardEdgeAngle (int m)
 
void SetHlrDimFactor (float d)
 
void SetHlrFaceDisplacement (float d)
 
void SetHlrFaceSortingAlgorithm (int a)
 
void SetHlrLinePattern (int p)
 
void SetHlrOptions (int o)
 
void SetHSR (int h)
 
void SetImageScale (float x, float y)
 
void SetImageScale (float const s[])
 
void SetImageTintColor (float r, float g, float b)
 
void SetImageTintColor (float const rgb[])
 
void SetJoinCutoffAngle (int d)
 
void SetLockMask (int m)
 
void SetLockValue (int v)
 
void SetLodAlgorithm (int v)
 
void SetLodBounding (float x1, float y1, float z1, float x2, float y2, float z2)
 
void SetLodBounding (float const s[], float const e[])
 
void SetLodBounding (float const p[])
 
void SetLodClamp (int v)
 
void SetLodCutoff (float r)
 
void SetLodCutoffs (int c, float const r[]=0)
 
void SetLodFallback (int v)
 
void SetLodMaxDegree (int v)
 
void SetLodMinimumTriangleCount (int v)
 
void SetLodNumLevels (int v)
 
void SetLodOptionsMask (int v)
 
void SetLodOptionsValue (int v)
 
void SetLodRatio (float r)
 
void SetLodRatios (int c, float const r[]=0)
 
void SetLodThreshold (float r)
 
void SetLodThresholds (int c, float const r[]=0)
 
void SetLodThresholdType (int v)
 
void SetLodTolerance (float v)
 
void SetMask (int m0, int m1=0, int m2=0)
 
void SetMaskTransform (int m)
 
void SetNURBSCurveBudget (int b)
 
void SetNURBSCurveContinuedBudget (int b)
 
void SetNURBSOptionsMask (int m)
 
void SetNURBSOptionsValue (int v)
 
void SetNURBSSurfaceBudget (int b)
 
void SetNURBSSurfaceTrimBudget (int b)
 
void SetQuantization (int q)
 
void SetScreenRange (float l, float r, float b, float t)
 
void SetScreenRange (float const l[])
 
void SetShadowMap (int m)
 
void SetShadowMapResolution (int m)
 
void SetShadowMapSamples (int m)
 
void SetSimpleReflection (int m)
 
void SetSimpleReflectionOpacity (float o)
 
void SetSimpleReflectionPlane (float a, float b, float c, float d)
 
void SetSimpleReflectionPlane (float const p[])
 
void SetSimpleReflectionVisibilityMask (int m)
 
void SetSimpleShadow (int m)
 
void SetSimpleShadowBlur (int m)
 
void SetSimpleShadowColor (float r, float g, float b)
 
void SetSimpleShadowColor (float const rgb[])
 
void SetSimpleShadowLight (float x, float y, float z)
 
void SetSimpleShadowLight (float const l[])
 
void SetSimpleShadowOpacity (float o)
 
void SetSimpleShadowPlane (float a, float b, float c, float d)
 
void SetSimpleShadowPlane (float const p[])
 
void SetSimpleShadowResolution (int m)
 
void SetSphereTessellation (int n)
 
void SetSphereTessellations (int c, char const *n=0)
 
void SetStereoDistance (float d)
 
void SetStereoSeparation (float s)
 
void SetTechnology (int t)
 
void SetTessellationMask (int m)
 
void SetTransparentHSR (int t)
 
void SetTransparentStyle (int s)
 
void SetValue (int v0, int v1=0, int v2=0)
 
void SetVertexDecimation (float f)
 
void SetVertexDisplacement (int d)
 
void SetVisibilityForcedLockMask (int m)
 
void SetVisibilityForcedLockValue (int v)
 
void SetVisibilityLockMask (int m)
 
void SetVisibilityLockValue (int v)
 
 TK_Rendering_Options ()
 
TK_Status Write (BStreamFileToolkit &tk)
 
TK_Status WriteAscii (BStreamFileToolkit &tk)
 Deprecated.
 
- Public Member Functions inherited from BBaseOpcodeHandler
 BBaseOpcodeHandler (int op)
 
virtual TK_Status Execute (BStreamFileToolkit &tk)
 
unsigned char General_Flags () const
 
char const * GetLoggingString () const
 
char * GetLoggingString ()
 
virtual TK_Status Interpret (BStreamFileToolkit &tk, ID_Key key, int variant=0)
 
virtual TK_Status Interpret (BStreamFileToolkit &tk, ID_Key key, char const *special)
 
void LogDebug (BStreamFileToolkit &tk, char const *string=0)
 
virtual bool Match_Instance (BStreamFileToolkit const &tk, Recorded_Instance *instance)
 
virtual bool NeedsContext (BStreamFileToolkit &tk) const
 
bool NeedsTag () const
 
unsigned char Opcode () const
 
int Pass (BStreamFileToolkit &tk) const
 
void Set_General_Flags (int f)
 
void SetLoggingString (char const *segment)
 
void SetLoggingString (int length)
 
void SetNeedsTag (bool n)
 
TK_Status Tag (BStreamFileToolkit &tk, int variant=-1) const
 
bool Tagging (BStreamFileToolkit &tk) const
 
- Public Member Functions inherited from BControlledMemoryObject
void operator delete (void *p)
 force deallocation to happen in the stream toolkit's scope
 
void * operator new (size_t size)
 force allocation to happen in the stream toolkit's scope
 

Protected Attributes

float m_ambient_up_vector [3]
 For internal use only.
 
unsigned char m_antialias
 
float m_bounding [6]
 For internal use only.
 
unsigned char m_buffer_options_mask
 For internal use only.
 
unsigned char m_buffer_options_value
 For internal use only.
 
int m_buffer_size_limit
 For internal use only.
 
unsigned char m_clamp
 For internal use only.
 
unsigned short m_contour_options
 for internal use only.
 
char m_contour_value_adjustment
 for internal use only.
 
float m_contour_value_scale
 for internal use only.
 
float m_contour_value_translate
 for internal use only.
 
int m_curve_budget
 For internal use only.
 
int m_curve_continued_budget
 For internal use only.
 
float m_curve_max_angle
 For internal use only.
 
float m_curve_max_deviation
 For internal use only.
 
float m_curve_max_length
 For internal use only.
 
unsigned char m_cut_geometry
 For internal use only.
 
unsigned char m_cut_geometry_level
 For internal use only.
 
unsigned char m_cut_geometry_match
 For internal use only.
 
float m_cut_geometry_tolerance
 For internal use only.
 
float m_cutoff [8]
 For internal use only.
 
char m_cylinder [8]
 For internal use only.
 
int m_debug
 For internal use only.
 
unsigned char m_depth_peeling_algorithm
 For internal use only.
 
unsigned char m_depth_peeling_layers
 For internal use only.
 
float m_depth_peeling_min_area
 For internal use only.
 
float m_depth_range [2]
 For internal use only.
 
float m_dihedral
 For internal use only.
 
unsigned char m_display_list_level
 For internal use only.
 
int m_edge_join_cutoff_angle
 For internal use only.
 
int m_extra
 
int m_face_displacement
 For internal use only.
 
unsigned char m_fallback
 For internal use only.
 
float m_fog_limits [2]
 For internal use only.
 
Lock_Masks m_forced
 For internal use only.
 
int m_general_displacement
 For internal use only.
 
unsigned char m_geometry_options
 For internal use only.
 
char * m_gooch_color_map_segment
 For internal use only.
 
int m_gooch_color_map_segment_length
 
float m_gooch_color_range [2]
 For internal use only.
 
float m_gooch_diffuse_weight
 For internal use only.
 
unsigned char m_heuristic
 For internal use only.
 
float m_hlr_color [3]
 for internal use only.
 
float m_hlr_dim_factor
 For internal use only.
 
float m_hlr_face_displacement
 For internal use only.
 
unsigned char m_hlr_hsr_algorithm
 for internal use only.
 
int m_hlr_line_pattern
 For internal use only.
 
int m_hlr_options
 For internal use only.
 
float m_hlr_transparency_cutoff
 For internal use only.
 
float m_hlr_weight
 for internal use only.
 
unsigned char m_hlr_weight_units
 for internal use only.
 
unsigned char m_hsr
 internal use; low half hsr, high half thsr. For internal use only.
 
float m_image_scale [2]
 For internal use only.
 
float m_image_tint_color [3]
 For internal use only.
 
int m_isoline_color_count
 for internal use only.
 
float * m_isoline_colors
 for internal use only.
 
unsigned short m_isoline_options
 for internal use only.
 
int m_isoline_pattern_count
 for internal use only.
 
char ** m_isoline_patterns
 for internal use only.
 
int m_isoline_position_count
 for internal use only.
 
char m_isoline_position_type
 for internal use only.
 
float * m_isoline_positions
 for internal use only.
 
int m_isoline_weight_count
 for internal use only.
 
unsigned char * m_isoline_weights_unit
 for internal use only.
 
float * m_isoline_weights_value
 for internal use only.
 
int m_join_cutoff_angle
 For internal use only.
 
Lock_Masks m_lock
 For internal use only.
 
char m_lod_algorithm
 For internal use only.
 
int m_lod_options_mask
 For internal use only.
 
int m_lod_options_value
 For internal use only.
 
int m_mask [3]
 internal use; specifies which rendering options are active (and hence, which are valid). For internal use only.
 
unsigned short m_mask_transform
 For internal use only.
 
int m_max_degree
 For internal use only.
 
int m_min_triangle_count
 For internal use only.
 
char m_num_cutoffs
 For internal use only.
 
char m_num_cylinder
 For internal use only.
 
unsigned char m_num_levels
 For internal use only.
 
char m_num_ratios
 For internal use only.
 
char m_num_sphere
 For internal use only.
 
char m_num_thresholds
 For internal use only.
 
int m_nurbs_options_mask
 For internal use only.
 
int m_nurbs_options_value
 For internal use only.
 
float m_ratio [8]
 For internal use only.
 
float m_screen_range [4]
 For internal use only.
 
unsigned short m_shadow_map
 For internal use only.
 
unsigned short m_shadow_map_resolution
 For internal use only.
 
unsigned char m_shadow_map_samples
 For internal use only.
 
unsigned short m_simple_reflection
 For internal use only.
 
int m_simple_reflection_blur
 For internal use only.
 
float m_simple_reflection_hither
 For internal use only.
 
float m_simple_reflection_opacity
 For internal use only.
 
float m_simple_reflection_plane [4]
 For internal use only.
 
int m_simple_reflection_visibility_mask
 For internal use only.
 
int m_simple_reflection_visibility_value
 For internal use only.
 
float m_simple_reflection_yon
 For internal use only.
 
unsigned short m_simple_shadow
 For internal use only.
 
unsigned char m_simple_shadow_blur
 For internal use only.
 
float m_simple_shadow_color [3]
 For internal use only.
 
float m_simple_shadow_light [3]
 For internal use only.
 
float m_simple_shadow_opacity
 
float m_simple_shadow_plane [4]
 For internal use only.
 
unsigned short m_simple_shadow_resolution
 For internal use only.
 
char m_sphere [8]
 For internal use only.
 
float m_stereo_distance
 For internal use only.
 
float m_stereo_separation
 For internal use only.
 
int m_surface_budget
 For internal use only.
 
float m_surface_max_facet_angle
 For internal use only.
 
float m_surface_max_facet_deviation
 For internal use only.
 
float m_surface_max_facet_width
 For internal use only.
 
float m_surface_max_trim_curve_deviation
 For internal use only.
 
int m_surface_trim_budget
 For internal use only.
 
unsigned char m_tessellations
 For internal use only.
 
float m_texture_tint_color [3]
 For internal use only.
 
float m_threshold [8]
 For internal use only.
 
char m_threshold_type
 For internal use only.
 
float m_tint_color [3]
 For internal use only.
 
char m_tint_effect
 For internal use only.
 
unsigned short m_tint_options
 For internal use only.
 
float m_tint_range [2]
 For internal use only.
 
float m_tolerance
 For internal use only.
 
unsigned char m_tq
 internal use; low half technology, high half quantization. For internal use only.
 
unsigned short m_transparency_options
 internal use; low nibble style, next peeling flags, then zsort
 
int m_value [3]
 internal use; specifies what values to set for boolean options. For internal use only.
 
float m_vertex_decimation
 For internal use only.
 
int m_vertex_displacement
 For internal use only.
 
- Protected Attributes inherited from BBaseOpcodeHandler
char * m_ascii_buffer
 
int m_ascii_length
 
int m_ascii_progress
 Tracks the amount of data that has been read/written so far by GetAscii functions.
 
int m_ascii_size
 
int m_ascii_stage
 
unsigned char m_byte
 temporary
 
char m_char
 temporary
 
int m_debug_allocated
 
int m_debug_length
 
char * m_debug_string
 
unsigned char m_general_flags
 Basic flags common to many handlers.
 
int m_int
 temporary
 
bool m_needs_tag
 Indicate if this object explicitly needs tagging.
 
unsigned char m_opcode
 The opcode being handled by this particular object.
 
int m_progress
 Tracks the amount of data that has been read/written so far.
 
int m_stage
 The writing stage.
 
unsigned short m_unsigned_short
 temporary
 

Additional Inherited Members

- Protected Member Functions inherited from BBaseOpcodeHandler
void add_segment (BStreamFileToolkit &tk, ID_Key key)
 for internal use only
 
void adjust_written (BStreamFileToolkit &tk, int count)
 for internal use only
 
void bytes_to_floats (unsigned char const *in, float *out, int count) const
 for internal use only
 
void decrease_nesting (BStreamFileToolkit &tk, int amount=1)
 for internal use only
 
bool Find_Instance (BStreamFileToolkit &tk, int val1, int val2, int val3)
 
bool Find_Item (BStreamFileToolkit &tk, ID_Key key) const
 
void floats_to_bytes (float const *in, unsigned char *out, int count) const
 for internal use only
 
TK_Status GetAsciiData (BStreamFileToolkit &tk, int *rInts, unsigned int n)
 
TK_Status GetAsciiData (BStreamFileToolkit &tk, const char *tag, unsigned char &value)
 
TK_Status GetAsciiData (BStreamFileToolkit &tk, const char *tag, char &value)
 
TK_Status GetAsciiData (BStreamFileToolkit &tk, const char *tag, unsigned short &value)
 
TK_Status GetAsciiData (BStreamFileToolkit &tk, const char *tag, short &value)
 
TK_Status GetAsciiData (BStreamFileToolkit &tk, const char *tag, int &value)
 
TK_Status GetAsciiData (BStreamFileToolkit &tk, const char *tag, float &value)
 
TK_Status GetAsciiData (BStreamFileToolkit &tk, const char *tag, float *rFloats, unsigned int n)
 
TK_Status GetAsciiData (BStreamFileToolkit &tk, const char *tag, char *m_string, unsigned int n)
 
TK_Status GetAsciiData (BStreamFileToolkit &tk, const char *tag, unsigned char *m_string, unsigned int n)
 
TK_Status GetAsciiData (BStreamFileToolkit &tk, const char *tag, int *rInts, unsigned int n)
 
TK_Status GetAsciiData (BStreamFileToolkit &tk, const char *tag, short *rShorts, unsigned int n)
 
TK_Status GetAsciiData (BStreamFileToolkit &tk, const char *tag, unsigned short *rShorts, unsigned int n)
 
TK_Status GetAsciiHex (BStreamFileToolkit &tk, const char *tag, unsigned char &value)
 
TK_Status GetAsciiHex (BStreamFileToolkit &tk, const char *tag, int &value)
 
TK_Status GetAsciiHex (BStreamFileToolkit &tk, const char *tag, char &value)
 
TK_Status GetAsciiHex (BStreamFileToolkit &tk, const char *tag, unsigned short &value)
 
TK_Status GetAsciiImageData (BStreamFileToolkit &tk, const char *tag, unsigned char *rValues, unsigned int n)
 
TK_Status GetGeneral (BStreamFileToolkit &tk)
 
void increase_nesting (BStreamFileToolkit &tk, int amount=1)
 for internal use only
 
ID_Key last_key (BStreamFileToolkit &tk) const
 obsolete
 
void log_opcode (BStreamFileToolkit &tk, unsigned int sequence, unsigned char opcode)
 for internal use only
 
BBaseOpcodeHandlerOpcode_Handler (BStreamFileToolkit &tk, unsigned char op) const
 
TK_Status PutAsciiData (BStreamFileToolkit &tk, char const *tag, char const *b, int n)
 
TK_Status PutAsciiData (BStreamFileToolkit &tk, char const *tag, short const *s, int n)
 
TK_Status PutAsciiData (BStreamFileToolkit &tk, char const *tag, int const *i, int n)
 
TK_Status PutAsciiData (BStreamFileToolkit &tk, char const *tag, float const *f, int n)
 
TK_Status PutAsciiData (BStreamFileToolkit &tk, char const *tag, unsigned char const *b, int n)
 
TK_Status PutAsciiData (BStreamFileToolkit &tk, char const *tag, unsigned short const *s, int n)
 
TK_Status PutAsciiData (BStreamFileToolkit &tk, char const *tag, unsigned int const *i, int n)
 
TK_Status PutAsciiData (BStreamFileToolkit &tk, char const *tag, char const &c)
 
TK_Status PutAsciiData (BStreamFileToolkit &tk, char const *tag, short const &s)
 
TK_Status PutAsciiData (BStreamFileToolkit &tk, char const *tag, int const &i)
 
TK_Status PutAsciiData (BStreamFileToolkit &tk, char const *tag, unsigned char const &b)
 
TK_Status PutAsciiData (BStreamFileToolkit &tk, char const *tag, unsigned short const &s)
 
TK_Status PutAsciiData (BStreamFileToolkit &tk, char const *tag, unsigned int const &i)
 
TK_Status PutAsciiData (BStreamFileToolkit &tk, char const *tag, float const &f)
 
TK_Status PutAsciiFlag (BStreamFileToolkit &tk, char const *tag, int const &i)
 
TK_Status PutAsciiHex (BStreamFileToolkit &tk, char const *tag, int const &i)
 
TK_Status PutAsciiMask (BStreamFileToolkit &tk, char const *tag, int const &i)
 
TK_Status PutAsciiOpcode (BStreamFileToolkit &tk, int adjust=1, bool is_end=false, bool want_newline=true)
 
TK_Status PutEndXMLTag (BStreamFileToolkit &tk, char const *tag)
 
TK_Status PutGeneral (BStreamFileToolkit &tk)
 
TK_Status PutOpcode (BStreamFileToolkit &tk, int adjust=1)
 
TK_Status PutStartXMLTag (BStreamFileToolkit &tk, char const *tag)
 
TK_Status Read_Referenced_Segment (BStreamFileToolkit &tk, int &i_progress)
 
TK_Status ReadAsciiLine (BStreamFileToolkit &tk, unsigned int *readSize=0)
 
TK_Status ReadAsciiWord (BStreamFileToolkit &tk, unsigned int *readSize=0)
 
TK_Status ReadEndOpcode (BStreamFileToolkit &tk)
 
void Record_Instance (BStreamFileToolkit &tk, ID_Key key, int variant, int val1, int val2, int val3) const
 
void Remember_Item (BStreamFileToolkit &tk, ID_Key key) const
 
ID_Key remove_segment (BStreamFileToolkit &tk)
 for internal use only
 
bool RemoveAngularBrackets (char *string)
 
bool RemoveQuotes (char *string)
 
void Revisit (BStreamFileToolkit &tk, float priority=0.0f, int variant=0) const
 
void set_last_key (BStreamFileToolkit &tk, ID_Key key)
 sets the given key as "most recent" on the toolkit for the purposes of associating keys with indices
 
TK_Status SkipNewlineAndTabs (BStreamFileToolkit &tk, unsigned int *readSize=0)
 
bool validate_count (int count, int limit=1<< 24) const
 
- Static Protected Member Functions inherited from BBaseOpcodeHandler
static void fix (int *i, int n)
 for internal use only
 
static void fix (short *s, int n)
 for internal use only
 
static void fix_in (float *f, int n)
 for internal use only
 
static void fix_in (double *d, int n)
 for internal use only
 
static void fix_out (float *f, int n)
 for internal use only
 
static void fix_out (double *d, int n)
 for internal use only
 
static short flip (short s)
 for internal use only
 
static int flip (int i)
 for internal use only
 
static TK_Status GetData (BStreamFileToolkit &tk, char *b, int n)
 
static TK_Status GetData (BStreamFileToolkit &tk, short *s, int n)
 
static TK_Status GetData (BStreamFileToolkit &tk, int *i, int n)
 
static TK_Status GetData (BStreamFileToolkit &tk, float *f, int n)
 
static TK_Status GetData (BStreamFileToolkit &tk, double *d, int n)
 
static TK_Status GetData (BStreamFileToolkit &tk, unsigned char *b, int n)
 
static TK_Status GetData (BStreamFileToolkit &tk, unsigned short *s, int n)
 
static TK_Status GetData (BStreamFileToolkit &tk, unsigned int *i, int n)
 
static TK_Status GetData (BStreamFileToolkit &tk, char &c)
 
static TK_Status GetData (BStreamFileToolkit &tk, short &s)
 
static TK_Status GetData (BStreamFileToolkit &tk, int &i)
 
static TK_Status GetData (BStreamFileToolkit &tk, unsigned char &b)
 
static TK_Status GetData (BStreamFileToolkit &tk, unsigned short &s)
 
static TK_Status GetData (BStreamFileToolkit &tk, unsigned int &i)
 
static TK_Status GetData (BStreamFileToolkit &tk, float &f)
 
static TK_Status GetData (BStreamFileToolkit &tk, double &d)
 
static TK_Status LookatData (BStreamFileToolkit &tk, unsigned char &b)
 
static TK_Status PutData (BStreamFileToolkit &tk, char const *b, int n)
 
static TK_Status PutData (BStreamFileToolkit &tk, short const *s, int n)
 
static TK_Status PutData (BStreamFileToolkit &tk, int const *i, int n)
 
static TK_Status PutData (BStreamFileToolkit &tk, float const *f, int n)
 
static TK_Status PutData (BStreamFileToolkit &tk, double const *d, int n)
 
static TK_Status PutData (BStreamFileToolkit &tk, unsigned char const *b, int n)
 
static TK_Status PutData (BStreamFileToolkit &tk, unsigned short const *s, int n)
 
static TK_Status PutData (BStreamFileToolkit &tk, unsigned int const *i, int n)
 
static TK_Status PutData (BStreamFileToolkit &tk, char const &c)
 
static TK_Status PutData (BStreamFileToolkit &tk, short const &s)
 
static TK_Status PutData (BStreamFileToolkit &tk, int const &i)
 
static TK_Status PutData (BStreamFileToolkit &tk, unsigned char const &b)
 
static TK_Status PutData (BStreamFileToolkit &tk, unsigned short const &s)
 
static TK_Status PutData (BStreamFileToolkit &tk, unsigned int const &i)
 
static TK_Status PutData (BStreamFileToolkit &tk, float const &f)
 
static TK_Status PutData (BStreamFileToolkit &tk, double const &d)
 
static float read_float (char const *cp, char const **newcpp=0)
 
static float read_float (char const *cp, char **newcpp)
 for internal use only
 
static char * write_float (char *buffer, double f)
 for internal use only
 

Detailed Description

Handles the TKE_Rendering_Options opcode.

TK_Rendering_Options provides support for writing/reading the TKE_Rendering_Options opcode object to/from an HSF file.

The HOOPS/3dGS scene-graph supports an attribute called Rendering_Options which control how the scene is rendered. Refer to the HOOPS/3dGS documentation for details of this attribute.

Constructor & Destructor Documentation

TK_Rendering_Options::TK_Rendering_Options ( )

constructor

Member Function Documentation

TK_Status TK_Rendering_Options::Clone ( BStreamFileToolkit tk,
BBaseOpcodeHandler **  handler 
) const
virtual

Copies the opcode handler

Parameters
tkA reference to the BStreamFileToolkit object.
handlerA pointer to the opcode handler object. Passed by reference.
Returns
The result of the function call.

Reimplemented from BBaseOpcodeHandler.

float const* TK_Rendering_Options::GetAmbientUpVector ( ) const
inline

Returns the ambient up vector as the address to a float array

int TK_Rendering_Options::GetAntiAlias ( ) const
inline

Returns the mask indicating which anti-aliasing options are set.

int TK_Rendering_Options::GetBufferOptionsMask ( ) const
inline

Returns the mask indicating which buffer options are set.

int TK_Rendering_Options::GetBufferOptionsValue ( ) const
inline

Returns the mask indicating which buffer options are "on".

int TK_Rendering_Options::GetBufferSizeLimit ( ) const
inline

Returns the size limit on the software frame buffer.

int TK_Rendering_Options::GetColorBackForcedLockMask ( ) const
inline

Returns the mask indicating which back color channels have a forced lock setting. Color channels are specified by #TKO_Color_Channel_ForcedLock_Bits.

int TK_Rendering_Options::GetColorBackForcedLockValue ( ) const
inline

Returns the value indicating which back color channels are forceded. Color channels are specified by #TKO_Color_Channel_ForcedLock_Bits.

int TK_Rendering_Options::GetColorBackLockMask ( ) const
inline

Returns the mask indicating which back color channels have a lock setting. Color channels are specified by TKO_Color_Channel_Lock_Bits.

int TK_Rendering_Options::GetColorBackLockValue ( ) const
inline

Returns the value indicating which back color channels are locked. Color channels are specified by TKO_Color_Channel_Lock_Bits.

int TK_Rendering_Options::GetColorEdgeContrastForcedLockMask ( ) const
inline

Returns the mask indicating which edge_contrast color channels have a forced lock setting. Color channels are specified by #TKO_Color_Channel_ForcedLock_Bits.

int TK_Rendering_Options::GetColorEdgeContrastForcedLockValue ( ) const
inline

Returns the value indicating which edge_contrast color channels are forceded. Color channels are specified by #TKO_Color_Channel_ForcedLock_Bits.

int TK_Rendering_Options::GetColorEdgeContrastLockMask ( ) const
inline

Returns the mask indicating which edge_contrast color channels have a lock setting. Color channels are specified by TKO_Color_Channel_Lock_Bits.

int TK_Rendering_Options::GetColorEdgeContrastLockValue ( ) const
inline

Returns the value indicating which edge_contrast color channels are locked. Color channels are specified by TKO_Color_Channel_Lock_Bits.

int TK_Rendering_Options::GetColorEdgeForcedLockMask ( ) const
inline

Returns the mask indicating which edge color channels have a forced lock setting. Color channels are specified by #TKO_Color_Channel_ForcedLock_Bits.

int TK_Rendering_Options::GetColorEdgeForcedLockValue ( ) const
inline

Returns the value indicating which edge color channels are forceded. Color channels are specified by #TKO_Color_Channel_ForcedLock_Bits.

int TK_Rendering_Options::GetColorEdgeLockMask ( ) const
inline

Returns the mask indicating which edge color channels have a lock setting. Color channels are specified by TKO_Color_Channel_Lock_Bits.

int TK_Rendering_Options::GetColorEdgeLockValue ( ) const
inline

Returns the value indicating which edge color channels are locked. Color channels are specified by TKO_Color_Channel_Lock_Bits.

int TK_Rendering_Options::GetColorFaceContrastForcedLockMask ( ) const
inline

Returns the mask indicating which face_contrast color channels have a forced lock setting. Color channels are specified by #TKO_Color_Channel_ForcedLock_Bits.

int TK_Rendering_Options::GetColorFaceContrastForcedLockValue ( ) const
inline

Returns the value indicating which face_contrast color channels are forceded. Color channels are specified by #TKO_Color_Channel_ForcedLock_Bits.

int TK_Rendering_Options::GetColorFaceContrastLockMask ( ) const
inline

Returns the mask indicating which face_contrast color channels have a lock setting. Color channels are specified by TKO_Color_Channel_Lock_Bits.

int TK_Rendering_Options::GetColorFaceContrastLockValue ( ) const
inline

Returns the value indicating which face_contrast color channels are locked. Color channels are specified by TKO_Color_Channel_Lock_Bits.

int TK_Rendering_Options::GetColorFaceForcedLockMask ( ) const
inline

Returns the mask indicating which face color channels have a forced lock setting. Color channels are specified by #TKO_Color_Channel_ForcedLock_Bits.

int TK_Rendering_Options::GetColorFaceForcedLockValue ( ) const
inline

Returns the value indicating which face color channels are forceded. Color channels are specified by #TKO_Color_Channel_ForcedLock_Bits.

int TK_Rendering_Options::GetColorFaceLockMask ( ) const
inline

Returns the mask indicating which face color channels have a lock setting. Color channels are specified by TKO_Color_Channel_Lock_Bits.

int TK_Rendering_Options::GetColorFaceLockValue ( ) const
inline

Returns the value indicating which face color channels are locked. Color channels are specified by TKO_Color_Channel_Lock_Bits.

int TK_Rendering_Options::GetColorForcedLockMask ( ) const
inline

Returns the mask indicating which types of geometry have a color forced lock setting. Geometry types are specified by TKO_Geometry_Bits.

int TK_Rendering_Options::GetColorForcedLockValue ( ) const
inline

Returns the mask indicating which geometry colors are forceded. Geometry types are specified by TKO_Geometry_Bits.

int TK_Rendering_Options::GetColorLineContrastForcedLockMask ( ) const
inline

Returns the mask indicating which line_contrast color channels have a forced lock setting. Color channels are specified by #TKO_Color_Channel_ForcedLock_Bits.

int TK_Rendering_Options::GetColorLineContrastForcedLockValue ( ) const
inline

Returns the value indicating which line_contrast color channels are forceded. Color channels are specified by #TKO_Color_Channel_ForcedLock_Bits.

int TK_Rendering_Options::GetColorLineContrastLockMask ( ) const
inline

Returns the mask indicating which line_contrast color channels have a lock setting. Color channels are specified by TKO_Color_Channel_Lock_Bits.

int TK_Rendering_Options::GetColorLineContrastLockValue ( ) const
inline

Returns the value indicating which line_contrast color channels are locked. Color channels are specified by TKO_Color_Channel_Lock_Bits.

int TK_Rendering_Options::GetColorLineForcedLockMask ( ) const
inline

Returns the mask indicating which line color channels have a forced lock setting. Color channels are specified by #TKO_Color_Channel_ForcedLock_Bits.

int TK_Rendering_Options::GetColorLineForcedLockValue ( ) const
inline

Returns the value indicating which line color channels are forceded. Color channels are specified by #TKO_Color_Channel_ForcedLock_Bits.

int TK_Rendering_Options::GetColorLineLockMask ( ) const
inline

Returns the mask indicating which line color channels have a lock setting. Color channels are specified by TKO_Color_Channel_Lock_Bits.

int TK_Rendering_Options::GetColorLineLockValue ( ) const
inline

Returns the value indicating which line color channels are locked. Color channels are specified by TKO_Color_Channel_Lock_Bits.

int TK_Rendering_Options::GetColorLockMask ( ) const
inline

Returns the mask indicating which types of geometry have a color lock setting. Geometry types are specified by TKO_Geometry_Bits.

int TK_Rendering_Options::GetColorLockValue ( ) const
inline

Returns the mask indicating which geometry colors are locked. Geometry types are specified by TKO_Geometry_Bits.

int TK_Rendering_Options::GetColorMarkerContrastForcedLockMask ( ) const
inline

Returns the mask indicating which marker_contrast color channels have a forced lock setting. Color channels are specified by #TKO_Color_Channel_ForcedLock_Bits.

int TK_Rendering_Options::GetColorMarkerContrastForcedLockValue ( ) const
inline

Returns the value indicating which marker_contrast color channels are forceded. Color channels are specified by #TKO_Color_Channel_ForcedLock_Bits.

int TK_Rendering_Options::GetColorMarkerContrastLockMask ( ) const
inline

Returns the mask indicating which marker_contrast color channels have a lock setting. Color channels are specified by TKO_Color_Channel_Lock_Bits.

int TK_Rendering_Options::GetColorMarkerContrastLockValue ( ) const
inline

Returns the value indicating which marker_contrast color channels are locked. Color channels are specified by TKO_Color_Channel_Lock_Bits.

int TK_Rendering_Options::GetColorMarkerForcedLockMask ( ) const
inline

Returns the mask indicating which marker color channels have a forced lock setting. Color channels are specified by #TKO_Color_Channel_ForcedLock_Bits.

int TK_Rendering_Options::GetColorMarkerForcedLockValue ( ) const
inline

Returns the value indicating which marker color channels are forceded. Color channels are specified by #TKO_Color_Channel_ForcedLock_Bits.

int TK_Rendering_Options::GetColorMarkerLockMask ( ) const
inline

Returns the mask indicating which marker color channels have a lock setting. Color channels are specified by TKO_Color_Channel_Lock_Bits.

int TK_Rendering_Options::GetColorMarkerLockValue ( ) const
inline

Returns the value indicating which marker color channels are locked. Color channels are specified by TKO_Color_Channel_Lock_Bits.

int TK_Rendering_Options::GetColorTextContrastForcedLockMask ( ) const
inline

Returns the mask indicating which text_contrast color channels have a forced lock setting. Color channels are specified by #TKO_Color_Channel_ForcedLock_Bits.

int TK_Rendering_Options::GetColorTextContrastForcedLockValue ( ) const
inline

Returns the value indicating which text_contrast color channels are forceded. Color channels are specified by #TKO_Color_Channel_ForcedLock_Bits.

int TK_Rendering_Options::GetColorTextContrastLockMask ( ) const
inline

Returns the mask indicating which text_contrast color channels have a lock setting. Color channels are specified by TKO_Color_Channel_Lock_Bits.

int TK_Rendering_Options::GetColorTextContrastLockValue ( ) const
inline

Returns the value indicating which text_contrast color channels are locked. Color channels are specified by TKO_Color_Channel_Lock_Bits.

int TK_Rendering_Options::GetColorTextForcedLockMask ( ) const
inline

Returns the mask indicating which text color channels have a forced lock setting. Color channels are specified by #TKO_Color_Channel_ForcedLock_Bits.

int TK_Rendering_Options::GetColorTextForcedLockValue ( ) const
inline

Returns the value indicating which text color channels are forceded. Color channels are specified by #TKO_Color_Channel_ForcedLock_Bits.

int TK_Rendering_Options::GetColorTextLockMask ( ) const
inline

Returns the mask indicating which text color channels have a lock setting. Color channels are specified by TKO_Color_Channel_Lock_Bits.

int TK_Rendering_Options::GetColorTextLockValue ( ) const
inline

Returns the value indicating which text color channels are locked. Color channels are specified by TKO_Color_Channel_Lock_Bits.

int TK_Rendering_Options::GetColorVertexContrastForcedLockMask ( ) const
inline

Returns the mask indicating which vertex_contrast color channels have a forced lock setting. Color channels are specified by #TKO_Color_Channel_ForcedLock_Bits.

int TK_Rendering_Options::GetColorVertexContrastForcedLockValue ( ) const
inline

Returns the value indicating which vertex_contrast color channels are forceded. Color channels are specified by #TKO_Color_Channel_ForcedLock_Bits.

int TK_Rendering_Options::GetColorVertexContrastLockMask ( ) const
inline

Returns the mask indicating which vertex_contrast color channels have a lock setting. Color channels are specified by TKO_Color_Channel_Lock_Bits.

int TK_Rendering_Options::GetColorVertexContrastLockValue ( ) const
inline

Returns the value indicating which vertex_contrast color channels are locked. Color channels are specified by TKO_Color_Channel_Lock_Bits.

int TK_Rendering_Options::GetColorVertexForcedLockMask ( ) const
inline

Returns the mask indicating which vertex color channels have a forced lock setting. Color channels are specified by #TKO_Color_Channel_ForcedLock_Bits.

int TK_Rendering_Options::GetColorVertexForcedLockValue ( ) const
inline

Returns the value indicating which vertex color channels are forceded. Color channels are specified by #TKO_Color_Channel_ForcedLock_Bits.

int TK_Rendering_Options::GetColorVertexLockMask ( ) const
inline

Returns the mask indicating which vertex color channels have a lock setting. Color channels are specified by TKO_Color_Channel_Lock_Bits.

int TK_Rendering_Options::GetColorVertexLockValue ( ) const
inline

Returns the value indicating which vertex color channels are locked. Color channels are specified by TKO_Color_Channel_Lock_Bits.

int TK_Rendering_Options::GetColorWindowContrastForcedLockMask ( ) const
inline

Returns the mask indicating which window_contrast color channels have a forced lock setting. Color channels are specified by #TKO_Color_Channel_ForcedLock_Bits.

int TK_Rendering_Options::GetColorWindowContrastForcedLockValue ( ) const
inline

Returns the value indicating which window_contrast color channels are forceded. Color channels are specified by #TKO_Color_Channel_ForcedLock_Bits.

int TK_Rendering_Options::GetColorWindowContrastLockMask ( ) const
inline

Returns the mask indicating which window_contrast color channels have a lock setting. Color channels are specified by TKO_Color_Channel_Lock_Bits.

int TK_Rendering_Options::GetColorWindowContrastLockValue ( ) const
inline

Returns the value indicating which window_contrast color channels are locked. Color channels are specified by TKO_Color_Channel_Lock_Bits.

int TK_Rendering_Options::GetColorWindowForcedLockMask ( ) const
inline

Returns the mask indicating which window color channels have a forced lock setting. Color channels are specified by #TKO_Color_Channel_ForcedLock_Bits.

int TK_Rendering_Options::GetColorWindowForcedLockValue ( ) const
inline

Returns the value indicating which window color channels are forceded. Color channels are specified by #TKO_Color_Channel_ForcedLock_Bits.

int TK_Rendering_Options::GetColorWindowLockMask ( ) const
inline

Returns the mask indicating which window color channels have a lock setting. Color channels are specified by TKO_Color_Channel_Lock_Bits.

int TK_Rendering_Options::GetColorWindowLockValue ( ) const
inline

Returns the value indicating which window color channels are locked. Color channels are specified by TKO_Color_Channel_Lock_Bits.

int TK_Rendering_Options::GetCutGeometry ( ) const
inline

Returns the mask indicating which cut geometry options are set.

int TK_Rendering_Options::GetCutGeometryColorMatch ( ) const
inline

Returns the cut geometry color match option.

int TK_Rendering_Options::GetCutGeometryLevel ( ) const
inline

Returns the geometry level.

float TK_Rendering_Options::GetCutGeometryTolerance ( ) const
inline

Returns the cut geometry point matching tolerance.

char const* TK_Rendering_Options::GetCylinderTessellations ( ) const
inline

Returns the cylinder tessellation values used for surface generation

char* TK_Rendering_Options::GetCylinderTessellations ( )
inline

Returns the cylinder tessellation values for surface generation as the address of a buffer which may be modified

int TK_Rendering_Options::GetDebug ( ) const
inline

Returns the debug options

float const* TK_Rendering_Options::GetDepthRange ( ) const
inline

Returns the depth range as the address of a float pair

float const* TK_Rendering_Options::GetDiffuseTextureTintColor ( ) const
inline

Returns the rgb color value as the address of a float triplet

int TK_Rendering_Options::GetDisplayListLevel ( ) const
inline

Returns the display list level.

int TK_Rendering_Options::GetFaceDisplacement ( ) const
inline

Returns the face displacement value

float const* TK_Rendering_Options::GetFogLimits ( ) const
inline

Returns the fog limits as the address of a float pair

int TK_Rendering_Options::GetForcedLockMask ( ) const
inline

Returns the mask indicating which attributes have a forced lock setting. ForcedLock settings are specified by #TKO_Attribute_ForcedLock_Bits.

int TK_Rendering_Options::GetForcedLockValue ( ) const
inline

Returns the mask indicating which attributes are forceded. ForcedLock settings are specified by #TKO_Attribute_ForcedLock_Bits.

int TK_Rendering_Options::GetGeneralDisplacement ( ) const
inline

Returns the general displacement value

int TK_Rendering_Options::GetGeometryOptionsMask ( ) const
inline

Returns the mask indicating which geometry options are set.

float TK_Rendering_Options::GetHardEdgeAngle ( ) const
inline

Returns the hard edge angle limit.

float TK_Rendering_Options::GetHlrDimFactor ( ) const
inline

Returns the dim factor used when hidden lines are displayed.

float TK_Rendering_Options::GetHlrFaceDisplacement ( ) const
inline

Returns the displacement used for faces during hidden line calculations.

float TK_Rendering_Options::GetHlrFaceSortingAlgorithm ( ) const
inline

Returns the displacement used for faces during hidden line calculations.

int TK_Rendering_Options::GetHlrLinePattern ( ) const
inline

Returns the mask indicating which hlr options are set.

int TK_Rendering_Options::GetHlrOptions ( ) const
inline

Returns the mask indicating which hlr options are set.

int TK_Rendering_Options::GetHSR ( ) const
inline

Returns the Hidden Surface Removal algorithm

float const* TK_Rendering_Options::GetImageScale ( ) const
inline

Returns the image scale factors as the address of a float pair

float const* TK_Rendering_Options::GetImageTintColor ( ) const
inline

Returns the rgb color value as the address of a float triplet

int TK_Rendering_Options::GetJoinCutoffAngle ( ) const
inline

Returns the join cutoff limit value

int TK_Rendering_Options::GetLockMask ( ) const
inline

Returns the mask indicating which attributes have a lock setting. Lock settings are specified by TKO_Attribute_Lock_Bits.

int TK_Rendering_Options::GetLockValue ( ) const
inline

Returns the mask indicating which attributes are locked. Lock settings are specified by TKO_Attribute_Lock_Bits.

int TK_Rendering_Options::GetLodAlgorithm ( ) const
inline

Returns the type of algorithm used for LOD generation

float const* TK_Rendering_Options::GetLodBounding ( ) const
inline

Returns the explicit LOD bounding volume as the address of an array of six floats

int TK_Rendering_Options::GetLodClamp ( ) const
inline

Returns the clamp level for LOD display

float const* TK_Rendering_Options::GetLodCutoffs ( ) const
inline

Returns the cutoffs used for LOD generation

float* TK_Rendering_Options::GetLodCutoffs ( )
inline

Returns the cutoffs used for LOD generation as the address of a buffer which may be modified

int TK_Rendering_Options::GetLodFallback ( ) const
inline

Returns the fallback method for LOD display selection

int TK_Rendering_Options::GetLodMaxDegree ( ) const
inline

Returns the maximum degree

int TK_Rendering_Options::GetLodMinimumTriangleCount ( ) const
inline

Returns the minimum triangle count for LOD generation

int TK_Rendering_Options::GetLodNumCutoffs ( ) const
inline

Returns the count of cutoffs used for LOD generation

int TK_Rendering_Options::GetLodNumLevels ( ) const
inline

Returns the number of LOD levels to generate

int TK_Rendering_Options::GetLodNumRatios ( ) const
inline

Returns the count of ratios used for LOD generation

int TK_Rendering_Options::GetLodNumThresholds ( ) const
inline

Returns the count of thresholds used for LOD generation

int TK_Rendering_Options::GetLodOptionsMask ( ) const
inline

Returns the mask indicating which LOD options are set.

int TK_Rendering_Options::GetLodOptionsValue ( ) const
inline

Returns the mask indicating which LOD options are "on".

float const* TK_Rendering_Options::GetLodRatios ( ) const
inline

Returns the ratios used for LOD generation

float* TK_Rendering_Options::GetLodRatios ( )
inline

Returns the ratios used for LOD generation as the address of a buffer which may be modified

float const* TK_Rendering_Options::GetLodThresholds ( ) const
inline

Returns the thresholds used for LOD generation

float* TK_Rendering_Options::GetLodThresholds ( )
inline

Returns the thresholds used for LOD generation as the address of a buffer which may be modified

int TK_Rendering_Options::GetLodThresholdType ( ) const
inline

Returns the method used to determine when a LOD is not worth generating

float TK_Rendering_Options::GetLodTolerance ( ) const
inline

Returns the tolerance for collapsing points

int TK_Rendering_Options::GetMask ( int  index = 0) const
inline

Returns the mask indicating which options have a setting

int TK_Rendering_Options::GetMaskTransform ( ) const
inline

Returns the mask indicating which transform components should be blocked.

int TK_Rendering_Options::GetNumCylinderTessellations ( ) const
inline

Returns the count of cylinder tessellation values used for surface generation

int TK_Rendering_Options::GetNumSphereTessellations ( ) const
inline

Returns the count of sphere tessellation values used for surface generation

int TK_Rendering_Options::GetNURBSCurveBudget ( ) const
inline

Returns the point budget for NURBS curve tessellation.

int TK_Rendering_Options::GetNURBSCurveContinuedBudget ( ) const
inline

Returns the point budget for NURBS curve tessellation.

int TK_Rendering_Options::GetNURBSOptionsMask ( ) const
inline

Returns the mask indicating which NURBS options are set.

int TK_Rendering_Options::GetNURBSOptionsValue ( ) const
inline

Returns the mask indicating which NURBS options are "on".

int TK_Rendering_Options::GetNURBSSurfaceBudget ( ) const
inline

Returns the point budget for NURBS surface tessellation.

int TK_Rendering_Options::GetNURBSSurfaceTrimBudget ( ) const
inline

Returns the point budget for NURBS trim curve tessellation.

int TK_Rendering_Options::GetQuantization ( ) const
inline

Returns the quantization methods used when displaying on color-limited devices

float const* TK_Rendering_Options::GetScreenRange ( ) const
inline

Returns the screen range as the address of a float pair

int TK_Rendering_Options::GetShadowMap ( ) const
inline

Returns the mask indicating which shadow map options are set.

int TK_Rendering_Options::GetShadowMapResolution ( ) const
inline

Returns shadow map image resolution.

int TK_Rendering_Options::GetShadowMapSamples ( ) const
inline

Returns shadow map image resolution.

int TK_Rendering_Options::GetSimpleReflection ( ) const
inline

Returns the mask indicating which simple reflection options are set.

float TK_Rendering_Options::GetSimpleReflectionOpacity ( ) const
inline

Returns simple reflection opacity.

float const* TK_Rendering_Options::GetSimpleReflectionPlane ( ) const
inline

Returns the simple reflection projection plane as the address of a float array

int TK_Rendering_Options::GetSimpleReflectionVisibilityValue ( ) const
inline

Returns the mask indicating which simple reflection options are set.

int TK_Rendering_Options::GetSimpleShadow ( ) const
inline

Returns the mask indicating which simple shadow options are set.

int TK_Rendering_Options::GetSimpleShadowBlur ( ) const
inline

Returns simple shadow blur (softness) level.

float const* TK_Rendering_Options::GetSimpleShadowColor ( ) const
inline

Returns the rgb color value as the address of a float triplet

float const* TK_Rendering_Options::getSimpleShadowLight ( ) const
inline

Returns the simple shadow light direction as the address of a float array

float TK_Rendering_Options::GetSimpleShadowOpacity ( ) const
inline

Returns simple shadow opacity.

float const* TK_Rendering_Options::GetSimpleShadowPlane ( ) const
inline

Returns the simple shadow projection plane as the address of a float array

int TK_Rendering_Options::GetSimpleShadowResolution ( ) const
inline

Returns simple shadow image resolution.

char const* TK_Rendering_Options::GetSphereTessellations ( ) const
inline

Returns the sphere tessellation values used for surface generation

char* TK_Rendering_Options::GetSphereTessellations ( )
inline

Returns the sphere tessellation values for surface generation as the address of a buffer which may be modified

float TK_Rendering_Options::GetStereoDistance ( ) const
inline

Returns the focal distance for stereo viewing.

float TK_Rendering_Options::GetStereoSeparation ( ) const
inline

Returns the eye separation for stereo viewing.

int TK_Rendering_Options::GetTechnology ( ) const
inline

Returns the general technology used for drawing

int TK_Rendering_Options::GetTessellationMask ( ) const
inline

Returns the mask indicating which tessellation options are set.

int TK_Rendering_Options::GetTransparentHSR ( ) const
inline

Returns the drawing style used for transparent components

int TK_Rendering_Options::GetTransparentStyle ( ) const
inline

Returns the Hidden Surface Removal algorithm used for transparent components

int TK_Rendering_Options::GetValue ( int  index = 0) const
inline

Returns the mask indicating which options are set on/active

float TK_Rendering_Options::GetVertexDecimation ( ) const
inline

Returns the vertex decimation factor.

int TK_Rendering_Options::GetVertexDisplacement ( ) const
inline

Returns the vertex displacement value

int TK_Rendering_Options::GetVisibilityForcedLockMask ( ) const
inline

Returns the mask indicating which types of geometry have a visibility forced lock setting. Geometry types are specified by TKO_Geometry_Bits.

int TK_Rendering_Options::GetVisibilityForcedLockValue ( ) const
inline

Returns the mask indicating which geometry visibilities are forceded. Geometry types are specified by TKO_Geometry_Bits.

int TK_Rendering_Options::GetVisibilityLockMask ( ) const
inline

Returns the mask indicating which types of geometry have a visibility lock setting. Geometry types are specified by TKO_Geometry_Bits.

int TK_Rendering_Options::GetVisibilityLockValue ( ) const
inline

Returns the mask indicating which geometry visibilities are locked. Geometry types are specified by TKO_Geometry_Bits.

TK_Status TK_Rendering_Options::Read ( BStreamFileToolkit tk)
virtual

Reads data from the toolkit buffer, decodes/decompresses it, and maps it to the opcode handlers data members. User-defined classes which need to write out custom data should utilize one of the available GetData() methods.

Parameters
tkA reference to the BStreamFileToolkit object.
Returns
The result of the function call.

Implements BBaseOpcodeHandler.

void TK_Rendering_Options::Reset ( )
virtual

Resets the current opcode handler. This is called by the toolkit when it is done processing an opcode. This method reinitializes any opcode handler variables and frees up temporary data.

Reimplemented from BBaseOpcodeHandler.

void TK_Rendering_Options::SetAmbientUpVector ( float  x,
float  y,
float  z 
)
inline

Sets the ambient up vector. HOOPS can color shift ambient light between 2 colors based on world-space normals. Graphics systems that are unable to do this may choose to instead use the average of the two values as their ambient term. See TK_Color.

void TK_Rendering_Options::SetAmbientUpVector ( float const  v[])
inline

Sets the ambient up vector using a float array

References SetAmbientUpVector().

Referenced by SetAmbientUpVector().

void TK_Rendering_Options::SetAntiAlias ( int  m)
inline

Sets the mask indicating which anti-aliasing options to use.

void TK_Rendering_Options::SetBufferOptionsMask ( int  v)
inline

Sets the mask indicating which buffer options are set.

void TK_Rendering_Options::SetBufferOptionsValue ( int  v)
inline

Sets the mask indicating which buffer options are "on".

void TK_Rendering_Options::SetBufferSizeLimit ( int  l)
inline

Sets the size limit on the software frame buffer.

void TK_Rendering_Options::SetColorBackForcedLockMask ( int  m)
inline

Sets the mask indicating which back color channels have a forced lock setting. Color channels are specified by #TKO_Color_Channel_ForcedLock_Bits.

void TK_Rendering_Options::SetColorBackForcedLockValue ( int  v)
inline

Sets the value indicating which back color channels are forceded. Color channels are specified by #TKO_Color_Channel_ForcedLock_Bits.

void TK_Rendering_Options::SetColorBackLockMask ( int  m)
inline

Sets the mask indicating which back color channels have a lock setting. Color channels are specified by TKO_Color_Channel_Lock_Bits.

void TK_Rendering_Options::SetColorBackLockValue ( int  v)
inline

Sets the value indicating which back color channels are locked. Color channels are specified by TKO_Color_Channel_Lock_Bits.

void TK_Rendering_Options::SetColorEdgeContrastForcedLockMask ( int  m)
inline

Sets the mask indicating which edge_contrast color channels have a forced lock setting. Color channels are specified by #TKO_Color_Channel_ForcedLock_Bits.

void TK_Rendering_Options::SetColorEdgeContrastForcedLockValue ( int  v)
inline

Sets the value indicating which edge_contrast color channels are forceded. Color channels are specified by #TKO_Color_Channel_ForcedLock_Bits.

void TK_Rendering_Options::SetColorEdgeContrastLockMask ( int  m)
inline

Sets the mask indicating which edge_contrast color channels have a lock setting. Color channels are specified by TKO_Color_Channel_Lock_Bits.

void TK_Rendering_Options::SetColorEdgeContrastLockValue ( int  v)
inline

Sets the value indicating which edge_contrast color channels are locked. Color channels are specified by TKO_Color_Channel_Lock_Bits.

void TK_Rendering_Options::SetColorEdgeForcedLockMask ( int  m)
inline

Sets the mask indicating which edge color channels have a forced lock setting. Color channels are specified by #TKO_Color_Channel_ForcedLock_Bits.

void TK_Rendering_Options::SetColorEdgeForcedLockValue ( int  v)
inline

Sets the value indicating which edge color channels are forceded. Color channels are specified by #TKO_Color_Channel_ForcedLock_Bits.

void TK_Rendering_Options::SetColorEdgeLockMask ( int  m)
inline

Sets the mask indicating which edge color channels have a lock setting. Color channels are specified by TKO_Color_Channel_Lock_Bits.

void TK_Rendering_Options::SetColorEdgeLockValue ( int  v)
inline

Sets the value indicating which edge color channels are locked. Color channels are specified by TKO_Color_Channel_Lock_Bits.

void TK_Rendering_Options::SetColorFaceContrastForcedLockMask ( int  m)
inline

Sets the mask indicating which face_contrast color channels have a forced lock setting. Color channels are specified by #TKO_Color_Channel_ForcedLock_Bits.

void TK_Rendering_Options::SetColorFaceContrastForcedLockValue ( int  v)
inline

Sets the value indicating which face_contrast color channels are forceded. Color channels are specified by #TKO_Color_Channel_ForcedLock_Bits.

void TK_Rendering_Options::SetColorFaceContrastLockMask ( int  m)
inline

Sets the mask indicating which face_contrast color channels have a lock setting. Color channels are specified by TKO_Color_Channel_Lock_Bits.

void TK_Rendering_Options::SetColorFaceContrastLockValue ( int  v)
inline

Sets the value indicating which face_contrast color channels are locked. Color channels are specified by TKO_Color_Channel_Lock_Bits.

void TK_Rendering_Options::SetColorFaceForcedLockMask ( int  m)
inline

Sets the mask indicating which face color channels have a forced lock setting. Color channels are specified by #TKO_Color_Channel_ForcedLock_Bits.

void TK_Rendering_Options::SetColorFaceForcedLockValue ( int  v)
inline

Sets the value indicating which face color channels are forceded. Color channels are specified by #TKO_Color_Channel_ForcedLock_Bits.

void TK_Rendering_Options::SetColorFaceLockMask ( int  m)
inline

Sets the mask indicating which face color channels have a lock setting. Color channels are specified by TKO_Color_Channel_Lock_Bits.

void TK_Rendering_Options::SetColorFaceLockValue ( int  v)
inline

Sets the value indicating which face color channels are locked. Color channels are specified by TKO_Color_Channel_Lock_Bits.

void TK_Rendering_Options::SetColorForcedLockMask ( int  m)
inline

Sets the mask indicating which types of geometry have a color forced lock setting. Geometry types are specified by TKO_Geometry_Bits.

void TK_Rendering_Options::SetColorForcedLockValue ( int  v)
inline

Sets the mask indicating which geometry colors are forceded. Geometry types are specified by TKO_Geometry_Bits.

void TK_Rendering_Options::SetColorLineContrastForcedLockMask ( int  m)
inline

Sets the mask indicating which line_contrast color channels have a forced lock setting. Color channels are specified by #TKO_Color_Channel_ForcedLock_Bits.

void TK_Rendering_Options::SetColorLineContrastForcedLockValue ( int  v)
inline

Sets the value indicating which line_contrast color channels are forceded. Color channels are specified by #TKO_Color_Channel_ForcedLock_Bits.

void TK_Rendering_Options::SetColorLineContrastLockMask ( int  m)
inline

Sets the mask indicating which line_contrast color channels have a lock setting. Color channels are specified by TKO_Color_Channel_Lock_Bits.

void TK_Rendering_Options::SetColorLineContrastLockValue ( int  v)
inline

Sets the value indicating which line_contrast color channels are locked. Color channels are specified by TKO_Color_Channel_Lock_Bits.

void TK_Rendering_Options::SetColorLineForcedLockMask ( int  m)
inline

Sets the mask indicating which line color channels have a forced lock setting. Color channels are specified by #TKO_Color_Channel_ForcedLock_Bits.

void TK_Rendering_Options::SetColorLineForcedLockValue ( int  v)
inline

Sets the value indicating which line color channels are forceded. Color channels are specified by #TKO_Color_Channel_ForcedLock_Bits.

void TK_Rendering_Options::SetColorLineLockMask ( int  m)
inline

Sets the mask indicating which line color channels have a lock setting. Color channels are specified by TKO_Color_Channel_Lock_Bits.

void TK_Rendering_Options::SetColorLineLockValue ( int  v)
inline

Sets the value indicating which line color channels are locked. Color channels are specified by TKO_Color_Channel_Lock_Bits.

void TK_Rendering_Options::SetColorLockMask ( int  m)
inline

Sets the mask indicating which types of geometry have a color lock setting. Geometry types are specified by TKO_Geometry_Bits.

void TK_Rendering_Options::SetColorLockValue ( int  v)
inline

Sets the mask indicating which geometry colors are locked. Geometry types are specified by TKO_Geometry_Bits.

void TK_Rendering_Options::SetColorMarkerContrastForcedLockMask ( int  m)
inline

Sets the mask indicating which marker_contrast color channels have a forced lock setting. Color channels are specified by #TKO_Color_Channel_ForcedLock_Bits.

void TK_Rendering_Options::SetColorMarkerContrastForcedLockValue ( int  v)
inline

Sets the value indicating which marker_contrast color channels are forceded. Color channels are specified by #TKO_Color_Channel_ForcedLock_Bits.

void TK_Rendering_Options::SetColorMarkerContrastLockMask ( int  m)
inline

Sets the mask indicating which marker_contrast color channels have a lock setting. Color channels are specified by TKO_Color_Channel_Lock_Bits.

void TK_Rendering_Options::SetColorMarkerContrastLockValue ( int  v)
inline

Sets the value indicating which marker_contrast color channels are locked. Color channels are specified by TKO_Color_Channel_Lock_Bits.

void TK_Rendering_Options::SetColorMarkerForcedLockMask ( int  m)
inline

Sets the mask indicating which marker color channels have a forced lock setting. Color channels are specified by #TKO_Color_Channel_ForcedLock_Bits.

void TK_Rendering_Options::SetColorMarkerForcedLockValue ( int  v)
inline

Sets the value indicating which marker color channels are forceded. Color channels are specified by #TKO_Color_Channel_ForcedLock_Bits.

void TK_Rendering_Options::SetColorMarkerLockMask ( int  m)
inline

Sets the mask indicating which marker color channels have a lock setting. Color channels are specified by TKO_Color_Channel_Lock_Bits.

void TK_Rendering_Options::SetColorMarkerLockValue ( int  v)
inline

Sets the value indicating which marker color channels are locked. Color channels are specified by TKO_Color_Channel_Lock_Bits.

void TK_Rendering_Options::SetColorTextContrastForcedLockMask ( int  m)
inline

Sets the mask indicating which text_contrast color channels have a forced lock setting. Color channels are specified by #TKO_Color_Channel_ForcedLock_Bits.

void TK_Rendering_Options::SetColorTextContrastForcedLockValue ( int  v)
inline

Sets the value indicating which text_contrast color channels are forceded. Color channels are specified by #TKO_Color_Channel_ForcedLock_Bits.

void TK_Rendering_Options::SetColorTextContrastLockMask ( int  m)
inline

Sets the mask indicating which text_contrast color channels have a lock setting. Color channels are specified by TKO_Color_Channel_Lock_Bits.

void TK_Rendering_Options::SetColorTextContrastLockValue ( int  v)
inline

Sets the value indicating which text_contrast color channels are locked. Color channels are specified by TKO_Color_Channel_Lock_Bits.

void TK_Rendering_Options::SetColorTextForcedLockMask ( int  m)
inline

Sets the mask indicating which text color channels have a forced lock setting. Color channels are specified by #TKO_Color_Channel_ForcedLock_Bits.

void TK_Rendering_Options::SetColorTextForcedLockValue ( int  v)
inline

Sets the value indicating which text color channels are forceded. Color channels are specified by #TKO_Color_Channel_ForcedLock_Bits.

void TK_Rendering_Options::SetColorTextLockMask ( int  m)
inline

Sets the mask indicating which text color channels have a lock setting. Color channels are specified by TKO_Color_Channel_Lock_Bits.

void TK_Rendering_Options::SetColorTextLockValue ( int  v)
inline

Sets the value indicating which text color channels are locked. Color channels are specified by TKO_Color_Channel_Lock_Bits.

void TK_Rendering_Options::SetColorVertexContrastForcedLockMask ( int  m)
inline

Sets the mask indicating which vertex_contrast color channels have a forced lock setting. Color channels are specified by #TKO_Color_Channel_ForcedLock_Bits.

void TK_Rendering_Options::SetColorVertexContrastForcedLockValue ( int  v)
inline

Sets the value indicating which vertex_contrast color channels are forceded. Color channels are specified by #TKO_Color_Channel_ForcedLock_Bits.

void TK_Rendering_Options::SetColorVertexContrastLockMask ( int  m)
inline

Sets the mask indicating which vertex_contrast color channels have a lock setting. Color channels are specified by TKO_Color_Channel_Lock_Bits.

void TK_Rendering_Options::SetColorVertexContrastLockValue ( int  v)
inline

Sets the value indicating which vertex_contrast color channels are locked. Color channels are specified by TKO_Color_Channel_Lock_Bits.

void TK_Rendering_Options::SetColorVertexForcedLockMask ( int  m)
inline

Sets the mask indicating which vertex color channels have a forced lock setting. Color channels are specified by #TKO_Color_Channel_ForcedLock_Bits.

void TK_Rendering_Options::SetColorVertexForcedLockValue ( int  v)
inline

Sets the value indicating which vertex color channels are forceded. Color channels are specified by #TKO_Color_Channel_ForcedLock_Bits.

void TK_Rendering_Options::SetColorVertexLockMask ( int  m)
inline

Sets the mask indicating which vertex color channels have a lock setting. Color channels are specified by TKO_Color_Channel_Lock_Bits.

void TK_Rendering_Options::SetColorVertexLockValue ( int  v)
inline

Sets the value indicating which vertex color channels are locked. Color channels are specified by TKO_Color_Channel_Lock_Bits.

void TK_Rendering_Options::SetColorWindowContrastForcedLockMask ( int  m)
inline

Sets the mask indicating which window_contrast color channels have a forced lock setting. Color channels are specified by #TKO_Color_Channel_ForcedLock_Bits.

void TK_Rendering_Options::SetColorWindowContrastForcedLockValue ( int  v)
inline

Sets the value indicating which window_contrast color channels are forceded. Color channels are specified by #TKO_Color_Channel_ForcedLock_Bits.

void TK_Rendering_Options::SetColorWindowContrastLockMask ( int  m)
inline

Sets the mask indicating which window_contrast color channels have a lock setting. Color channels are specified by TKO_Color_Channel_Lock_Bits.

void TK_Rendering_Options::SetColorWindowContrastLockValue ( int  v)
inline

Sets the value indicating which window_contrast color channels are locked. Color channels are specified by TKO_Color_Channel_Lock_Bits.

void TK_Rendering_Options::SetColorWindowForcedLockMask ( int  m)
inline

Sets the mask indicating which window color channels have a forced lock setting. Color channels are specified by #TKO_Color_Channel_ForcedLock_Bits.

void TK_Rendering_Options::SetColorWindowForcedLockValue ( int  v)
inline

Sets the value indicating which window color channels are forceded. Color channels are specified by #TKO_Color_Channel_ForcedLock_Bits.

void TK_Rendering_Options::SetColorWindowLockMask ( int  m)
inline

Sets the mask indicating which window color channels have a lock setting. Color channels are specified by TKO_Color_Channel_Lock_Bits.

void TK_Rendering_Options::SetColorWindowLockValue ( int  v)
inline

Sets the value indicating which window color channels are locked. Color channels are specified by TKO_Color_Channel_Lock_Bits.

void TK_Rendering_Options::SetCutGeometry ( int  m)
inline

Sets the mask indicating which cut geometry options to use.

void TK_Rendering_Options::SetCutGeometryColorMatch ( int  m)
inline

Sets the cut geometry color match option.

void TK_Rendering_Options::SetCutGeometryLevel ( int  m)
inline

Sets the cut geometry level.

void TK_Rendering_Options::SetCutGeometryTolerance ( float  m)
inline

Sets the cut geometry point matching tolerance.

void TK_Rendering_Options::SetCylinderTessellation ( int  n)
inline

Sets a single cylinder tessellation value used for surface generation

void TK_Rendering_Options::SetCylinderTessellations ( int  c,
char const *  n = 0 
)
inline

Sets the cylinder tessellation values used for surface generation

void TK_Rendering_Options::SetDebug ( int  d)
inline

Sets the debug options

void TK_Rendering_Options::SetDepthRange ( float  n,
float  f 
)
inline

Sets the depth range using discrete values

void TK_Rendering_Options::SetDepthRange ( float const  l[])
inline

Sets the depth range using a float pair

References SetDepthRange().

Referenced by SetDepthRange().

void TK_Rendering_Options::SetDiffuseTextureTintColor ( float  r,
float  g,
float  b 
)
inline

Sets the rgb color value as discrete floats

void TK_Rendering_Options::SetDiffuseTextureTintColor ( float const  rgb[])
inline

Sets the rgb color value as a float triplet

References SetDiffuseTextureTintColor().

Referenced by SetDiffuseTextureTintColor().

void TK_Rendering_Options::SetDisplayListLevel ( int  m)
inline

Sets the display list level.

void TK_Rendering_Options::SetFaceDisplacement ( int  d)
inline

Sets the face displacement value

void TK_Rendering_Options::SetFogLimits ( float  n,
float  f 
)
inline

Sets the fog limits using discrete values

void TK_Rendering_Options::SetFogLimits ( float const  l[])
inline

Sets the fog limits using a float pair

References SetFogLimits().

Referenced by SetFogLimits().

void TK_Rendering_Options::SetForcedLockMask ( int  m)
inline

Sets the mask indicating which attributes have a forced lock setting. ForcedLock settings are specified by #TKO_Attribute_ForcedLock_Bits.

void TK_Rendering_Options::SetForcedLockValue ( int  v)
inline

Sets the mask indicating which attributes are forceded. ForcedLock settings are specified by #TKO_Attribute_ForcedLock_Bits.

void TK_Rendering_Options::SetGeneralDisplacement ( int  d)
inline

Sets the general displacement value

void TK_Rendering_Options::SetGeometryOptionsMask ( int  m)
inline

Sets the mask indicating which geometry options are set.

void TK_Rendering_Options::SetHardEdgeAngle ( int  m)
inline

Sets the value of the hard edge angle limit.

void TK_Rendering_Options::SetHlrDimFactor ( float  d)
inline

Sets the dim factor used when hidden lines are displayed.

void TK_Rendering_Options::SetHlrFaceDisplacement ( float  d)
inline

Sets the displacement used for faces during hidden line calculations.

void TK_Rendering_Options::SetHlrFaceSortingAlgorithm ( int  a)
inline

Sets the displacement used for faces during hidden line calculations.

void TK_Rendering_Options::SetHlrLinePattern ( int  p)
inline

Sets the mask indicating which hlr options are set.

void TK_Rendering_Options::SetHlrOptions ( int  o)
inline

Sets the mask indicating which hlr options are set.

References TKO_Hidden_Line_Extended, TKO_Hidden_Line_Extended2, TKO_Hidden_Line_Extended2_Mask, and TKO_Hidden_Line_Extended_Mask.

void TK_Rendering_Options::SetHSR ( int  h)
inline

Sets the Hidden Surface Removal algorithm

void TK_Rendering_Options::SetImageScale ( float  x,
float  y 
)
inline

Sets the image scale factors using discrete values

void TK_Rendering_Options::SetImageScale ( float const  s[])
inline

Sets the image scale factors using a float pair

References SetImageScale().

Referenced by SetImageScale().

void TK_Rendering_Options::SetImageTintColor ( float  r,
float  g,
float  b 
)
inline

Sets the rgb color value as discrete floats

void TK_Rendering_Options::SetImageTintColor ( float const  rgb[])
inline

Sets the rgb color value as a float triplet

References SetImageTintColor().

Referenced by SetImageTintColor().

void TK_Rendering_Options::SetJoinCutoffAngle ( int  d)
inline

Sets the join cutoff limit value

void TK_Rendering_Options::SetLockMask ( int  m)
inline

Sets the mask indicating which attributes have a lock setting. Lock settings are specified by TKO_Attribute_Lock_Bits.

void TK_Rendering_Options::SetLockValue ( int  v)
inline

Sets the mask indicating which attributes are locked. Lock settings are specified by TKO_Attribute_Lock_Bits.

void TK_Rendering_Options::SetLodAlgorithm ( int  v)
inline

Sets the type of algorithm used for LOD generation

void TK_Rendering_Options::SetLodBounding ( float  x1,
float  y1,
float  z1,
float  x2,
float  y2,
float  z2 
)
inline

Sets the explicit LOD bounding volume as discrete float values

void TK_Rendering_Options::SetLodBounding ( float const  s[],
float const  e[] 
)
inline

Sets the explicit LOD bounding volume using discrete float triplets

void TK_Rendering_Options::SetLodBounding ( float const  p[])
inline

Sets the explicit LOD bounding volume using an array of 6 floats

References SetLodBounding().

Referenced by SetLodBounding().

void TK_Rendering_Options::SetLodClamp ( int  v)
inline

Sets the clamp level for LOD display

void TK_Rendering_Options::SetLodCutoff ( float  r)
inline

Sets a single cutoff used for LOD generation

void TK_Rendering_Options::SetLodCutoffs ( int  c,
float const  r[] = 0 
)
inline

Sets the cutoffs used for LOD generation

void TK_Rendering_Options::SetLodFallback ( int  v)
inline

Sets the fallback method for LOD display selection

void TK_Rendering_Options::SetLodMaxDegree ( int  v)
inline

Sets the maximum degree

void TK_Rendering_Options::SetLodMinimumTriangleCount ( int  v)
inline

Sets the minimum triangle count for LOD generation

void TK_Rendering_Options::SetLodNumLevels ( int  v)
inline

Sets the number of LOD levels to generate

void TK_Rendering_Options::SetLodOptionsMask ( int  v)
inline

Sets the mask indicating which LOD options are set.

void TK_Rendering_Options::SetLodOptionsValue ( int  v)
inline

Sets the mask indicating which LOD options are "on".

void TK_Rendering_Options::SetLodRatio ( float  r)
inline

Sets a single ratio used for LOD generation

void TK_Rendering_Options::SetLodRatios ( int  c,
float const  r[] = 0 
)
inline

Sets the ratios used for LOD generation

void TK_Rendering_Options::SetLodThreshold ( float  r)
inline

Sets a single threshold used for LOD generation

void TK_Rendering_Options::SetLodThresholds ( int  c,
float const  r[] = 0 
)
inline

Sets the thresholds used for LOD generation

void TK_Rendering_Options::SetLodThresholdType ( int  v)
inline

Sets the method used to determine when a LOD is not worth generating

void TK_Rendering_Options::SetLodTolerance ( float  v)
inline

Sets the tolerance for collapsing points

void TK_Rendering_Options::SetMask ( int  m0,
int  m1 = 0,
int  m2 = 0 
)
inline

Sets the mask indicating which options have a setting

References TKO_Rendo_Extended.

void TK_Rendering_Options::SetMaskTransform ( int  m)
inline

Sets the mask indicating which transform components should be blocked.

void TK_Rendering_Options::SetNURBSCurveBudget ( int  b)
inline

Sets the point budget for NURBS curve tessellation.

void TK_Rendering_Options::SetNURBSCurveContinuedBudget ( int  b)
inline

Sets the point budget for NURBS curve tessellation.

void TK_Rendering_Options::SetNURBSOptionsMask ( int  m)
inline

Sets the mask indicating which NURBS options are set.

References TKO_NURBS_Extended, and TKO_NURBS_Extended_Mask.

void TK_Rendering_Options::SetNURBSOptionsValue ( int  v)
inline

Sets the mask indicating which NURBS options are "on".

void TK_Rendering_Options::SetNURBSSurfaceBudget ( int  b)
inline

Sets the point budget for NURBS surface tessellation.

void TK_Rendering_Options::SetNURBSSurfaceTrimBudget ( int  b)
inline

Sets the point budget for NURBS trim curve tessellation.

void TK_Rendering_Options::SetQuantization ( int  q)
inline

Sets the quantization methods used when displaying on color-limited devices

void TK_Rendering_Options::SetScreenRange ( float  l,
float  r,
float  b,
float  t 
)
inline

Sets the screen range using discrete values

void TK_Rendering_Options::SetScreenRange ( float const  l[])
inline

Sets the screen range using a float pair

References SetScreenRange().

Referenced by SetScreenRange().

void TK_Rendering_Options::SetShadowMap ( int  m)
inline

Sets the mask indicating which shadow map options to use.

void TK_Rendering_Options::SetShadowMapResolution ( int  m)
inline

Sets the shadow map image resolution.

void TK_Rendering_Options::SetShadowMapSamples ( int  m)
inline

Sets the shadow map image samples.

void TK_Rendering_Options::SetSimpleReflection ( int  m)
inline

Sets the mask indicating which simple reflection options to use.

void TK_Rendering_Options::SetSimpleReflectionOpacity ( float  o)
inline

Sets the simple reflection opacity.

void TK_Rendering_Options::SetSimpleReflectionPlane ( float  a,
float  b,
float  c,
float  d 
)
inline

Sets the simple reflection projection plane using discrete values

void TK_Rendering_Options::SetSimpleReflectionPlane ( float const  p[])
inline

Sets the simple reflection projection plane using a float pair

References SetSimpleReflectionPlane().

Referenced by SetSimpleReflectionPlane().

void TK_Rendering_Options::SetSimpleReflectionVisibilityMask ( int  m)
inline

Sets the mask indicating which simple reflection options to use.

void TK_Rendering_Options::SetSimpleShadow ( int  m)
inline

Sets the mask indicating which simple shadow options to use.

void TK_Rendering_Options::SetSimpleShadowBlur ( int  m)
inline

Sets the simple shadow blur (softness) level.

void TK_Rendering_Options::SetSimpleShadowColor ( float  r,
float  g,
float  b 
)
inline

Sets the rgb color value as discrete floats

void TK_Rendering_Options::SetSimpleShadowColor ( float const  rgb[])
inline

Sets the rgb color value as a float triplet

References SetSimpleShadowColor().

Referenced by SetSimpleShadowColor().

void TK_Rendering_Options::SetSimpleShadowLight ( float  x,
float  y,
float  z 
)
inline

Sets the simple shadow light direction using discrete values

void TK_Rendering_Options::SetSimpleShadowLight ( float const  l[])
inline

Sets the simple shadow light direction using a float pair

References SetSimpleShadowLight().

Referenced by SetSimpleShadowLight().

void TK_Rendering_Options::SetSimpleShadowOpacity ( float  o)
inline

Sets the simple shadow opacity.

void TK_Rendering_Options::SetSimpleShadowPlane ( float  a,
float  b,
float  c,
float  d 
)
inline

Sets the simple shadow projection plane using discrete values

void TK_Rendering_Options::SetSimpleShadowPlane ( float const  p[])
inline

Sets the simple shadow projection plane using a float pair

References SetSimpleShadowPlane().

Referenced by SetSimpleShadowPlane().

void TK_Rendering_Options::SetSimpleShadowResolution ( int  m)
inline

Sets the simple shadow image resolution.

void TK_Rendering_Options::SetSphereTessellation ( int  n)
inline

Sets a single sphere tessellation value used for surface generation

void TK_Rendering_Options::SetSphereTessellations ( int  c,
char const *  n = 0 
)
inline

Sets the sphere tessellation values used for surface generation

void TK_Rendering_Options::SetStereoDistance ( float  d)
inline

Sets the focal distance for stereo viewing.

void TK_Rendering_Options::SetStereoSeparation ( float  s)
inline

Sets the eye separation for stereo viewing.

void TK_Rendering_Options::SetTechnology ( int  t)
inline

Sets the general technology used for drawing

void TK_Rendering_Options::SetTessellationMask ( int  m)
inline

Sets the mask indicating which tessellation options are set.

void TK_Rendering_Options::SetTransparentHSR ( int  t)
inline

Sets the drawing style used for transparent components

void TK_Rendering_Options::SetTransparentStyle ( int  s)
inline

Sets the Hidden Surface Removal algorithm used for transparent components

void TK_Rendering_Options::SetValue ( int  v0,
int  v1 = 0,
int  v2 = 0 
)
inline

Sets the mask indicating which options are set on/active

void TK_Rendering_Options::SetVertexDecimation ( float  f)
inline

Sets the vertex decimation factor.

void TK_Rendering_Options::SetVertexDisplacement ( int  d)
inline

Sets the vertex displacement value

void TK_Rendering_Options::SetVisibilityForcedLockMask ( int  m)
inline

Sets the mask indicating which types of geometry have a visibility forced lock setting. Geometry types are specified by TKO_Geometry_Bits.

void TK_Rendering_Options::SetVisibilityForcedLockValue ( int  v)
inline

Sets the mask indicating which geometry visibilities are forceded. Geometry types are specified by TKO_Geometry_Bits.

void TK_Rendering_Options::SetVisibilityLockMask ( int  m)
inline

Sets the mask indicating which types of geometry have a visibility lock setting. Geometry types are specified by TKO_Geometry_Bits.

void TK_Rendering_Options::SetVisibilityLockValue ( int  v)
inline

Sets the mask indicating which geometry visibilities are locked. Geometry types are specified by TKO_Geometry_Bits.

TK_Status TK_Rendering_Options::Write ( BStreamFileToolkit tk)
virtual

Encodes/compresses data and writes data to the toolkit buffer. User-defined classes which need to write out custom data should utilize one of the available PutData() methods, and first write out the opcode associated with the group of binary data followed by the data itself.

Parameters
tkA reference to the BStreamFileToolkit object.
Returns
The result of the function call.

Implements BBaseOpcodeHandler.

Member Data Documentation

int TK_Rendering_Options::m_gooch_color_map_segment_length
protected

Length of color map segment string


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