VisualizationInterfaces Typedef CATViewModeType

typedef int CATViewModeType
Visual mode management.

Role: The assignment of one or more of these modes can then be retrieved from the render when drawing a representation. Some modes are exclusive, and conflicts are automatically solved using the order of definition of the modes. example: SetViewMode(VIEW_MATERIAL | VIEW_HLR), which is a nonsense anyway, will take in account VIEW_MATERIAL first to solve conflicts, then VIEW_HLR. SetViewMode(VIEW_HRD | VIEW_MATERIAL) will result by first activate MESH, EDGE and OUTLINE, then MATERIAL will be ignored as having a lower priority than HRD, and being exclusive to it.

These values are used in these 4 methods : List of exclusions taken in account: Some modes are requiring other modes to be automatically activated:
Values:
VIEW_MESH
Face of 3D objects are seen in shading
VIEW_EDGE
Edge of 3D objects are seen.
VIEW_COLORED_EDGES_FROM_FACES
The Edges are colored according to the shading faces color. Each edge has the same color as its adjacent faces. For internal edges, if the two adjacent faces have two different colors, the edge is painted with the color of the face whose bounding sphere radius is the smallest.
VIEW_OUTLINE
Lines wich form the shadow of 3D objects are seen.
VIEW_MATERIAL
The rendering takes account of
set on 3D object
VIEW_HLR
Hidden Line Removal: compute by soft
VIEW_HRD
Hidden Line Removal: compute by hard ware
VIEW_HIDDEN_EDGE
Hidden Edges of faces are seen in dashed line
VIEW_POLYGON
See all the polygon that constitute the faces of 3D objects
VIEW_ISOPARS
Face are drawn with isopars
VIEW_WITH_HALF_SMOOTH_EDGE
Faces are drawn with edges but with half lighted smooth edges
VIEW_WITHOUT_SMOOTH_EDGE
Faces are drawn with edges but without smooth edges
VIEW_WITHOUT_VERTEX
Points are drawn but vertices are not

This object is included in the file: CATViewerUtility.h

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