< Home

< Programming Guide

< Supported File Formats

REFERENCE MANUAL

Macros
Extra data types for A3DTessMarkupData tessellation

Macros

#define kA3DMarkupPatternMask   0x000000
 
#define kA3DMarkupPictureMask   0x200000
 
#define kA3DMarkupTrianglesMask   0x400000
 
#define kA3DMarkupQuadsMask   0x600000
 
#define kA3DMarkupFaceViewMask   0xC00000
 
#define kA3DMarkupFrameDrawMask   0xE00000
 
#define kA3DMarkupFixedSizeMask   0x1000000
 
#define kA3DMarkupSymbolMask   0x1200000
 
#define kA3DMarkupCylinderMask   0x1400000
 
#define kA3DMarkupColorMask   0x1600000
 
#define kA3DMarkupLineStippleMask   0x1800000
 
#define kA3DMarkupFontMask   0x1A00000
 
#define kA3DMarkupTextMask   0x1C00000
 
#define kA3DMarkupPointsMask   0x1E00000
 
#define kA3DMarkupPolygonMask   0x2000000
 
#define kA3DMarkupLineWidthMask   0x2200000
 
#define A3D_ENCODE_EXTRA_DATA(ExtraDataType, InnerCodes)   ((kA3DMarkupIsExtraData | ExtraDataType) + InnerCodes)
 
#define A3D_DECODE_EXTRA_DATA(TessCode)   ((TessCode & kA3DMarkupExtraDataType) >> 21)
 

Detailed Description

Version
2.0

Macro Definition Documentation

#define kA3DMarkupPatternMask   0x000000

Mask to encode pattern type entity.

#define kA3DMarkupPictureMask   0x200000

Mask to encode picture type entity.

#define kA3DMarkupTrianglesMask   0x400000

Mask to encode triangles type entity.

#define kA3DMarkupQuadsMask   0x600000

Mask to encode quads type entity.

#define kA3DMarkupFaceViewMask   0xC00000

Mask to encode face view mode.

#define kA3DMarkupFrameDrawMask   0xE00000

Mask to encode frame draw mode.

#define kA3DMarkupFixedSizeMask   0x1000000

Mask to encode fixed size mode.

#define kA3DMarkupSymbolMask   0x1200000

Mask to encode symbol type entity.

#define kA3DMarkupCylinderMask   0x1400000

Mask to encode cylinder type entity.

#define kA3DMarkupColorMask   0x1600000

Mask to encode color type entity.

#define kA3DMarkupLineStippleMask   0x1800000

Mask to encode line stipple type entity.

#define kA3DMarkupFontMask   0x1A00000

Mask to encode font type entity.

#define kA3DMarkupTextMask   0x1C00000

Mask to encode text type entity.

#define kA3DMarkupPointsMask   0x1E00000

Mask to encode point type entities.

#define kA3DMarkupPolygonMask   0x2000000

Mask to encode polygonal type entity.

#define kA3DMarkupLineWidthMask   0x2200000

Mask to encode line width type entity.

#define A3D_ENCODE_EXTRA_DATA (   ExtraDataType,
  InnerCodes 
)    ((kA3DMarkupIsExtraData | ExtraDataType) + InnerCodes)

Macro to encode an extra data type for storing in a markup's tessellation.

The ExtraDataType parameter must be set with one of the above markup encoding definitions. The InnerCodes parameter is the number of inner codes associated with the extra data.

#define A3D_DECODE_EXTRA_DATA (   TessCode)    ((TessCode & kA3DMarkupExtraDataType) >> 21)

Macro to decode the extra data type from a markup's tessellation code.