VisualizationFoundation Enumeration CATViewpointZoomType

enum CATViewpointZoomType {
  MillimeterScreenBased,
  HalfWindowHeightBased,
  HalfWindowWidthAndHeigthBased
}
Type of zoom for 2D Viewpoint.

The zoom type gives the reference of the zoom and (consequently) the behaviour of the display at the resize of the window
Values:
MillimeterScreenBased
For usual 2D viewpoint.
The zoom is based on the millimeter. With this style, a model distance of L will take L*zoom millimeter on screen.
HalfWindowHeightBased
For 2D viewpoint over conic 3D viewpoint.
The zoom is based on the half height of the window. With this style, a model distance of L will take L*zoom*(half height of the window) millimeter on screen.
HalfWindowWidthAndHeigthBased
For overview or non-isometric viewpoint.
The zoom is based on the half height (resp width). of the window in vertical (resp. horizontal) direction. Projection is not isometric. When window is resized, the viewpoint does not changes. The same image is seen but streched.
See also:

This object is included in the file: CAT2DViewpoint.h

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