VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Macros | Variables
simEnvironmentalObjectStateRecord.h File Reference

Go to the source code of this file.

Classes

struct  DtNetEnvironmentalObjectStateRecord_V1
 
struct  DtNetEnvironmentalObjectStateRecord_V2
 
struct  DtNetEnvironmentalObjectStateRecord_V3
 
struct  DtNetEnvironmentalObjectStateRecord_V4
 
struct  DtNetEnvironmentalObjectStateRecord_V5
 
struct  DtNetEnvironmentalObjectStateRecord_V6
 
struct  DtNetEnvironmentalObjectStateRecord
 
class  DtSimEnvironmentalObjectStateRecord
 

Macros

#define DtLineWidthFromAppearance(theAppr)   ((theAppr >> 28) & 0x0000000F)
 
#define DtLineWidthToAppearance(theLineWidth)   (theLineWidth << 28)
 
#define DtLineStyleFromAppearance(theAppr)   ((theAppr >> 8) & 0x0000000F)
 
#define DtLineStyleToAppearance(theLineStyle)   (theLineStyle << 8)
 
#define DtFillStyleFromAppearance(theAppr)   ((theAppr >> 12) & 0x0000000F)
 
#define DtFillStyleToAppearance(theFillStyle)   (theFillStyle << 12)
 

Variables

const int DtMaxEnvProcessLabelLength = 255
 
const int DtEnvironmentalRecordVersion = 2
 

Detailed Description

Contains the DtSimEnvironmentalObjectStateRecord class declaration.

Macro Definition Documentation

#define DtLineWidthFromAppearance (   theAppr)    ((theAppr >> 28) & 0x0000000F)
#define DtLineWidthToAppearance (   theLineWidth)    (theLineWidth << 28)
#define DtLineStyleFromAppearance (   theAppr)    ((theAppr >> 8) & 0x0000000F)
#define DtLineStyleToAppearance (   theLineStyle)    (theLineStyle << 8)
#define DtFillStyleFromAppearance (   theAppr)    ((theAppr >> 12) & 0x0000000F)
#define DtFillStyleToAppearance (   theFillStyle)    (theFillStyle << 12)

Variable Documentation

const int DtMaxEnvProcessLabelLength = 255

Note, the myAppearance has the following layout Bit 0 - projected Bit 1 - bound2D Bit 2 - closed Bits 8 - 11 are the line style Bits 12 - 15 are the fill style Bits 28 - 31 are the line width.

const int DtEnvironmentalRecordVersion = 2

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)