TK_Rendering_Options

class TK_Rendering_Options

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.

Inherits from: BBaseOpcodeHandler

Index

Methods

Variables

Methods

TK_Rendering_Options::TK_Rendering_Options()

constructor

TK_Rendering_Options::~TK_Rendering_Options()
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

tk: A reference to the BStreamFileToolkit object.

Returns

The result of the function call.
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

tk: A reference to the BStreamFileToolkit object.

Returns

The result of the function call.
TK_Status TK_Rendering_Options::Clone(BStreamFileToolkit &tk, BBaseOpcodeHandler **handler) const

const virtual

Copies the opcode handler

Parameters

tk: A reference to the BStreamFileToolkit object.

handler: A pointer to the opcode handler object. Passed by reference.

Returns

The result of the function call.
TK_Status TK_Rendering_Options::ReadAscii(BStreamFileToolkit &tk)

Deprecated.

TK_Status TK_Rendering_Options::WriteAscii(BStreamFileToolkit &tk)

Deprecated.

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.

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

Sets the mask indicating which options have a setting

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

const

Returns the mask indicating which options have a setting

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

Sets the mask indicating which options are set on/active

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

const

Returns the mask indicating which options are set on/active

void TK_Rendering_Options::SetHSR(int h)

Sets the Hidden Surface Removal algorithm

int TK_Rendering_Options::GetHSR() const

const

Returns the Hidden Surface Removal algorithm

void TK_Rendering_Options::SetTransparentHSR(int t)

Sets the drawing style used for transparent components

int TK_Rendering_Options::GetTransparentHSR() const

const

Returns the drawing style used for transparent components

void TK_Rendering_Options::SetTransparentStyle(int s)

Sets the Hidden Surface Removal algorithm used for transparent components

int TK_Rendering_Options::GetTransparentStyle() const

const

Returns the Hidden Surface Removal algorithm used for transparent components

void TK_Rendering_Options::SetTechnology(int t)

Sets the general technology used for drawing

int TK_Rendering_Options::GetTechnology() const

const

Returns the general technology used for drawing

void TK_Rendering_Options::SetQuantization(int q)

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

int TK_Rendering_Options::GetQuantization() const

const

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

void TK_Rendering_Options::SetDebug(int d)

Sets the debug options

int TK_Rendering_Options::GetDebug() const

const

Returns the debug options

void TK_Rendering_Options::SetFaceDisplacement(int d)

Sets the face displacement value

int TK_Rendering_Options::GetFaceDisplacement() const

const

Returns the face displacement value

void TK_Rendering_Options::SetVertexDisplacement(int d)

Sets the vertex displacement value

int TK_Rendering_Options::GetVertexDisplacement() const

const

Returns the vertex displacement value

void TK_Rendering_Options::SetGeneralDisplacement(int d)

Sets the general displacement value

int TK_Rendering_Options::GetGeneralDisplacement() const

const

Returns the general displacement value

void TK_Rendering_Options::SetJoinCutoffAngle(int d)

Sets the join cutoff limit value

int TK_Rendering_Options::GetJoinCutoffAngle() const

const

Returns the join cutoff limit value

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

Sets the fog limits using discrete values

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

Sets the fog limits using a float pair

float const *TK_Rendering_Options::GetFogLimits() const

const

Returns the fog limits as the address of a float pair

void TK_Rendering_Options::SetLockMask(int m)

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

int TK_Rendering_Options::GetLockMask() const

const

Returns 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)

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

int TK_Rendering_Options::GetLockValue() const

const

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

void TK_Rendering_Options::SetVisibilityLockMask(int m)

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

int TK_Rendering_Options::GetVisibilityLockMask() const

const

Returns 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)

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

int TK_Rendering_Options::GetVisibilityLockValue() const

const

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

void TK_Rendering_Options::SetColorLockMask(int m)

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

int TK_Rendering_Options::GetColorLockMask() const

const

Returns 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)

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

int TK_Rendering_Options::GetColorLockValue() const

const

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

void TK_Rendering_Options::SetColorFaceLockMask(int m)

Sets 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::GetColorFaceLockMask() const

const

Returns 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)

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

int TK_Rendering_Options::GetColorFaceLockValue() const

const

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

void TK_Rendering_Options::SetColorEdgeLockMask(int m)

Sets 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::GetColorEdgeLockMask() const

const

Returns 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)

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

int TK_Rendering_Options::GetColorEdgeLockValue() const

const

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

void TK_Rendering_Options::SetColorLineLockMask(int m)

Sets 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::GetColorLineLockMask() const

const

Returns 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)

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

int TK_Rendering_Options::GetColorLineLockValue() const

const

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

void TK_Rendering_Options::SetColorMarkerLockMask(int m)

Sets 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::GetColorMarkerLockMask() const

const

Returns 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)

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

int TK_Rendering_Options::GetColorMarkerLockValue() const

const

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

void TK_Rendering_Options::SetColorTextLockMask(int m)

Sets 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::GetColorTextLockMask() const

const

Returns 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)

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

int TK_Rendering_Options::GetColorTextLockValue() const

const

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

void TK_Rendering_Options::SetColorWindowLockMask(int m)

Sets 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::GetColorWindowLockMask() const

const

Returns 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)

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

int TK_Rendering_Options::GetColorWindowLockValue() const

const

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

void TK_Rendering_Options::SetColorFaceContrastLockMask(int m)

Sets 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::GetColorFaceContrastLockMask() const

const

Returns 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)

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

int TK_Rendering_Options::GetColorFaceContrastLockValue() const

const

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

void TK_Rendering_Options::SetColorWindowContrastLockMask(int m)

Sets 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::GetColorWindowContrastLockMask() const

const

Returns 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)

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

int TK_Rendering_Options::GetColorWindowContrastLockValue() const

const

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

void TK_Rendering_Options::SetColorBackLockMask(int m)

Sets 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::GetColorBackLockMask() const

const

Returns 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)

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

int TK_Rendering_Options::GetColorBackLockValue() const

const

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

void TK_Rendering_Options::SetColorVertexLockMask(int m)

Sets 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::GetColorVertexLockMask() const

const

Returns 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)

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

int TK_Rendering_Options::GetColorVertexLockValue() const

const

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

void TK_Rendering_Options::SetColorEdgeContrastLockMask(int m)

Sets 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::GetColorEdgeContrastLockMask() const

const

Returns 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)

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

int TK_Rendering_Options::GetColorEdgeContrastLockValue() const

const

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

void TK_Rendering_Options::SetColorLineContrastLockMask(int m)

Sets 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::GetColorLineContrastLockMask() const

const

Returns 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)

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

int TK_Rendering_Options::GetColorLineContrastLockValue() const

const

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

void TK_Rendering_Options::SetColorMarkerContrastLockMask(int m)

Sets 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::GetColorMarkerContrastLockMask() const

const

Returns 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)

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

int TK_Rendering_Options::GetColorMarkerContrastLockValue() const

const

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

void TK_Rendering_Options::SetColorVertexContrastLockMask(int m)

Sets 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::GetColorVertexContrastLockMask() const

const

Returns 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)

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

int TK_Rendering_Options::GetColorVertexContrastLockValue() const

const

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

void TK_Rendering_Options::SetColorTextContrastLockMask(int m)

Sets 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::GetColorTextContrastLockMask() const

const

Returns 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)

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

int TK_Rendering_Options::GetColorTextContrastLockValue() const

const

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

void TK_Rendering_Options::SetForcedLockMask(int m)

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

int TK_Rendering_Options::GetForcedLockMask() const

const

Returns 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)

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

int TK_Rendering_Options::GetForcedLockValue() const

const

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

void TK_Rendering_Options::SetVisibilityForcedLockMask(int m)

Sets 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::GetVisibilityForcedLockMask() const

const

Returns 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)

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

int TK_Rendering_Options::GetVisibilityForcedLockValue() const

const

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

void TK_Rendering_Options::SetColorForcedLockMask(int m)

Sets 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::GetColorForcedLockMask() const

const

Returns 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)

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

int TK_Rendering_Options::GetColorForcedLockValue() const

const

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

void TK_Rendering_Options::SetColorFaceForcedLockMask(int m)

Sets 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::GetColorFaceForcedLockMask() const

const

Returns 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)

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

int TK_Rendering_Options::GetColorFaceForcedLockValue() const

const

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

void TK_Rendering_Options::SetColorEdgeForcedLockMask(int m)

Sets 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::GetColorEdgeForcedLockMask() const

const

Returns 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)

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

int TK_Rendering_Options::GetColorEdgeForcedLockValue() const

const

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

void TK_Rendering_Options::SetColorLineForcedLockMask(int m)

Sets 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::GetColorLineForcedLockMask() const

const

Returns 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)

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

int TK_Rendering_Options::GetColorLineForcedLockValue() const

const

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

void TK_Rendering_Options::SetColorMarkerForcedLockMask(int m)

Sets 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::GetColorMarkerForcedLockMask() const

const

Returns 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)

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

int TK_Rendering_Options::GetColorMarkerForcedLockValue() const

const

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

void TK_Rendering_Options::SetColorTextForcedLockMask(int m)

Sets 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::GetColorTextForcedLockMask() const

const

Returns 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)

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

int TK_Rendering_Options::GetColorTextForcedLockValue() const

const

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

void TK_Rendering_Options::SetColorWindowForcedLockMask(int m)

Sets 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::GetColorWindowForcedLockMask() const

const

Returns 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)

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

int TK_Rendering_Options::GetColorWindowForcedLockValue() const

const

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

void TK_Rendering_Options::SetColorFaceContrastForcedLockMask(int m)

Sets 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::GetColorFaceContrastForcedLockMask() const

const

Returns 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)

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

int TK_Rendering_Options::GetColorFaceContrastForcedLockValue() const

const

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

void TK_Rendering_Options::SetColorWindowContrastForcedLockMask(int m)

Sets 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::GetColorWindowContrastForcedLockMask() const

const

Returns 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)

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

int TK_Rendering_Options::GetColorWindowContrastForcedLockValue() const

const

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

void TK_Rendering_Options::SetColorBackForcedLockMask(int m)

Sets 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::GetColorBackForcedLockMask() const

const

Returns 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)

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

int TK_Rendering_Options::GetColorBackForcedLockValue() const

const

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

void TK_Rendering_Options::SetColorVertexForcedLockMask(int m)

Sets 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::GetColorVertexForcedLockMask() const

const

Returns 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)

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

int TK_Rendering_Options::GetColorVertexForcedLockValue() const

const

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

void TK_Rendering_Options::SetColorEdgeContrastForcedLockMask(int m)

Sets 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::GetColorEdgeContrastForcedLockMask() const

const

Returns 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)

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

int TK_Rendering_Options::GetColorEdgeContrastForcedLockValue() const

const

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

void TK_Rendering_Options::SetColorLineContrastForcedLockMask(int m)

Sets 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::GetColorLineContrastForcedLockMask() const

const

Returns 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)

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

int TK_Rendering_Options::GetColorLineContrastForcedLockValue() const

const

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

void TK_Rendering_Options::SetColorMarkerContrastForcedLockMask(int m)

Sets 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::GetColorMarkerContrastForcedLockMask() const

const

Returns 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)

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

int TK_Rendering_Options::GetColorMarkerContrastForcedLockValue() const

const

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

void TK_Rendering_Options::SetColorVertexContrastForcedLockMask(int m)

Sets 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::GetColorVertexContrastForcedLockMask() const

const

Returns 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)

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

int TK_Rendering_Options::GetColorVertexContrastForcedLockValue() const

const

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

void TK_Rendering_Options::SetColorTextContrastForcedLockMask(int m)

Sets 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::GetColorTextContrastForcedLockMask() const

const

Returns 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)

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

int TK_Rendering_Options::GetColorTextContrastForcedLockValue() const

const

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

void TK_Rendering_Options::SetBufferOptionsMask(int v)

Sets the mask indicating which buffer options are set.

int TK_Rendering_Options::GetBufferOptionsMask() const

const

Returns the mask indicating which buffer options are set.

void TK_Rendering_Options::SetBufferOptionsValue(int v)

Sets the mask indicating which buffer options are “on”.

int TK_Rendering_Options::GetBufferOptionsValue() const

const

Returns the mask indicating which buffer options are “on”.

void TK_Rendering_Options::SetBufferSizeLimit(int l)

Sets the size limit on the software frame buffer.

int TK_Rendering_Options::GetBufferSizeLimit() const

const

Returns the size limit on the software frame buffer.

void TK_Rendering_Options::SetStereoSeparation(float s)

Sets the eye separation for stereo viewing.

float TK_Rendering_Options::GetStereoSeparation() const

const

Returns the eye separation for stereo viewing.

void TK_Rendering_Options::SetStereoDistance(float d)

Sets the focal distance for stereo viewing.

float TK_Rendering_Options::GetStereoDistance() const

const

Returns the focal distance for stereo viewing.

void TK_Rendering_Options::SetHlrOptions(int o)

Sets the mask indicating which hlr options are set.

int TK_Rendering_Options::GetHlrOptions() const

const

Returns the mask indicating which hlr options are set.

void TK_Rendering_Options::SetHlrDimFactor(float d)

Sets the dim factor used when hidden lines are displayed.

float TK_Rendering_Options::GetHlrDimFactor() const

const

Returns the dim factor used when hidden lines are displayed.

void TK_Rendering_Options::SetHlrFaceDisplacement(float d)

Sets the displacement used for faces during hidden line calculations.

float TK_Rendering_Options::GetHlrFaceDisplacement() const

const

Returns the displacement used for faces during hidden line calculations.

void TK_Rendering_Options::SetHlrLinePattern(int p)

Sets the mask indicating which hlr options are set.

int TK_Rendering_Options::GetHlrLinePattern() const

const

Returns the mask indicating which hlr options are set.

void TK_Rendering_Options::SetHlrFaceSortingAlgorithm(int a)

Sets the displacement used for faces during hidden line calculations.

float TK_Rendering_Options::GetHlrFaceSortingAlgorithm() const

const

Returns the displacement used for faces during hidden line calculations.

void TK_Rendering_Options::SetNURBSOptionsMask(int m)

Sets the mask indicating which NURBS options are set.

int TK_Rendering_Options::GetNURBSOptionsMask() const

const

Returns the mask indicating which NURBS options are set.

void TK_Rendering_Options::SetNURBSOptionsValue(int v)

Sets the mask indicating which NURBS options are “on”.

int TK_Rendering_Options::GetNURBSOptionsValue() const

const

Returns the mask indicating which NURBS options are “on”.

void TK_Rendering_Options::SetNURBSCurveBudget(int b)

Sets the point budget for NURBS curve tessellation.

int TK_Rendering_Options::GetNURBSCurveBudget() const

const

Returns the point budget for NURBS curve tessellation.

void TK_Rendering_Options::SetNURBSCurveContinuedBudget(int b)

Sets the point budget for NURBS curve tessellation.

int TK_Rendering_Options::GetNURBSCurveContinuedBudget() const

const

Returns the point budget for NURBS curve tessellation.

void TK_Rendering_Options::SetNURBSSurfaceBudget(int b)

Sets the point budget for NURBS surface tessellation.

int TK_Rendering_Options::GetNURBSSurfaceBudget() const

const

Returns the point budget for NURBS surface tessellation.

void TK_Rendering_Options::SetNURBSSurfaceTrimBudget(int b)

Sets the point budget for NURBS trim curve tessellation.

int TK_Rendering_Options::GetNURBSSurfaceTrimBudget() const

const

Returns the point budget for NURBS trim curve tessellation.

void TK_Rendering_Options::SetLodOptionsMask(int v)

Sets the mask indicating which LOD options are set.

int TK_Rendering_Options::GetLodOptionsMask() const

const

Returns the mask indicating which LOD options are set.

void TK_Rendering_Options::SetLodOptionsValue(int v)

Sets the mask indicating which LOD options are “on”.

int TK_Rendering_Options::GetLodOptionsValue() const

const

Returns the mask indicating which LOD options are “on”.

void TK_Rendering_Options::SetLodAlgorithm(int v)

Sets the type of algorithm used for LOD generation

int TK_Rendering_Options::GetLodAlgorithm() const

const

Returns the type of algorithm used for LOD generation

void TK_Rendering_Options::SetLodMinimumTriangleCount(int v)

Sets the minimum triangle count for LOD generation

int TK_Rendering_Options::GetLodMinimumTriangleCount() const

const

Returns the minimum triangle count for LOD generation

void TK_Rendering_Options::SetLodNumLevels(int v)

Sets the number of LOD levels to generate

int TK_Rendering_Options::GetLodNumLevels() const

const

Returns the number of LOD levels to generate

void TK_Rendering_Options::SetLodClamp(int v)

Sets the clamp level for LOD display

int TK_Rendering_Options::GetLodClamp() const

const

Returns the clamp level for LOD display

void TK_Rendering_Options::SetLodMaxDegree(int v)

Sets the maximum degree

int TK_Rendering_Options::GetLodMaxDegree() const

const

Returns the maximum degree

void TK_Rendering_Options::SetLodTolerance(float v)

Sets the tolerance for collapsing points

float TK_Rendering_Options::GetLodTolerance() const

const

Returns the tolerance for collapsing points

void TK_Rendering_Options::SetLodFallback(int v)

Sets the fallback method for LOD display selection

int TK_Rendering_Options::GetLodFallback() const

const

Returns the fallback method for LOD display selection

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

Sets the explicit LOD bounding volume as discrete float values

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

Sets the explicit LOD bounding volume using discrete float triplets

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

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

float const *TK_Rendering_Options::GetLodBounding() const

const

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

void TK_Rendering_Options::SetLodRatio(float r)

Sets a single ratio used for LOD generation

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

Sets the ratios used for LOD generation

int TK_Rendering_Options::GetLodNumRatios() const

const

Returns the count of ratios used for LOD generation

float const *TK_Rendering_Options::GetLodRatios() const

const

Returns the ratios used for LOD generation

float *TK_Rendering_Options::GetLodRatios()

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

void TK_Rendering_Options::SetLodThresholdType(int v)

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

int TK_Rendering_Options::GetLodThresholdType() const

const

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

void TK_Rendering_Options::SetLodThreshold(float r)

Sets a single threshold used for LOD generation

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

Sets the thresholds used for LOD generation

int TK_Rendering_Options::GetLodNumThresholds() const

const

Returns the count of thresholds used for LOD generation

float const *TK_Rendering_Options::GetLodThresholds() const

const

Returns the thresholds used for LOD generation

float *TK_Rendering_Options::GetLodThresholds()

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

void TK_Rendering_Options::SetLodCutoff(float r)

Sets a single cutoff used for LOD generation

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

Sets the cutoffs used for LOD generation

int TK_Rendering_Options::GetLodNumCutoffs() const

const

Returns the count of cutoffs used for LOD generation

float const *TK_Rendering_Options::GetLodCutoffs() const

const

Returns the cutoffs used for LOD generation

float *TK_Rendering_Options::GetLodCutoffs()

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

void TK_Rendering_Options::SetTessellationMask(int m)

Sets the mask indicating which tessellation options are set.

int TK_Rendering_Options::GetTessellationMask() const

const

Returns the mask indicating which tessellation options are set.

void TK_Rendering_Options::SetCylinderTessellation(int n)

Sets a single cylinder tessellation value used for surface generation

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

Sets the cylinder tessellation values used for surface generation

int TK_Rendering_Options::GetNumCylinderTessellations() const

const

Returns the count of cylinder tessellation values used for surface generation

char const *TK_Rendering_Options::GetCylinderTessellations() const

const

Returns the cylinder tessellation values used for surface generation

char *TK_Rendering_Options::GetCylinderTessellations()

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

void TK_Rendering_Options::SetSphereTessellation(int n)

Sets a single sphere tessellation value used for surface generation

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

Sets the sphere tessellation values used for surface generation

int TK_Rendering_Options::GetNumSphereTessellations() const

const

Returns the count of sphere tessellation values used for surface generation

char const *TK_Rendering_Options::GetSphereTessellations() const

const

Returns the sphere tessellation values used for surface generation

char *TK_Rendering_Options::GetSphereTessellations()

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

void TK_Rendering_Options::SetGeometryOptionsMask(int m)

Sets the mask indicating which geometry options are set.

int TK_Rendering_Options::GetGeometryOptionsMask() const

const

Returns the mask indicating which geometry options are set.

void TK_Rendering_Options::SetHardEdgeAngle(int m)

Sets the value of the hard edge angle limit.

float TK_Rendering_Options::GetHardEdgeAngle() const

const

Returns the hard edge angle limit.

void TK_Rendering_Options::SetMaskTransform(int m)

Sets the mask indicating which transform components should be blocked.

int TK_Rendering_Options::GetMaskTransform() const

const

Returns the mask indicating which transform components should be blocked.

void TK_Rendering_Options::SetCutGeometry(int m)

Sets the mask indicating which cut geometry options to use.

int TK_Rendering_Options::GetCutGeometry() const

const

Returns the mask indicating which cut geometry options are set.

void TK_Rendering_Options::SetCutGeometryLevel(int m)

Sets the cut geometry level.

int TK_Rendering_Options::GetCutGeometryLevel() const

const

Returns the geometry level.

void TK_Rendering_Options::SetCutGeometryColorMatch(int m)

Sets the cut geometry color match option.

int TK_Rendering_Options::GetCutGeometryColorMatch() const

const

Returns the cut geometry color match option.

void TK_Rendering_Options::SetCutGeometryUsage(int u)

Sets the cut geometry usage option.

int TK_Rendering_Options::GetCutGeometryUsage() const

const

Returns the cut geometry usage option.

void TK_Rendering_Options::SetCutGeometryTolerance(float m)

Sets the cut geometry point matching tolerance.

float TK_Rendering_Options::GetCutGeometryTolerance() const

const

Returns the cut geometry point matching tolerance.

void TK_Rendering_Options::SetCutGeometryEdgeWeight(float value, int units = TKO_Generic_Size_Unspecified)

Sets the size value & units (value may not be negative, units only meaningful if positive)

float TK_Rendering_Options::GetCutGeometryEdgeWeight() const

const

Returns the size value

int TK_Rendering_Options::GetCutGeometryEdgeWeightUnits() const

const

Returns the size value

void TK_Rendering_Options::SetCutGeometryEdgePattern(char const *pattern)

Sets the cut geometry edge pattern. Allocates the buffer and copies the string

void TK_Rendering_Options::SetCutGeometryEdgePattern(int length)

Sets the cut geometry edge pattern buffer. Allocates a buffer large enough to hold a string of ‘length’ bytes

char const *TK_Rendering_Options::GetCutGeometryEdgePattern() const

const

Returns the cut geometry edge pattern

char *TK_Rendering_Options::GetCutGeometryEdgePattern()

Returns the cut geometry edge pattern buffer, which may be modified directly

void TK_Rendering_Options::SetDisplayListLevel(int m)

Sets the display list level.

int TK_Rendering_Options::GetDisplayListLevel() const

const

Returns the display list level.

void TK_Rendering_Options::SetSimpleShadow(int m)

Sets the mask indicating which simple shadow options to use.

int TK_Rendering_Options::GetSimpleShadow() const

const

Returns the mask indicating which simple shadow options are set.

void TK_Rendering_Options::SetSimpleShadowBlur(int m)

Sets the simple shadow blur (softness) level.

int TK_Rendering_Options::GetSimpleShadowBlur() const

const

Returns simple shadow blur (softness) level.

void TK_Rendering_Options::SetSimpleShadowResolution(int m)

Sets the simple shadow image resolution.

int TK_Rendering_Options::GetSimpleShadowResolution() const

const

Returns simple shadow image resolution.

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

Sets the simple shadow light direction using discrete values

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

Sets the simple shadow light direction using a float pair

float const *TK_Rendering_Options::getSimpleShadowLight() const

const

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

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

Sets the simple shadow projection plane using discrete values

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

Sets the simple shadow projection plane using a float pair

float const *TK_Rendering_Options::GetSimpleShadowPlane() const

const

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

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

Sets the rgb color value as discrete floats

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

Sets the rgb color value as a float triplet

float const *TK_Rendering_Options::GetSimpleShadowColor() const

const

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

void TK_Rendering_Options::SetSimpleShadowOpacity(float o)

Sets the simple shadow opacity.

float TK_Rendering_Options::GetSimpleShadowOpacity() const

const

Returns simple shadow opacity.

void TK_Rendering_Options::SetShadowMap(int m)

Sets the mask indicating which shadow map options to use.

int TK_Rendering_Options::GetShadowMap() const

const

Returns the mask indicating which shadow map options are set.

void TK_Rendering_Options::SetShadowMapResolution(int m)

Sets the shadow map image resolution.

int TK_Rendering_Options::GetShadowMapResolution() const

const

Returns shadow map image resolution.

void TK_Rendering_Options::SetShadowMapSamples(int m)

Sets the shadow map image samples.

int TK_Rendering_Options::GetShadowMapSamples() const

const

Returns shadow map image resolution.

void TK_Rendering_Options::SetSimpleReflection(int m)

Sets the mask indicating which simple reflection options to use.

int TK_Rendering_Options::GetSimpleReflection() const

const

Returns the mask indicating which simple reflection options are set.

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

Sets the simple reflection projection plane using discrete values

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

Sets the simple reflection projection plane using a float pair

float const *TK_Rendering_Options::GetSimpleReflectionPlane() const

const

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

void TK_Rendering_Options::SetSimpleReflectionOpacity(float o)

Sets the simple reflection opacity.

float TK_Rendering_Options::GetSimpleReflectionOpacity() const

const

Returns simple reflection opacity.

void TK_Rendering_Options::SetSimpleReflectionVisibilityMask(int m)

Sets the mask indicating which simple reflection options to use.

int TK_Rendering_Options::GetSimpleReflectionVisibilityValue() const

const

Returns the mask indicating which simple reflection options are set.

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

Sets the depth range using discrete values

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

Sets the depth range using a float pair

float const *TK_Rendering_Options::GetDepthRange() const

const

Returns the depth range as the address of a float pair

void TK_Rendering_Options::SetScreenRange(float l, float r, float b, float t, float lo = 0, float ro = 0, float bo = 0, float to = 0)

Sets the screen range using discrete values

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

Sets the screen range using a float array (assumed 4 long)

void TK_Rendering_Options::SetScreenRange(float const l[], float const o[])

Sets the screen range using two float arrays (each assumed 4 long)

void TK_Rendering_Options::SetScreenRange(int n, float const l[])

Sets the screen range using a float array (specified length, should be 4 or 8)

float const *TK_Rendering_Options::GetScreenRange() const

const

Returns the screen range as the address of a float pair

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

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[])

Sets the ambient up vector using a float array

float const *TK_Rendering_Options::GetAmbientUpVector() const

const

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

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

Sets the image scale factors using discrete values

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

Sets the image scale factors using a float pair

float const *TK_Rendering_Options::GetImageScale() const

const

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

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

Sets the rgb color value as discrete floats

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

Sets the rgb color value as a float triplet

float const *TK_Rendering_Options::GetImageTintColor() const

const

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

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

Sets the rgb color value as discrete floats

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

Sets the rgb color value as a float triplet

float const *TK_Rendering_Options::GetDiffuseTextureTintColor() const

const

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

void TK_Rendering_Options::SetAntiAlias(int m)

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

int TK_Rendering_Options::GetAntiAlias() const

const

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

void TK_Rendering_Options::SetVertexDecimation(float f)

Sets the vertex decimation factor.

float TK_Rendering_Options::GetVertexDecimation() const

const

Returns the vertex decimation factor.

Variables

int TK_Rendering_Options::m_mask[3]

protected

int

internal use; specifies which rendering options are active (and hence, which are valid). For internal use only.

int TK_Rendering_Options::m_value[3]

protected

int

internal use; specifies what values to set for boolean options. For internal use only.

unsigned char TK_Rendering_Options::m_hsr

protected

unsigned char

internal use; low half hsr, high half thsr. For internal use only.

unsigned char TK_Rendering_Options::m_tq

protected

unsigned char

internal use; low half technology, high half quantization. For internal use only.

int TK_Rendering_Options::m_debug

protected

int

For internal use only.

int TK_Rendering_Options::m_face_displacement

protected

int

For internal use only.

int TK_Rendering_Options::m_vertex_displacement

protected

int

For internal use only.

float TK_Rendering_Options::m_fog_limits[2]

protected

float

For internal use only.

Lock_Masks TK_Rendering_Options::m_lock

protected

For internal use only.

Lock_Masks TK_Rendering_Options::m_forced

protected

For internal use only.

unsigned char TK_Rendering_Options::m_buffer_options_mask

protected

unsigned char

For internal use only.

unsigned char TK_Rendering_Options::m_buffer_options_value

protected

unsigned char

For internal use only.

int TK_Rendering_Options::m_buffer_size_limit

protected

int

For internal use only.

int TK_Rendering_Options::m_hlr_options

protected

int

For internal use only.

float TK_Rendering_Options::m_hlr_dim_factor

protected

float

For internal use only.

float TK_Rendering_Options::m_hlr_face_displacement

protected

float

For internal use only.

float TK_Rendering_Options::m_hlr_transparency_cutoff

protected

float

For internal use only.

int TK_Rendering_Options::m_hlr_line_pattern

protected

int

For internal use only.

float TK_Rendering_Options::m_hlr_color[3]

protected

float

for internal use only.

float TK_Rendering_Options::m_hlr_weight

protected

float

for internal use only.

unsigned char TK_Rendering_Options::m_hlr_weight_units

protected

unsigned char

for internal use only.

float TK_Rendering_Options::m_hlr_threshold

protected

float

for internal use only.

unsigned char TK_Rendering_Options::m_hlr_threshold_units

protected

unsigned char

for internal use only.

unsigned char TK_Rendering_Options::m_hlr_hsr_algorithm

protected

unsigned char

for internal use only.

unsigned short TK_Rendering_Options::m_contour_options

protected

unsigned short

for internal use only.

unsigned short TK_Rendering_Options::m_isoline_options

protected

unsigned short

for internal use only.

char TK_Rendering_Options::m_contour_value_adjustment

protected

char

for internal use only.

float TK_Rendering_Options::m_contour_value_scale

protected

float

for internal use only.

float TK_Rendering_Options::m_contour_value_translate

protected

float

for internal use only.

char TK_Rendering_Options::m_isoline_position_type

protected

char

for internal use only.

int TK_Rendering_Options::m_isoline_position_count

protected

int

for internal use only.

float *TK_Rendering_Options::m_isoline_positions

protected

float

for internal use only.

int TK_Rendering_Options::m_isoline_color_count

protected

int

for internal use only.

float *TK_Rendering_Options::m_isoline_colors

protected

float

for internal use only.

int TK_Rendering_Options::m_isoline_pattern_count

protected

int

for internal use only.

char **TK_Rendering_Options::m_isoline_patterns

protected

char

for internal use only.

int TK_Rendering_Options::m_isoline_weight_count

protected

int

for internal use only.

float *TK_Rendering_Options::m_isoline_weights_value

protected

float

for internal use only.

unsigned char *TK_Rendering_Options::m_isoline_weights_unit

protected

unsigned char

for internal use only.

unsigned short TK_Rendering_Options::m_tint_options

protected

unsigned short

For internal use only.

float TK_Rendering_Options::m_tint_color[3]

protected

float

For internal use only.

float TK_Rendering_Options::m_tint_range[2]

protected

float

For internal use only.

char TK_Rendering_Options::m_tint_effect

protected

char

For internal use only.

int TK_Rendering_Options::m_lod_options_mask

protected

int

For internal use only.

int TK_Rendering_Options::m_lod_options_value

protected

int

For internal use only.

char TK_Rendering_Options::m_lod_algorithm

protected

char

For internal use only.

char TK_Rendering_Options::m_num_ratios

protected

char

For internal use only.

float TK_Rendering_Options::m_ratio[8]

protected

float

For internal use only.

char TK_Rendering_Options::m_num_thresholds

protected

char

For internal use only.

float TK_Rendering_Options::m_threshold[8]

protected

float

For internal use only.

char TK_Rendering_Options::m_threshold_type

protected

char

For internal use only.

int TK_Rendering_Options::m_min_triangle_count

protected

int

For internal use only.

unsigned char TK_Rendering_Options::m_clamp

protected

unsigned char

For internal use only.

unsigned char TK_Rendering_Options::m_num_levels

protected

unsigned char

For internal use only.

int TK_Rendering_Options::m_max_degree

protected

int

For internal use only.

float TK_Rendering_Options::m_tolerance

protected

float

For internal use only.

float TK_Rendering_Options::m_bounding[6]

protected

float

For internal use only.

char TK_Rendering_Options::m_num_cutoffs

protected

char

For internal use only.

float TK_Rendering_Options::m_cutoff[8]

protected

float

For internal use only.

unsigned char TK_Rendering_Options::m_heuristic

protected

unsigned char

For internal use only.

unsigned char TK_Rendering_Options::m_fallback

protected

unsigned char

For internal use only.

int TK_Rendering_Options::m_nurbs_options_mask

protected

int

For internal use only.

int TK_Rendering_Options::m_nurbs_options_value

protected

int

For internal use only.

int TK_Rendering_Options::m_curve_budget

protected

int

For internal use only.

int TK_Rendering_Options::m_curve_continued_budget

protected

int

For internal use only.

int TK_Rendering_Options::m_surface_budget

protected

int

For internal use only.

int TK_Rendering_Options::m_surface_trim_budget

protected

int

For internal use only.

float TK_Rendering_Options::m_surface_max_trim_curve_deviation

protected

float

For internal use only.

float TK_Rendering_Options::m_surface_max_facet_angle

protected

float

For internal use only.

float TK_Rendering_Options::m_surface_max_facet_deviation

protected

float

For internal use only.

float TK_Rendering_Options::m_surface_max_facet_width

protected

float

For internal use only.

float TK_Rendering_Options::m_curve_max_angle

protected

float

For internal use only.

float TK_Rendering_Options::m_curve_max_deviation

protected

float

For internal use only.

float TK_Rendering_Options::m_curve_max_length

protected

float

For internal use only.

float TK_Rendering_Options::m_stereo_separation

protected

float

For internal use only.

float TK_Rendering_Options::m_stereo_distance

protected

float

For internal use only.

unsigned char TK_Rendering_Options::m_tessellations

protected

unsigned char

For internal use only.

char TK_Rendering_Options::m_num_cylinder

protected

char

For internal use only.

char TK_Rendering_Options::m_cylinder[8]

protected

char

For internal use only.

char TK_Rendering_Options::m_num_sphere

protected

char

For internal use only.

char TK_Rendering_Options::m_sphere[8]

protected

char

For internal use only.

float TK_Rendering_Options::m_gooch_color_range[2]

protected

float

For internal use only.

float TK_Rendering_Options::m_gooch_diffuse_weight

protected

float

For internal use only.

char *TK_Rendering_Options::m_gooch_color_map_segment

protected

char

For internal use only.

int TK_Rendering_Options::m_gooch_color_map_segment_length

protected

int

Length of color map segment string

unsigned short TK_Rendering_Options::m_transparency_options

protected

unsigned short

internal use; low nibble style, next peeling flags, then zsort

unsigned char TK_Rendering_Options::m_cut_geometry

protected

unsigned char

For internal use only.

unsigned char TK_Rendering_Options::m_cut_geometry_level

protected

unsigned char

For internal use only.

unsigned char TK_Rendering_Options::m_cut_geometry_match

protected

unsigned char

For internal use only.

unsigned char TK_Rendering_Options::m_cut_geometry_usage

protected

unsigned char

For internal use only.

float TK_Rendering_Options::m_cut_geometry_tolerance

protected

float

For internal use only.

float TK_Rendering_Options::m_cut_geometry_edge_weight

protected

float

for internal use only.

unsigned char TK_Rendering_Options::m_cut_geometry_edge_weight_units

protected

unsigned char

for internal use only.

char *TK_Rendering_Options::m_cut_geometry_edge_pattern

protected

char

for internal use only.

int TK_Rendering_Options::m_cut_geometry_edge_pattern_length

protected

int

for internal use only.

unsigned short TK_Rendering_Options::m_simple_shadow

protected

unsigned short

For internal use only.

unsigned char TK_Rendering_Options::m_simple_shadow_blur

protected

unsigned char

For internal use only.

unsigned short TK_Rendering_Options::m_simple_shadow_resolution

protected

unsigned short

For internal use only.

float TK_Rendering_Options::m_simple_shadow_plane[4]

protected

float

For internal use only.

float TK_Rendering_Options::m_simple_shadow_light[3]

protected

float

For internal use only.

float TK_Rendering_Options::m_simple_shadow_color[3]

protected

float

For internal use only.

float TK_Rendering_Options::m_simple_shadow_opacity

protected

float
unsigned short TK_Rendering_Options::m_shadow_map

protected

unsigned short

For internal use only.

unsigned short TK_Rendering_Options::m_shadow_map_resolution

protected

unsigned short

For internal use only.

unsigned char TK_Rendering_Options::m_shadow_map_samples

protected

unsigned char

For internal use only.

unsigned short TK_Rendering_Options::m_simple_reflection

protected

unsigned short

For internal use only.

float TK_Rendering_Options::m_simple_reflection_plane[4]

protected

float

For internal use only.

float TK_Rendering_Options::m_simple_reflection_opacity

protected

float

For internal use only.

int TK_Rendering_Options::m_simple_reflection_blur

protected

int

For internal use only.

float TK_Rendering_Options::m_simple_reflection_hither

protected

float

For internal use only.

float TK_Rendering_Options::m_simple_reflection_yon

protected

float

For internal use only.

int TK_Rendering_Options::m_simple_reflection_visibility_mask

protected

int

For internal use only.

int TK_Rendering_Options::m_simple_reflection_visibility_value

protected

int

For internal use only.

float TK_Rendering_Options::m_depth_range[2]

protected

float

For internal use only.

float TK_Rendering_Options::m_screen_range[8]

protected

float

For internal use only.

float TK_Rendering_Options::m_ambient_up_vector[3]

protected

float

For internal use only.

float TK_Rendering_Options::m_image_scale[2]

protected

float

For internal use only.

unsigned short TK_Rendering_Options::m_mask_transform

protected

unsigned short

For internal use only.

unsigned char TK_Rendering_Options::m_geometry_options

protected

unsigned char

For internal use only.

float TK_Rendering_Options::m_dihedral

protected

float

For internal use only.

float TK_Rendering_Options::m_image_tint_color[3]

protected

float

For internal use only.

float TK_Rendering_Options::m_texture_tint_color[3]

protected

float

For internal use only.

unsigned char TK_Rendering_Options::m_depth_peeling_layers

protected

unsigned char

For internal use only.

float TK_Rendering_Options::m_depth_peeling_min_area

protected

float

For internal use only.

unsigned char TK_Rendering_Options::m_depth_peeling_algorithm

protected

unsigned char

For internal use only.

int TK_Rendering_Options::m_general_displacement

protected

int

For internal use only.

int TK_Rendering_Options::m_join_cutoff_angle

protected

int

For internal use only.

int TK_Rendering_Options::m_edge_join_cutoff_angle

protected

int

For internal use only.

float TK_Rendering_Options::m_vertex_decimation

protected

float

For internal use only.

unsigned char TK_Rendering_Options::m_display_list_level

protected

unsigned char

For internal use only.

unsigned char TK_Rendering_Options::m_antialias

protected

unsigned char

For internal use only.

short TK_Rendering_Options::m_fbe_mask

protected

short

For internal use only.

short TK_Rendering_Options::m_fbe_value

protected

short

For internal use only.

float TK_Rendering_Options::m_eye_dome_lighting_back_color[3]

protected

float

For internal use only.

char TK_Rendering_Options::m_marker_drawing_preference

protected

char

For internal use only.

float TK_Rendering_Options::m_glyph_rotation

protected

float

For internal use only.

int TK_Rendering_Options::m_override_internal_color_types

protected

int

For internal use only.

int TK_Rendering_Options::m_extra

protected

int