Alphabetical Class Index   Class Hierarchy   Compound Members   File Members   File List  

HTK_Rendering_Options Class Reference

Provides HOOPS/3dGS-specific handling of the TKE_Rendering_Options opcode. More...

#include <HOpcodeHandler.h>

Public Member Functions

TK_Status Clone (BStreamFileToolkit &tk, BBaseOpcodeHandler **handler) const
 
TK_Status Execute (BStreamFileToolkit &tk) alter
 
TK_Status Interpret (BStreamFileToolkit &tk, ID_Key key, int variant=0) alter
 
TK_Status Interpret (BStreamFileToolkit &tk, ID_Key key, char const *special) alter
 
- Public Member Functions inherited from TK_Rendering_Options
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 alterGetCylinderTessellations () alter
 
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 alterGetLodCutoffs () alter
 
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 alterGetLodRatios () alter
 
float const * GetLodThresholds () const
 
float alterGetLodThresholds () alter
 
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 alterGetSphereTessellations () alter
 
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) alter
 
TK_Status ReadAscii (BStreamFileToolkit &tk) alter
 Deprecated.
 
void Reset () alter
 
void SetAmbientUpVector (float x, float y, float z) alter
 
void SetAmbientUpVector (float const *v) alter
 
void SetAntiAlias (int m) alter
 
void SetBufferOptionsMask (int v) alter
 
void SetBufferOptionsValue (int v) alter
 
void SetBufferSizeLimit (int l) alter
 
void SetColorBackForcedLockMask (int m) alter
 
void SetColorBackForcedLockValue (int v) alter
 
void SetColorBackLockMask (int m) alter
 
void SetColorBackLockValue (int v) alter
 
void SetColorEdgeContrastForcedLockMask (int m) alter
 
void SetColorEdgeContrastForcedLockValue (int v) alter
 
void SetColorEdgeContrastLockMask (int m) alter
 
void SetColorEdgeContrastLockValue (int v) alter
 
void SetColorEdgeForcedLockMask (int m) alter
 
void SetColorEdgeForcedLockValue (int v) alter
 
void SetColorEdgeLockMask (int m) alter
 
void SetColorEdgeLockValue (int v) alter
 
void SetColorFaceContrastForcedLockMask (int m) alter
 
void SetColorFaceContrastForcedLockValue (int v) alter
 
void SetColorFaceContrastLockMask (int m) alter
 
void SetColorFaceContrastLockValue (int v) alter
 
void SetColorFaceForcedLockMask (int m) alter
 
void SetColorFaceForcedLockValue (int v) alter
 
void SetColorFaceLockMask (int m) alter
 
void SetColorFaceLockValue (int v) alter
 
void SetColorForcedLockMask (int m) alter
 
void SetColorForcedLockValue (int v) alter
 
void SetColorLineContrastForcedLockMask (int m) alter
 
void SetColorLineContrastForcedLockValue (int v) alter
 
void SetColorLineContrastLockMask (int m) alter
 
void SetColorLineContrastLockValue (int v) alter
 
void SetColorLineForcedLockMask (int m) alter
 
void SetColorLineForcedLockValue (int v) alter
 
void SetColorLineLockMask (int m) alter
 
void SetColorLineLockValue (int v) alter
 
void SetColorLockMask (int m) alter
 
void SetColorLockValue (int v) alter
 
void SetColorMarkerContrastForcedLockMask (int m) alter
 
void SetColorMarkerContrastForcedLockValue (int v) alter
 
void SetColorMarkerContrastLockMask (int m) alter
 
void SetColorMarkerContrastLockValue (int v) alter
 
void SetColorMarkerForcedLockMask (int m) alter
 
void SetColorMarkerForcedLockValue (int v) alter
 
void SetColorMarkerLockMask (int m) alter
 
void SetColorMarkerLockValue (int v) alter
 
void SetColorTextContrastForcedLockMask (int m) alter
 
void SetColorTextContrastForcedLockValue (int v) alter
 
void SetColorTextContrastLockMask (int m) alter
 
void SetColorTextContrastLockValue (int v) alter
 
void SetColorTextForcedLockMask (int m) alter
 
void SetColorTextForcedLockValue (int v) alter
 
void SetColorTextLockMask (int m) alter
 
void SetColorTextLockValue (int v) alter
 
void SetColorVertexContrastForcedLockMask (int m) alter
 
void SetColorVertexContrastForcedLockValue (int v) alter
 
void SetColorVertexContrastLockMask (int m) alter
 
void SetColorVertexContrastLockValue (int v) alter
 
void SetColorVertexForcedLockMask (int m) alter
 
void SetColorVertexForcedLockValue (int v) alter
 
void SetColorVertexLockMask (int m) alter
 
void SetColorVertexLockValue (int v) alter
 
void SetColorWindowContrastForcedLockMask (int m) alter
 
void SetColorWindowContrastForcedLockValue (int v) alter
 
void SetColorWindowContrastLockMask (int m) alter
 
void SetColorWindowContrastLockValue (int v) alter
 
void SetColorWindowForcedLockMask (int m) alter
 
void SetColorWindowForcedLockValue (int v) alter
 
void SetColorWindowLockMask (int m) alter
 
void SetColorWindowLockValue (int v) alter
 
void SetCutGeometry (int m) alter
 
void SetCutGeometryColorMatch (int m) alter
 
void SetCutGeometryLevel (int m) alter
 
void SetCutGeometryTolerance (float m) alter
 
void SetCylinderTessellation (int n) alter
 
void SetCylinderTessellations (int c, char const *n=0) alter
 
void SetDebug (int d) alter
 
void SetDepthRange (float n, float f) alter
 
void SetDepthRange (float const *l) alter
 
void SetDiffuseTextureTintColor (float r, float g, float b) alter
 
void SetDiffuseTextureTintColor (float const *rgb) alter
 
void SetDisplayListLevel (int m) alter
 
void SetFaceDisplacement (int d) alter
 
void SetFogLimits (float n, float f) alter
 
void SetFogLimits (float const *l) alter
 
void SetForcedLockMask (int m) alter
 
void SetForcedLockValue (int v) alter
 
void SetGeneralDisplacement (int d) alter
 
void SetGeometryOptionsMask (int m) alter
 
void SetHardEdgeAngle (int m) alter
 
void SetHlrDimFactor (float d) alter
 
void SetHlrFaceDisplacement (float d) alter
 
void SetHlrFaceSortingAlgorithm (int a) alter
 
void SetHlrLinePattern (int p) alter
 
void SetHlrOptions (int o) alter
 
void SetHSR (int h) alter
 
void SetImageScale (float x, float y) alter
 
void SetImageScale (float const *s) alter
 
void SetImageTintColor (float r, float g, float b) alter
 
void SetImageTintColor (float const *rgb) alter
 
void SetJoinCutoffAngle (int d) alter
 
void SetLockMask (int m) alter
 
void SetLockValue (int v) alter
 
void SetLodAlgorithm (int v) alter
 
void SetLodBounding (float x1, float y1, float z1, float x2, float y2, float z2) alter
 
void SetLodBounding (float const *s, float const *e) alter
 
void SetLodBounding (float const *p) alter
 
void SetLodClamp (int v) alter
 
void SetLodCutoff (float r) alter
 
void SetLodCutoffs (int c, float const *r=0) alter
 
void SetLodFallback (int v) alter
 
void SetLodMaxDegree (int v) alter
 
void SetLodMinimumTriangleCount (int v) alter
 
void SetLodNumLevels (int v) alter
 
void SetLodOptionsMask (int v) alter
 
void SetLodOptionsValue (int v) alter
 
void SetLodRatio (float r) alter
 
void SetLodRatios (int c, float const *r=0) alter
 
void SetLodThreshold (float r) alter
 
void SetLodThresholds (int c, float const *r=0) alter
 
void SetLodThresholdType (int v) alter
 
void SetLodTolerance (float v) alter
 
void SetMask (int m0, int m1=0, int m2=0) alter
 
void SetMaskTransform (int m) alter
 
void SetNURBSCurveBudget (int b) alter
 
void SetNURBSCurveContinuedBudget (int b) alter
 
void SetNURBSOptionsMask (int m) alter
 
void SetNURBSOptionsValue (int v) alter
 
void SetNURBSSurfaceBudget (int b) alter
 
void SetNURBSSurfaceTrimBudget (int b) alter
 
void SetQuantization (int q) alter
 
void SetScreenRange (float l, float r, float b, float t) alter
 
void SetScreenRange (float const *l) alter
 
void SetShadowMap (int m) alter
 
void SetShadowMapResolution (int m) alter
 
void SetShadowMapSamples (int m) alter
 
void SetSimpleReflection (int m) alter
 
void SetSimpleReflectionOpacity (float o) alter
 
void SetSimpleReflectionPlane (float a, float b, float c, float d) alter
 
void SetSimpleReflectionPlane (float const *p) alter
 
void SetSimpleReflectionVisibilityMask (int m) alter
 
void SetSimpleShadow (int m) alter
 
void SetSimpleShadowBlur (int m) alter
 
void SetSimpleShadowColor (float r, float g, float b) alter
 
void SetSimpleShadowColor (float const *rgb) alter
 
void SetSimpleShadowLight (float x, float y, float z) alter
 
void SetSimpleShadowLight (float const *l) alter
 
void SetSimpleShadowOpacity (float o) alter
 
void SetSimpleShadowPlane (float a, float b, float c, float d) alter
 
void SetSimpleShadowPlane (float const *p) alter
 
void SetSimpleShadowResolution (int m) alter
 
void SetSphereTessellation (int n) alter
 
void SetSphereTessellations (int c, char const *n=0) alter
 
void SetStereoDistance (float d) alter
 
void SetStereoSeparation (float s) alter
 
void SetTechnology (int t) alter
 
void SetTessellationMask (int m) alter
 
void SetTransparentHSR (int t) alter
 
void SetTransparentStyle (int s) alter
 
void SetValue (int v0, int v1=0, int v2=0) alter
 
void SetVertexDecimation (float f) alter
 
void SetVertexDisplacement (int d) alter
 
void SetVisibilityForcedLockMask (int m) alter
 
void SetVisibilityForcedLockValue (int v) alter
 
void SetVisibilityLockMask (int m) alter
 
void SetVisibilityLockValue (int v) alter
 
 TK_Rendering_Options ()
 
TK_Status Write (BStreamFileToolkit &tk) alter
 
TK_Status WriteAscii (BStreamFileToolkit &tk) alter
 Deprecated.
 
- Public Member Functions inherited from BBaseOpcodeHandler
 BBaseOpcodeHandler (int op)
 
char const * GetLoggingString () const
 
char alterGetLoggingString () alter
 
void LogDebug (BStreamFileToolkit &tk, char const *string=0) alter
 
virtual bool Match_Instance (BStreamFileToolkit const &tk, Recorded_Instance alter *instance) alter
 
virtual bool NeedsContext (BStreamFileToolkit &tk) const
 
bool NeedsTag () const
 
unsigned char Opcode () const
 
int Pass (BStreamFileToolkit &tk) const
 
void SetLoggingString (char const *segment) alter
 
void SetLoggingString (int length) alter
 
void SetNeedsTag (bool n) alter
 
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
 

Additional Inherited Members

- Protected Member Functions inherited from BBaseOpcodeHandler
void add_segment (BStreamFileToolkit &tk, ID_Key key) alter
 for internal use only
 
void adjust_written (BStreamFileToolkit &tk, int count) alter
 for internal use only
 
void bytes_to_floats (unsigned char const *in, float alter *out, int count) const
 for internal use only
 
void decrease_nesting (BStreamFileToolkit &tk, int amount=1) alter
 for internal use only
 
bool Find_Instance (BStreamFileToolkit &tk, int val1, int val2, int val3) alter
 
bool Find_Item (BStreamFileToolkit &tk, ID_Key key) const
 
void fix (int *i, int n)
 for internal use only
 
void fix (short *s, int n)
 for internal use only
 
void fix_in (float *f, int n)
 for internal use only
 
void fix_out (float *f, int n)
 for internal use only
 
short flip (short s)
 for internal use only
 
int flip (int i)
 for internal use only
 
void floats_to_bytes (float const *in, unsigned char alter *out, int count) const
 for internal use only
 
TK_Status GetAsciiData (BStreamFileToolkit &tk, int *rInts, unsigned int n) alter
 
TK_Status GetAsciiData (BStreamFileToolkit &tk, const char *tag, unsigned char &value) alter
 
TK_Status GetAsciiData (BStreamFileToolkit &tk, const char *tag, char &value) alter
 
TK_Status GetAsciiData (BStreamFileToolkit &tk, const char *tag, unsigned short &value) alter
 
TK_Status GetAsciiData (BStreamFileToolkit &tk, const char *tag, short &value) alter
 
TK_Status GetAsciiData (BStreamFileToolkit &tk, const char *tag, int &value) alter
 
TK_Status GetAsciiData (BStreamFileToolkit &tk, const char *tag, float &value) alter
 
TK_Status GetAsciiData (BStreamFileToolkit &tk, const char *tag, float *rFloats, unsigned int n) alter
 
TK_Status GetAsciiData (BStreamFileToolkit &tk, const char *tag, char *m_string, unsigned int n) alter
 
TK_Status GetAsciiData (BStreamFileToolkit &tk, const char *tag, unsigned char *m_string, unsigned int n) alter
 
TK_Status GetAsciiData (BStreamFileToolkit &tk, const char *tag, int *rInts, unsigned int n) alter
 
TK_Status GetAsciiData (BStreamFileToolkit &tk, const char *tag, short *rShorts, unsigned int n) alter
 
TK_Status GetAsciiData (BStreamFileToolkit &tk, const char *tag, unsigned short *rShorts, unsigned int n) alter
 
TK_Status GetAsciiHex (BStreamFileToolkit &tk, const char *tag, unsigned char &value) alter
 
TK_Status GetAsciiHex (BStreamFileToolkit &tk, const char *tag, int &value) alter
 
TK_Status GetAsciiHex (BStreamFileToolkit &tk, const char *tag, char &value) alter
 
TK_Status GetAsciiHex (BStreamFileToolkit &tk, const char *tag, unsigned short &value) alter
 
TK_Status GetAsciiImageData (BStreamFileToolkit &tk, const char *tag, unsigned char *rValues, unsigned int n) alter
 
TK_Status GetData (BStreamFileToolkit &tk, char *b, int n) alter
 
TK_Status GetData (BStreamFileToolkit &tk, short *s, int n) alter
 
TK_Status GetData (BStreamFileToolkit &tk, int *i, int n) alter
 
TK_Status GetData (BStreamFileToolkit &tk, float *f, int n) alter
 
TK_Status GetData (BStreamFileToolkit &tk, unsigned char *b, int n) alter
 
TK_Status GetData (BStreamFileToolkit &tk, unsigned short *s, int n) alter
 
TK_Status GetData (BStreamFileToolkit &tk, unsigned int *i, int n) alter
 
TK_Status GetData (BStreamFileToolkit &tk, char &c) alter
 
TK_Status GetData (BStreamFileToolkit &tk, short &s) alter
 
TK_Status GetData (BStreamFileToolkit &tk, int &i) alter
 
TK_Status GetData (BStreamFileToolkit &tk, unsigned char &b) alter
 
TK_Status GetData (BStreamFileToolkit &tk, unsigned short &s) alter
 
TK_Status GetData (BStreamFileToolkit &tk, unsigned int &i) alter
 
TK_Status GetData (BStreamFileToolkit &tk, float &f) alter
 
void increase_nesting (BStreamFileToolkit &tk, int amount=1) alter
 for internal use only
 
ID_Key last_key (BStreamFileToolkit &tk) const
 obsolete
 
void log_opcode (BStreamFileToolkit &tk, unsigned int sequence, unsigned char opcode) alter
 for internal use only
 
TK_Status LookatData (BStreamFileToolkit &tk, unsigned char &b) alter
 
BBaseOpcodeHandler alterOpcode_Handler (BStreamFileToolkit &tk, unsigned char op) const
 
TK_Status PutAsciiData (BStreamFileToolkit &tk, char const *tag, char const *b, int n) alter
 
TK_Status PutAsciiData (BStreamFileToolkit &tk, char const *tag, short const *s, int n) alter
 
TK_Status PutAsciiData (BStreamFileToolkit &tk, char const *tag, int const *i, int n) alter
 
TK_Status PutAsciiData (BStreamFileToolkit &tk, char const *tag, float const *f, int n) alter
 
TK_Status PutAsciiData (BStreamFileToolkit &tk, char const *tag, unsigned char const *b, int n) alter
 
TK_Status PutAsciiData (BStreamFileToolkit &tk, char const *tag, unsigned short const *s, int n) alter
 
TK_Status PutAsciiData (BStreamFileToolkit &tk, char const *tag, unsigned int const *i, int n) alter
 
TK_Status PutAsciiData (BStreamFileToolkit &tk, char const *tag, char const &c) alter
 
TK_Status PutAsciiData (BStreamFileToolkit &tk, char const *tag, short const &s) alter
 
TK_Status PutAsciiData (BStreamFileToolkit &tk, char const *tag, int const &i) alter
 
TK_Status PutAsciiData (BStreamFileToolkit &tk, char const *tag, unsigned char const &b) alter
 
TK_Status PutAsciiData (BStreamFileToolkit &tk, char const *tag, unsigned short const &s) alter
 
TK_Status PutAsciiData (BStreamFileToolkit &tk, char const *tag, unsigned int const &i) alter
 
TK_Status PutAsciiData (BStreamFileToolkit &tk, char const *tag, float const &f) alter
 
TK_Status PutAsciiFlag (BStreamFileToolkit &tk, char const *tag, int const &i) alter
 
TK_Status PutAsciiHex (BStreamFileToolkit &tk, char const *tag, int const &i) alter
 
TK_Status PutAsciiMask (BStreamFileToolkit &tk, char const *tag, int const &i) alter
 
TK_Status PutAsciiOpcode (BStreamFileToolkit &tk, int adjust=1, bool is_end=false, bool want_newline=true) alter
 
TK_Status PutData (BStreamFileToolkit &tk, char const *b, int n) alter
 
TK_Status PutData (BStreamFileToolkit &tk, short const *s, int n) alter
 
TK_Status PutData (BStreamFileToolkit &tk, int const *i, int n) alter
 
TK_Status PutData (BStreamFileToolkit &tk, float const *f, int n) alter
 
TK_Status PutData (BStreamFileToolkit &tk, unsigned char const *b, int n) alter
 
TK_Status PutData (BStreamFileToolkit &tk, unsigned short const *s, int n) alter
 
TK_Status PutData (BStreamFileToolkit &tk, unsigned int const *i, int n) alter
 
TK_Status PutData (BStreamFileToolkit &tk, char const &c) alter
 
TK_Status PutData (BStreamFileToolkit &tk, short const &s) alter
 
TK_Status PutData (BStreamFileToolkit &tk, int const &i) alter
 
TK_Status PutData (BStreamFileToolkit &tk, unsigned char const &b) alter
 
TK_Status PutData (BStreamFileToolkit &tk, unsigned short const &s) alter
 
TK_Status PutData (BStreamFileToolkit &tk, unsigned int const &i) alter
 
TK_Status PutData (BStreamFileToolkit &tk, float const &f) alter
 
TK_Status PutEndXMLTag (BStreamFileToolkit &tk, char const *tag) alter
 
TK_Status PutOpcode (BStreamFileToolkit &tk, int adjust=1) alter
 
TK_Status PutStartXMLTag (BStreamFileToolkit &tk, char const *tag) alter
 
TK_Status Read_Referenced_Segment (BStreamFileToolkit &tk, int &i_progress) alter
 
TK_Status ReadAsciiLine (BStreamFileToolkit &tk, unsigned int *readSize=0) alter
 
TK_Status ReadAsciiWord (BStreamFileToolkit &tk, unsigned int *readSize=0) alter
 
TK_Status ReadEndOpcode (BStreamFileToolkit &tk) alter
 
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) alter
 for internal use only
 
bool RemoveAngularBrackets (char *string) alter
 
bool RemoveQuotes (char *string) alter
 
void Revisit (BStreamFileToolkit &tk, float priority=0.0f, int variant=0) const
 
void set_last_key (BStreamFileToolkit &tk, ID_Key key) alter
 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) alter
 
bool validate_count (int count, int limit=1<< 24) const
 
- Static Protected Member Functions inherited from BBaseOpcodeHandler
static float read_float (char const *cp, char const *alter *newcpp=0)
 
static float read_float (char const *cp, char alter *alter *newcpp)
 for internal use only
 
static char * write_float (char *buffer, double f)
 for internal use only
 
- Protected Attributes inherited from TK_Rendering_Options
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_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.
 
short m_forced_color_back_mask
 For internal use only.
 
short m_forced_color_back_value
 For internal use only.
 
short m_forced_color_cut_edge_mask
 For internal use only.
 
short m_forced_color_cut_edge_value
 For internal use only.
 
short m_forced_color_cut_face_mask
 For internal use only.
 
short m_forced_color_cut_face_value
 For internal use only.
 
short m_forced_color_edge_contrast_mask
 For internal use only.
 
short m_forced_color_edge_contrast_value
 For internal use only.
 
short m_forced_color_edge_mask
 For internal use only.
 
short m_forced_color_edge_value
 For internal use only.
 
short m_forced_color_face_contrast_mask
 For internal use only.
 
short m_forced_color_face_contrast_value
 For internal use only.
 
short m_forced_color_face_mask
 For internal use only.
 
short m_forced_color_face_value
 For internal use only.
 
short m_forced_color_line_contrast_mask
 For internal use only.
 
short m_forced_color_line_contrast_value
 For internal use only.
 
short m_forced_color_line_mask
 For internal use only.
 
short m_forced_color_line_value
 For internal use only.
 
short m_forced_color_marker_contrast_mask
 For internal use only.
 
short m_forced_color_marker_contrast_value
 For internal use only.
 
short m_forced_color_marker_mask
 For internal use only.
 
short m_forced_color_marker_value
 For internal use only.
 
int m_forced_color_mask
 For internal use only.
 
short m_forced_color_simple_reflection_mask
 For internal use only.
 
short m_forced_color_simple_reflection_value
 For internal use only.
 
short m_forced_color_text_contrast_mask
 For internal use only.
 
short m_forced_color_text_contrast_value
 For internal use only.
 
short m_forced_color_text_mask
 For internal use only.
 
short m_forced_color_text_value
 For internal use only.
 
int m_forced_color_value
 For internal use only.
 
short m_forced_color_vertex_contrast_mask
 For internal use only.
 
short m_forced_color_vertex_contrast_value
 For internal use only.
 
short m_forced_color_vertex_mask
 For internal use only.
 
short m_forced_color_vertex_value
 For internal use only.
 
short m_forced_color_window_contrast_mask
 For internal use only.
 
short m_forced_color_window_contrast_value
 For internal use only.
 
short m_forced_color_window_mask
 For internal use only.
 
short m_forced_color_window_value
 For internal use only.
 
int m_forced_mask
 For internal use only.
 
int m_forced_value
 For internal use only.
 
int m_forced_visibility_mask
 For internal use only.
 
int m_forced_visibility_value
 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.
 
short m_lock_color_back_mask
 For internal use only.
 
short m_lock_color_back_value
 For internal use only.
 
short m_lock_color_cut_edge_mask
 For internal use only.
 
short m_lock_color_cut_edge_value
 For internal use only.
 
short m_lock_color_cut_face_mask
 For internal use only.
 
short m_lock_color_cut_face_value
 For internal use only.
 
short m_lock_color_edge_contrast_mask
 For internal use only.
 
short m_lock_color_edge_contrast_value
 For internal use only.
 
short m_lock_color_edge_mask
 For internal use only.
 
short m_lock_color_edge_value
 For internal use only.
 
short m_lock_color_face_contrast_mask
 For internal use only.
 
short m_lock_color_face_contrast_value
 For internal use only.
 
short m_lock_color_face_mask
 For internal use only.
 
short m_lock_color_face_value
 For internal use only.
 
short m_lock_color_line_contrast_mask
 For internal use only.
 
short m_lock_color_line_contrast_value
 For internal use only.
 
short m_lock_color_line_mask
 For internal use only.
 
short m_lock_color_line_value
 For internal use only.
 
short m_lock_color_marker_contrast_mask
 For internal use only.
 
short m_lock_color_marker_contrast_value
 For internal use only.
 
short m_lock_color_marker_mask
 For internal use only.
 
short m_lock_color_marker_value
 For internal use only.
 
int m_lock_color_mask
 For internal use only.
 
short m_lock_color_simple_reflection_mask
 For internal use only.
 
short m_lock_color_simple_reflection_value
 For internal use only.
 
short m_lock_color_text_contrast_mask
 For internal use only.
 
short m_lock_color_text_contrast_value
 For internal use only.
 
short m_lock_color_text_mask
 For internal use only.
 
short m_lock_color_text_value
 For internal use only.
 
int m_lock_color_value
 For internal use only.
 
short m_lock_color_vertex_contrast_mask
 For internal use only.
 
short m_lock_color_vertex_contrast_value
 For internal use only.
 
short m_lock_color_vertex_mask
 For internal use only.
 
short m_lock_color_vertex_value
 For internal use only.
 
short m_lock_color_window_contrast_mask
 For internal use only.
 
short m_lock_color_window_contrast_value
 For internal use only.
 
short m_lock_color_window_mask
 For internal use only.
 
short m_lock_color_window_value
 For internal use only.
 
int m_lock_mask
 For internal use only.
 
int m_lock_value
 For internal use only.
 
int m_lock_visibility_mask
 For internal use only.
 
int m_lock_visibility_value
 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
 
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
 

Detailed Description

Provides HOOPS/3dGS-specific handling of the TKE_Rendering_Options opcode.

This class complements the read/write functionality implemented in the base class by overloading the Interpret and Execute methods to provide HOOPS/3dGS-specific opcode handling.

Writing: The HOOPS/3dGS database is queried in the Interpret method, and this data is then written to the HSF file by the Write method Reading: The data is read from the HSF file by the Read method, and is mapped to the HOOPS/3dGS scene-graph within the Execute method.

Export/import of additional user-data (which is associated with this HSF object) would typically be done by overloading the Write and Read methods.

Member Function Documentation

TK_Status HTK_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.

TK_Status HTK_Rendering_Options::Execute ( BStreamFileToolkit tk)
virtual

Processes the binary data that has been read for the current object, which involves passing the data to application-specific data structures.

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

Reimplemented from BBaseOpcodeHandler.

TK_Status HTK_Rendering_Options::Interpret ( BStreamFileToolkit tk,
ID_Key  key,
int  variant = 0 
)
virtual

Extracts graphics data (typically from the application's scene-graph) and maps it to the opcode handler's data members in preparation for writing out an object to the file.

Parameters
tkA reference to the BStreamFileToolkit object.
keyAn identifier to the object (for example, the HOOPS key of a geometry item)
variantoptional specification of an alternate form, such as a Level-of-Detail representation
Returns
The result of the function call.

Reimplemented from BBaseOpcodeHandler.

TK_Status HTK_Rendering_Options::Interpret ( BStreamFileToolkit tk,
ID_Key  key,
char const *  special 
)
inlinevirtual

Extracts graphics data (typically from the application's scene-graph) and maps it to the opcode handler's data members in preparation for writing out an object to the file.

Parameters
tkA reference to the BStreamFileToolkit object.
keyAn identifier to the object (for example, the HOOPS key of a geometry item)
specialA string value of particular data
Returns
The result of the function call.

Reimplemented from BBaseOpcodeHandler.

References BBaseOpcodeHandler::Interpret().


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