CFx SDK Documentation  2023 SP0
Classes | Public Types | Public Member Functions | Static Public Attributes | Protected Types | Static Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
OdTrVisMetafileParser Class Reference

#include <TrVisMetafileAnalyzer.h>

Classes

struct  BasisFuncs
 
struct  CurrentState
 
struct  InitialState
 
struct  RecScheme
 
struct  StreamMarker
 
struct  TypeSpec
 
struct  VarState
 

Public Types

enum  VarType {
  kTypeInvalid = -1 , kTypeChunk = 0 , kTypeUInt8 = 1 , kTypeInt8 = 2 ,
  kTypeUInt16 = 3 , kTypeInt16 = 4 , kTypeUInt32 = 5 , kTypeInt32 = 6 ,
  kTypeUInt64 = 7 , kTypeInt64 = 8 , kTypeFloat = 9 , kTypeDouble = 10 ,
  kTypeFVec2 = 11 , kTypeDVec2 = 12 , kTypeFVec3 = 13 , kTypeDVec3 = 14 ,
  kTypeFVec4 = 15 , kTypeDVec4 = 16 , kTypeFMat3 = 17 , kTypeDMat3 = 18 ,
  kTypeFMat4 = 19 , kTypeDMat4 = 20 , kNTypes
}
 
enum  BasisVarType {
  kBasisUInt8 = 0 , kBasisUInt16 = 1 , kBasisUInt32 = 2 , kBasisUInt64 = 3 ,
  kBasisFloat = 4 , kBasisDouble = 5 , kNBasisTypes
}
 
enum  NextStepOp { kOpSkip = 0 , kOpProcess = 1 }
 
enum  Scheme { kSmBasic = 0 , kSmStandalone , kNumSchemes }
 

Public Member Functions

 OdTrVisMetafileParser (const OdBaseMetafileContainer *pContainer=NULL, Scheme streamScheme=kSmBasic)
 
const OdTrVisFlatMetafileContainermetafileContainer () const
 
Scheme streamScheme () const
 
OdUInt32 streamSize () const
 
const OdUInt8 *& userEntryCurProc ()
 
void initialize (const OdBaseMetafileContainer *pContainer, Scheme streamScheme=kSmBasic)
 
void reset ()
 
void rewind ()
 
const VarStatenextStep (NextStepOp op=kOpProcess)
 

Static Public Attributes

static struct OdTrVisMetafileParser::TypeSpec s_typeSpec [kNTypes]
 
static struct OdTrVisMetafileParser::BasisFuncs s_basisFunc [kNBasisTypes]
 

Protected Types

enum  LogicalFlags {
  kLogicInit = (1 << 0) , kLogicExclusive = (1 << 1) , kLogicLoopSkip = (1 << 2) , kLogicSkip = (1 << 3) ,
  kLogicSkipByMask = (1 << 4)
}
 

Static Protected Member Functions

static void lRegFuncUInt8 (OdUInt32 &lReg, const VarState &varState)
 
static void lRegFuncUInt16 (OdUInt32 &lReg, const VarState &varState)
 
static void lRegFuncUInt32 (OdUInt32 &lReg, const VarState &varState)
 
static void lRegFuncStub (OdUInt32 &lReg, const VarState &varState)
 

Protected Attributes

struct OdTrVisMetafileParser::InitialState m_initState
 
struct OdTrVisMetafileParser::CurrentState m_curState
 
OdUInt64 m_skipMask
 

Static Protected Attributes

static struct OdTrVisMetafileParser::RecScheme s_schemes [OdTrVisMetaRecType_NTypes]
 

Detailed Description

Library: Source code provided.

<group ExRender_Classes>

Definition at line 40 of file TrVisMetafileAnalyzer.h.

Member Enumeration Documentation

◆ BasisVarType

Enumerator
kBasisUInt8 
kBasisUInt16 
kBasisUInt32 
kBasisUInt64 
kBasisFloat 
kBasisDouble 
kNBasisTypes 

Definition at line 70 of file TrVisMetafileAnalyzer.h.

◆ LogicalFlags

Enumerator
kLogicInit 
kLogicExclusive 
kLogicLoopSkip 
kLogicSkip 
kLogicSkipByMask 

Definition at line 171 of file TrVisMetafileAnalyzer.h.

◆ NextStepOp

Enumerator
kOpSkip 
kOpProcess 

Definition at line 127 of file TrVisMetafileAnalyzer.h.

◆ Scheme

Enumerator
kSmBasic 
kSmStandalone 
kNumSchemes 

Definition at line 132 of file TrVisMetafileAnalyzer.h.

◆ VarType

Enumerator
kTypeInvalid 
kTypeChunk 
kTypeUInt8 
kTypeInt8 
kTypeUInt16 
kTypeInt16 
kTypeUInt32 
kTypeInt32 
kTypeUInt64 
kTypeInt64 
kTypeFloat 
kTypeDouble 
kTypeFVec2 
kTypeDVec2 
kTypeFVec3 
kTypeDVec3 
kTypeFVec4 
kTypeDVec4 
kTypeFMat3 
kTypeDMat3 
kTypeFMat4 
kTypeDMat4 
kNTypes 

Definition at line 43 of file TrVisMetafileAnalyzer.h.

Constructor & Destructor Documentation

◆ OdTrVisMetafileParser()

OdTrVisMetafileParser::OdTrVisMetafileParser ( const OdBaseMetafileContainer *  pContainer = NULL,
Scheme  streamScheme = kSmBasic 
)
inline

Definition at line 194 of file TrVisMetafileAnalyzer.h.

Member Function Documentation

◆ initialize()

void OdTrVisMetafileParser::initialize ( const OdBaseMetafileContainer *  pContainer,
Scheme  streamScheme = kSmBasic 
)

◆ lRegFuncStub()

static void OdTrVisMetafileParser::lRegFuncStub ( OdUInt32 lReg,
const VarState varState 
)
staticprotected

◆ lRegFuncUInt16()

static void OdTrVisMetafileParser::lRegFuncUInt16 ( OdUInt32 lReg,
const VarState varState 
)
staticprotected

◆ lRegFuncUInt32()

static void OdTrVisMetafileParser::lRegFuncUInt32 ( OdUInt32 lReg,
const VarState varState 
)
staticprotected

◆ lRegFuncUInt8()

static void OdTrVisMetafileParser::lRegFuncUInt8 ( OdUInt32 lReg,
const VarState varState 
)
staticprotected

◆ metafileContainer()

const OdTrVisFlatMetafileContainer* OdTrVisMetafileParser::metafileContainer ( ) const
inline

Definition at line 200 of file TrVisMetafileAnalyzer.h.

◆ nextStep()

const VarState& OdTrVisMetafileParser::nextStep ( NextStepOp  op = kOpProcess)

◆ reset()

void OdTrVisMetafileParser::reset ( )

◆ rewind()

void OdTrVisMetafileParser::rewind ( )

◆ streamScheme()

Scheme OdTrVisMetafileParser::streamScheme ( ) const
inline

Definition at line 201 of file TrVisMetafileAnalyzer.h.

◆ streamSize()

OdUInt32 OdTrVisMetafileParser::streamSize ( ) const
inline

Definition at line 202 of file TrVisMetafileAnalyzer.h.

◆ userEntryCurProc()

const OdUInt8*& OdTrVisMetafileParser::userEntryCurProc ( )
inline

Definition at line 204 of file TrVisMetafileAnalyzer.h.

Member Data Documentation

◆ m_curState

struct OdTrVisMetafileParser::CurrentState OdTrVisMetafileParser::m_curState
protected

◆ m_initState

struct OdTrVisMetafileParser::InitialState OdTrVisMetafileParser::m_initState
protected

◆ m_skipMask

OdUInt64 OdTrVisMetafileParser::m_skipMask
protected

Definition at line 192 of file TrVisMetafileAnalyzer.h.

◆ s_basisFunc

struct OdTrVisMetafileParser::BasisFuncs OdTrVisMetafileParser::s_basisFunc[kNBasisTypes]
static

◆ s_schemes

struct OdTrVisMetafileParser::RecScheme OdTrVisMetafileParser::s_schemes[OdTrVisMetaRecType_NTypes]
staticprotected

◆ s_typeSpec

struct OdTrVisMetafileParser::TypeSpec OdTrVisMetafileParser::s_typeSpec[kNTypes]
static

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