Visit Gigasoft's Web Site
 ProEssentials v11 Help

ViewingMode

Scope

Pe3do

Type

Int32

Default

PEVM_CENTER

JS / .NET

PePlot.Option.ViewingMode

OCX / VCL

ViewingMode

DLL

PEP_nVIEWINGMODE

 

Purpose

Used to control if 3D camera is pointed toward center of the scene, or pointed at a Data Location within the scene.

 

Default Center where the user can rotate (DegreeOfRotation, ViewingHeight) and zoom (DxZoom) relative to the center of the scene. 

 

ViewingMode DataLocation the developer can select a Subset (ViewingSubset), Point(ViewingPoint) as the focal point related to rotation and zooming.

 

Or DataLocation can be set to focus on a specific X, Y, Z coordinate via .Net Pe3do.PeFunction.SetViewingAt or via ViewingAt DLL property.

 

The ViewingFrom property can control the location of the camera that points in direction of SetViewingAt or ViewingSubset / ViewingPoint.

Only applicable for RenderEngine = Direct3D. 

 

Possible values are:

 

.NET Gigasoft.Enums.

ActiveX and

 

ViewingMode.

DLL Constants

Description

Center

PEVM_CENTER(0)

Camera points to center of scene

DataLocation

PEVM_DATA_LOCATION(1)

Camera points to a data location

 

3D Scientific Graph VCL Enumerations

eViewingModel = (tdCenter, tdDataLocation);

 

Comments

PePlot.Option.ViewingMode members of Pe3do.PePlot.Option