VisualizationCore Enumeration VisAttributeID

enum VisAttributeID {
  VIS_INDEXED_COLOR,
  VIS_RED_COLOR_COMPONENT,
  VIS_GREEN_COLOR_COMPONENT,
  VIS_BLUE_COLOR_COMPONENT,
  VIS_ALPHA_COLOR_COMPONENT,
  VIS_RGBA_COLOR,
  VIS_LINE_TYPE,
  VIS_LINE_THICKNESS,
  VIS_PICK_MODE,
  VIS_ELEMENT_TYPE,
  VIS_PRIORITY,
  VIS_SHOW_MODE,
  VIS_TRANSPARENCY_MODE,
  VIS_INHERITANCE_MODE,
  VIS_POSITION_MATRIX,
  VIS_TEXTURE_MATRIX,
  VIS_RENDERING_MODE,
  VIS_FIXED_SIZE,
  VIS_POINT_TYPE,
  VIS_POINT_SIZE,
  VIS_USER_ATTRIBUTE_0,
  VIS_USER_ATTRIBUTE_1,
  VIS_USER_ATTRIBUTE_2,
  VIS_USER_ATTRIBUTE_3,
  VIS_PRIVATE_INSTANCING,
  VIS_PRIVATE_TRANSIENT_RAWBUFFERPTR
}
Defines the kind of attributes that can be retrieved or set on a Visualization object.
Values:
VIS_INDEXED_COLOR
The indexed color of an object.
Legal values: This color ranges from 0 to 255. See
to have the list of predefined colors.
It can be retrieved or set in the following types:
-
-
-
-
-
VIS_RED_COLOR_COMPONENT
The red component of an object color.
Legal values: This color ranges from 0 to 255, corresponding to the 0.0 to 1.0 interval.
They can be retrieved or set in the following types:
-

-
-
-
-
-
-
VIS_GREEN_COLOR_COMPONENT
The green component of an object color.
Legal values: This color ranges from 0 to 255, corresponding to the 0.0 to 1.0 interval.
They can be retrieved or set in the following types:
-

-
-
-
-
-
-
VIS_BLUE_COLOR_COMPONENT
The blue component of an object color.
Legal values: This color ranges from 0 to 255, corresponding to the 0.0 to 1.0 interval.
They can be retrieved or set in the following types:
-

-
-
-
-
-
-
VIS_ALPHA_COLOR_COMPONENT
The alpha component of an object color.
Legal values: This color ranges from 0 to 255, corresponding to the 0.0 to 1.0 interval.
They can be retrieved or set in the following types:
-

-
-
-
-
-
-
VIS_RGBA_COLOR
The red, green, blue and alpha components of an object color.
Legal values: All four colors range from 0 to 255, corresponding to the 0.0 to 1.0 interval.
They can be retrieved or set in the following types:
-

-
-
-
-
-
-
VIS_LINE_TYPE
The line type.
Legal values: the line type ranges from 0 to 63.
It can be retrieved or set in the following types:
-

-
-
-
-
-
VIS_LINE_THICKNESS
The line type.
Legal values: the line thickness ranges from 0 to 63.
It can be retrieved or set in the following types:
-

-
-
-
-
-
VIS_ELEMENT_TYPE
The element type.
Legal values: the element type ranges from 0 to 3.
It can be retrieved or set in the following types:
-

-
-
-
-
-
VIS_PICK_MODE
The picking mode.
Legal values: the picking mode ranges from 0 to 1.
It can be retrieved or set in the following types:
-

-
-
-
-
-
VIS_PRIORITY
The selection priority.
Legal values: the selection type ranges from 0 to 15.
It can be retrieved or set in the following types:
-

-
-
-
-
-
VIS_INHERITANCE_MODE
The inheritance mode of a Node. This attribute doesn't exist for Primitives.
Legal values: This mode can be any combination of the following values:
-

-
-
-
It can be retrieved or set in the following types:
-
-
VIS_SHOW_MODE
The show mode.
Legal values: the show mode ranges from 0 to 1.
It can be retrieved or set in the following types:
-

-
-
-
-
-
VIS_TRANSPARENCY_MODE
The transparency mode.
Legal values: the transparency mode ranges from 0 to 1.
It can be retrieved or set in the following types:
-

-
-
-
-
-
VIS_POSITION_MATRIX
The positioning matrix of a Node. This attribute doesn't exist for Primitives.
It can be retrieved or set in the following types:
-

-
-
VIS_TEXTURE_MATRIX
The texture matrix of a Node. This attribute doesn't exist for Primitives.
It can be retrieved or set in the following types:
-

-
-
VIS_RENDERING_MODE
The rendering mode of a Node. It is is a Bitwise OR of masks. This attribute doesn't exist for Primitives.
Legal values: VIS_GOURAUD, VIS_WIREFRAME, VIS_MATERIAL.
  • VIS_SMOOTH_SHADING : Faces of 3D objects are seen in smooth shading.
  • VIS_TEXTURED_SHADING : Face of 3D objects are seen in smooth + texture shading.
  • VIS_WIREFRAME : Points and Lines of 3D objects are seen.

It can be retrieved or set in the following types:
-
VIS_FIXED_SIZE
: DEPRECATED Use VisSG3DFixedSizeNodeGroup Fix the screen size in mm of a Node. This attribute doesn't exist for Primitives.
It can be retrieved or set in the following types:
-

-

This object is included in the file: VisAttributeID.h

Copyright © 1999-2014, Dassault Systèmes. All rights reserved.