Public Member Functions | List of all members
ViewController Class Reference

ViewController class along with changing the pan, zoom, and orientation of the model display, this controls such things as the display status of analysis results.
It can be called from Application class.
. More...

Public Member Functions

int ActiveSubWindowIndex ()
 Returns an index for the active window. More...
 
bool CaptureResultView (String &title, String &comment)
 Captures the result view. More...
 
void CascadeSubWindows ()
 Cascades windows.
 
void ClearSelect ()
 Clears the selection of an object.
 
void CloseActiveSubWindow ()
 Closes the active window.
 
void CloseNotActiveSubWindows ()
 Closes all windows except for the active window.
 
double ContourMaxValue ()
 Returns the maximum value of contour displayed in the window. More...
 
double ContourMinValue ()
 Returns the minimum value of contour displayed in the window. More...
 
int CreateView (String &name)
 Creates a viewpoint to add to the view list. More...
 
void DeleteView (String &name)
 Deletes the viewpoint specified by the name from the view list. More...
 
void DeleteViewByIndex (int index)
 Deletes the viewpoint specified by the index from the view list. More...
 
void ExportViewpoints (String &filename, String array &viewpoints)
 Exports viewpoints to a file. More...
 
void Fit ()
 Fits the size of the model to the size of the window.
 
bool GetCompositeView ()
 Returns True as the return value if the composite result is displayed. More...
 
bool GetContourLabelView ()
 Returns True as the return value if a contour max position label is displayed. More...
 
bool GetContourView ()
 Returns True as the return value if a contour plot is displayed. More...
 
int GetCurrentCase ()
 Returns the current case ID. More...
 
SelectionGetCurrentSelection ()
 Returns the selection object for the current view.
 
bool GetCutPlanesOutLinesView ()
 Returns True as the return value when [Show Only Cut Faces] is enabled. More...
 
bool GetFluxLineView ()
 Returns True as the return value if a flux line plot is displayed. More...
 
bool GetModelCopyView ()
 Returns True as the return value if a model copy is displayed. More...
 
bool GetOnlyCutFacesView ()
 Returns True as the return value when [Show Model in Front/Behind Plane] is active. More...
 
bool GetOriginalModelView ()
 Returns True as the return value if a original model is displayed. More...
 
double GetPhase ()
 Returns the current phase as a real number. More...
 
bool GetScaledDisplacementView ()
 Returns True as the return value if the scale is applied to the result display. More...
 
int GetStep ()
 Returns the current step number as an integer. More...
 
bool GetVectorView ()
 Returns True as the return value if a vector plot is displayed. More...
 
void Hiddenline ()
 Switches to the hides lines display.
 
void HideAll ()
 Hides all regions.
 
void HideAllAirRegions ()
 Hides all air regions.
 
void HideAllShells ()
 Hides all shells.
 
void HideMorphing ()
 Hides morphing.
 
void ImportViewpoints (String &filename)
 Imports viewpoints from files. More...
 
void Iso ()
 Displays an isometric view of the model.
 
bool IsSingleton ()
 Since this is an internal function, it is not officially supported. More...
 
bool IsValid ()
 Returns True if an object is valid. More...
 
void MaximizeActiveSubWindow ()
 Maximizes the active window.
 
void NewSubWindow ()
 Duplicates the active window and a new window is opened.
 
int NumSubWindows ()
 Returns the number of open windows.
 
void Pan (double deltax, double deltay)
 Controls the panning of a camera. More...
 
void Roll (double degree)
 Rotates the viewpoint of the model on the fixed plane. More...
 
void Rotate (double degree_x, double degree_y)
 Rotates the viewpoint by the specified angle. More...
 
void RotateTo (double degree_x, double degree_y, double degree_z)
 Controls the rotation of a camera. More...
 
void SelectByCirclePixelPos (int x1, int y1, int x2, int y2, int type)
 Uses the pixel coordinate system to make a circular selection. More...
 
void SelectByCircleWorldPos (double x1, double y1, double z1, double x2, double y2, double z2, int type)
 Uses the world coordinate system to make a circular selection. More...
 
void SelectByCylinder (Cylinder *cylinder, bool visible)
 Selects object included in an area by specifying an area in a circle or cylinder. More...
 
void SelectByID (int index)
 Selects object by specifying an ID. More...
 
void SelectByPolylinePixelPos (String array &pos, int type)
 Uses the pixel coordinate system to make a polygonal selection. More...
 
void SelectByPolylineWorldPos (String array &pos, int type)
 Uses geometry obtained from converting a polyhedron in a world coordinate system to a pixel coordinate system to select a range. More...
 
void SelectByPosition (double x, double y, double z, bool visible)
 Selects object in position by specifying coordinates. More...
 
void SelectByRange (Point *lower, Point *upper, bool visible)
 Selects object included in an area by specifying a rectangle or parallelepiped. More...
 
void SelectByRectanglePixelPos (int x1, int y1, int x2, int y2, int type)
 Uses the pixel coordinate system to make a rectangular selection. More...
 
void SelectByRectangleWorldPos (double x1, double y1, double z1, double x2, double y2, double z2, int type)
 Uses geometry obtained from converting a cuboid in a world coordinate system to a pixel coordinate system to select a range. More...
 
void SelectEdge ()
 Switches to the edge selection mode.
 
void SelectElement ()
 Switches to the element selection mode.
 
void SelectElementEdge ()
 Switches to the element edge selection mode.
 
void SelectElementFace ()
 Switches to the element face selection mode.
 
void SelectElementVertex ()
 Switches to the node selection mode.
 
void SelectFace ()
 Switches to the face selection mode.
 
void SelectPart ()
 Switches to the the part selection mode.
 
void SelectPixelPos (int x, int y, int type)
 Selects object in position by specifying pixel coordinates. More...
 
void SelectVertex ()
 Switches to the vertex selection mode.
 
void SelectWorldPos (double x, double y, double z, int type)
 Selects object in position by specifying world coordinates. More...
 
void SetActiveSubWindow (int index)
 Switches another window to active. More...
 
void SetActiveSubWindowSize (int width, int height)
 Specifies window size. More...
 
void SetAllView (String &name)
 Changes the view of all windows by selecting the viewpoint from the view list. More...
 
void SetAllViewByIndex (int index)
 Changes the view of all windows by specifying view with index in the view list. More...
 
void SetCamera (double pos_x, double pos_y, double pos_z, double tar_x, double tar_y, double tar_z, double up_x, double up_y, double up_z, double width, double height)
 Specifies the camera position. More...
 
void SetCompositeView (bool flag)
 Specifies the flag for displaying the composite result. More...
 
void SetContourLabelView (bool flag)
 Specifies the flag for displaying a contour max position label. More...
 
void SetContourView (bool flag)
 Specifies the flag for displaying a contour plot. More...
 
void SetCurrentCase (int currentCase)
 Specifies the current case ID. More...
 
void SetCutPlanesOutLinesView (bool flag)
 Specifies a flag for enabling [Show Cut Plane Outlines]. More...
 
void SetExtendedSelection (bool flag)
 Switches to the surface selection mode. More...
 
void SetFluxLineView (bool flag)
 Specifies the flag for displaying a flux line plot. More...
 
void SetModelCopyView (bool flag)
 Specifies the flag for displaying a model copy. More...
 
void SetOnlyCutFacesView (bool flag)
 Specifies a flag to set [Show Model in Front/Behind Plane] as active. More...
 
void SetOriginalModelView (bool flag)
 Specifies a flag for displaying the original model. More...
 
void SetPhase (double phase)
 Specifies the current phase. More...
 
void SetScaledDisplacementView (bool flag)
 Specifies a flag for applying the scale to the result display. More...
 
void SetSightThrough (bool flag)
 Switches to the sight through mode. More...
 
void SetStep (int step)
 Specifies the current step number. More...
 
void SetVectorView (bool flag)
 Specifies the flag for displaying a vector plot. More...
 
void SetVertexVisibility (bool flag)
 Displays or hides a vertex. More...
 
void SetView (String &name)
 Changes the view by specifying the viewpoint from the view list. More...
 
void SetViewByIndex (int index)
 Changes the view by specifying the index in the view list. More...
 
void Shaded ()
 Switches to the shading display.
 
void ShowAll ()
 Shows all regions.
 
void ShowAllAirRegions ()
 Shows all air regions.
 
void ShowAllShells ()
 Displays all shells. More...
 
void ShowMesh ()
 Displays the mesh model.
 
void ShowMeshGeometry ()
 Displays the mesh model outline.
 
void ShowModel ()
 Displays a solid/region model.
 
void ShowMorphing ()
 Displays morphing.
 
void TileSubWindows ()
 Displays windows side by side.
 
void UpdateView ()
 Redraws the graphics window. More...
 
double VectorMaxValue ()
 Returns the maximum value of vector displayed in the window. More...
 
double VectorMinValue ()
 Returns the minimum value of vector displayed in the window. More...
 
void Wireframe ()
 Switches to the wireframe display.
 
void Xy ()
 Rotates the model to display the XY plane.
 
void Xz ()
 Rotates the model to display the XZ plane.
 
void Yx ()
 Rotates the model to display the YZ plane.
 
void Yz ()
 Rotates the model to display the YX plane.
 
void Zoom (double zoomfactor)
 Controls the zoom of a camera. More...
 
void Zx ()
 Rotates the model to display the ZX plane.
 
void Zy ()
 Rotates the model to display the ZY plane.
 

Detailed Description

ViewController class along with changing the pan, zoom, and orientation of the model display, this controls such things as the display status of analysis results.
It can be called from Application class.
.

Example of calling the class object:

app.View()


The following coordinate system is used to explain some of the commands

Member Function Documentation

int ViewController::ActiveSubWindowIndex ( )

Returns an index for the active window.

Returns
Index for active window
bool ViewController::CaptureResultView ( String &  title,
String &  comment 
)

Captures the result view.

Parameters
titleTitle
commentComment
double ViewController::ContourMaxValue ( )

Returns the maximum value of contour displayed in the window.

Returns
Maximum value of contour
double ViewController::ContourMinValue ( )

Returns the minimum value of contour displayed in the window.

Returns
Minimum value of contour
int ViewController::CreateView ( String &  name)

Creates a viewpoint to add to the view list.

Parameters
nameName of the view point
void ViewController::DeleteView ( String &  name)

Deletes the viewpoint specified by the name from the view list.

Parameters
nameName of the view point
void ViewController::DeleteViewByIndex ( int  index)

Deletes the viewpoint specified by the index from the view list.

Parameters
indexViewpoint index
void ViewController::ExportViewpoints ( String &  filename,
String array &  viewpoints 
)

Exports viewpoints to a file.

Parameters
filenameFile path
viewpointsList of viewpoint names for exporting
bool ViewController::GetCompositeView ( )

Returns True as the return value if the composite result is displayed.

Returns
Whether or not the composite result is displayed
bool ViewController::GetContourLabelView ( )

Returns True as the return value if a contour max position label is displayed.

Returns
Whether or not a contour max position label is displayed
bool ViewController::GetContourView ( )

Returns True as the return value if a contour plot is displayed.

Returns
Whether or not a contour plot is displayed
int ViewController::GetCurrentCase ( )

Returns the current case ID.

Returns
Current case ID

The currentCase is numbered from 1.

bool ViewController::GetCutPlanesOutLinesView ( )

Returns True as the return value when [Show Only Cut Faces] is enabled.

Returns
[Show Cut Plane Outlines] is enabled or disabled
bool ViewController::GetFluxLineView ( )

Returns True as the return value if a flux line plot is displayed.

Returns
Whether or not a flux line plot is displayed
bool ViewController::GetModelCopyView ( )

Returns True as the return value if a model copy is displayed.

Returns
Whether or not a copy of the model is displayed
bool ViewController::GetOnlyCutFacesView ( )

Returns True as the return value when [Show Model in Front/Behind Plane] is active.

Returns
Whether or not [Show Model in Front/Behind Plane] is active
bool ViewController::GetOriginalModelView ( )

Returns True as the return value if a original model is displayed.

Returns
Whether or not a original model is displayed
double ViewController::GetPhase ( )

Returns the current phase as a real number.

Returns
Current phase
bool ViewController::GetScaledDisplacementView ( )

Returns True as the return value if the scale is applied to the result display.

Returns
Whether or not a scaling factor is applied
int ViewController::GetStep ( )

Returns the current step number as an integer.

Returns
Current step number
bool ViewController::GetVectorView ( )

Returns True as the return value if a vector plot is displayed.

Returns
Whether or not a vector plot is displayed
void ViewController::ImportViewpoints ( String &  filename)

Imports viewpoints from files.

Parameters
filenameFile path
bool ViewController::IsSingleton ( )

Since this is an internal function, it is not officially supported.

Deprecated:
bool ViewController::IsValid ( )

Returns True if an object is valid.

Returns
Whether or not the ViewController object is valid
void ViewController::Pan ( double  deltax,
double  deltay 
)

Controls the panning of a camera.

Parameters
deltaxHorizontal displacement
deltayVertical displacement
void ViewController::Roll ( double  degree)

Rotates the viewpoint of the model on the fixed plane.

Parameters
degreeAngle
void ViewController::Rotate ( double  degree_x,
double  degree_y 
)

Rotates the viewpoint by the specified angle.

Parameters
degree_xAngle from the X-axis
degree_yAngle from the Y-axis
void ViewController::RotateTo ( double  degree_x,
double  degree_y,
double  degree_z 
)

Controls the rotation of a camera.

Parameters
degree_xX angle
degree_yY angle
degree_zZ angle
void ViewController::SelectByCirclePixelPos ( int  x1,
int  y1,
int  x2,
int  y2,
int  type 
)

Uses the pixel coordinate system to make a circular selection.

Parameters
x1First point of the circle (center of the circle) - X-axis
y1First point of the circle (center of the circle) - Y-axis
x2Second point of the circle (a point on the circumference) - X-axis
y2Second point of the circle (a point on the circumference) - Y-axis
type
0x01:Shift
0x02:Control
0x03:Shift&Control

The JMAG-Designer window must be dislayed prior to using these commands.
These are keyboard commands.

  • Add to the selection by making a selection while holding down the Shift key.
  • Deselect an area by clicking the area while holding down the Ctrl key.
  • Holding down the Shift and Ctrl keys is the same as only holding down the Ctrl key.
void ViewController::SelectByCircleWorldPos ( double  x1,
double  y1,
double  z1,
double  x2,
double  y2,
double  z2,
int  type 
)

Uses the world coordinate system to make a circular selection.

Parameters
x1First point of the circle (center of the circle) - X-axis
y1First point of the circle (center of the circle) - Y-axis
z1First point of the sphere (center of the sphere) - Z-axis
x2Second point of the circle (a point on the circumference) - X-axis
y2Second point of the circle (a point on the circumference) - Y-axis
z2Second point of the sphere (a point on the spherical surface) - Z-axis
type
0x01:Shift
0x02:Control
0x03:Shift&Control

The JMAG-Designer window must be dislayed prior to using these commands.
These are keyboard commands.

  • Add to the selection by making a selection while holding down the Shift key.
  • Deselect an area by clicking the area while holding down the Ctrl key.
  • Holding down the Shift and Ctrl keys is the same as only holding down the Ctrl key.
void ViewController::SelectByCylinder ( Cylinder cylinder,
bool  visible 
)

Selects object included in an area by specifying an area in a circle or cylinder.

Parameters
cylinderDefinition for cylinder area
visible
0 : Selects hidden targets
1 : Selects only visible targets
void ViewController::SelectByID ( int  index)

Selects object by specifying an ID.

Parameters
indexID
void ViewController::SelectByPolylinePixelPos ( String array &  pos,
int  type 
)

Uses the pixel coordinate system to make a polygonal selection.

Parameters
posPolygonal vertex coordinate (x,y) table (2 row arrangement)
type
0x01:Shift
0x02:Control
0x03:Shift&Control

The JMAG-Designer window must be dislayed prior to using these commands.
These are keyboard commands.

  • Add to the selection by making a selection while holding down the Shift key.
  • Deselect an area by clicking the area while holding down the Ctrl key.
  • Holding down the Shift and Ctrl keys is the same as only holding down the Ctrl key.
void ViewController::SelectByPolylineWorldPos ( String array &  pos,
int  type 
)

Uses geometry obtained from converting a polyhedron in a world coordinate system to a pixel coordinate system to select a range.

Parameters
pos
type
0x01:Shift
0x02:Control
0x03:Shift&Control

The JMAG-Designer window must be dislayed prior to using these commands.
These are keyboard commands.

  • Add to the selection by making a selection while holding down the Shift key.
  • Deselect an area by clicking the area while holding down the Ctrl key.
  • Holding down the Shift and Ctrl keys is the same as only holding down the Ctrl key.
void ViewController::SelectByPosition ( double  x,
double  y,
double  z,
bool  visible 
)

Selects object in position by specifying coordinates.

Parameters
xX-coordinate
yY-coordinate
zZ-coordinate
visible
0 : Selects hidden targets
1 : Selects only visible targets
void ViewController::SelectByRange ( Point lower,
Point upper,
bool  visible 
)

Selects object included in an area by specifying a rectangle or parallelepiped.

Parameters
lowerPoint sequence coordinate of first point (x, y, z)
upperPoint sequence coordinate of second point (x, y, z)
visible
0 : Selects hidden targets
1 : Selects only visible targets
void ViewController::SelectByRectanglePixelPos ( int  x1,
int  y1,
int  x2,
int  y2,
int  type 
)

Uses the pixel coordinate system to make a rectangular selection.

Parameters
x1First point of the rectangular selection - X-coordinate
y1First point of the rectangular selection - Y-coordinate
x2Second point of rectangular selection (The diagonal line of the first point) - X-coordinate
y2Second point of rectangular selection (The diagonal line of the first point) - Y-coordinate
type
0x01:Shift
0x02:Control
0x03:Shift&Control

The JMAG-Designer window must be dislayed prior to using these commands.
These are keyboard commands.

  • Add to the selection by making a selection while holding down the Shift key.
  • Deselect an area by clicking the area while holding down the Ctrl key.
  • Holding down the Shift and Ctrl keys is the same as only holding down the Ctrl key.
void ViewController::SelectByRectangleWorldPos ( double  x1,
double  y1,
double  z1,
double  x2,
double  y2,
double  z2,
int  type 
)

Uses geometry obtained from converting a cuboid in a world coordinate system to a pixel coordinate system to select a range.

Parameters
x1First point of the cuboid - X-coordinate
y1First point of the cuboid - Y-coordinate
z1First point of the cuboid - Z-coordinate
y2Second point of the cuboid - y-coordinate
x2Second point of the cuboid - X-coordinate
z2Second point of the cuboid - Z-coordinate
type
0x01:Shift
0x02:Control
0x03:Shift&Control

The JMAG-Designer window must be dislayed prior to using these commands.
These are keyboard commands.

  • Add to the selection by making a selection while holding down the Shift key.
  • Deselect an area by clicking the area while holding down the Ctrl key.
  • Holding down the Shift and Ctrl keys is the same as only holding down the Ctrl key.
void ViewController::SelectPixelPos ( int  x,
int  y,
int  type 
)

Selects object in position by specifying pixel coordinates.

Parameters
xX-coordinate of selection
yY-coordinate of selection
zZ-coordinate of selection
type
0x01:Shift
0x02:Control
0x03:Shift&Control

The JMAG-Designer window must be dislayed prior to using these commands.
These are keyboard commands.

  • Add to the selection by making a selection while holding down the Shift key.
  • Deselect an area by clicking the area while holding down the Ctrl key.
  • Holding down the Shift and Ctrl keys is the same as only holding down the Ctrl key.
void ViewController::SelectWorldPos ( double  x,
double  y,
double  z,
int  type 
)

Selects object in position by specifying world coordinates.

Parameters
xX-coordinate of selection
yY-coordinate of selection
zZ-coordinate of selection
type
0x01:Shift
0x02:Control
0x03:Shift&Control

The JMAG-Designer window must be dislayed prior to using these commands.
These are keyboard commands.

  • Add to the selection by making a selection while holding down the Shift key.
  • Deselect an area by clicking the area while holding down the Ctrl key.
  • Holding down the Shift and Ctrl keys is the same as only holding down the Ctrl key.
void ViewController::SetActiveSubWindow ( int  index)

Switches another window to active.

Parameters
indexIndex for the created window (in order of old to new windows)
void ViewController::SetActiveSubWindowSize ( int  width,
int  height 
)

Specifies window size.

Parameters
widthWindow width
heightWindow height
void ViewController::SetAllView ( String &  name)

Changes the view of all windows by selecting the viewpoint from the view list.

Parameters
nameName of the viewpoint
void ViewController::SetAllViewByIndex ( int  index)

Changes the view of all windows by specifying view with index in the view list.

Parameters
indexViewpoint index
void ViewController::SetCamera ( double  pos_x,
double  pos_y,
double  pos_z,
double  tar_x,
double  tar_y,
double  tar_z,
double  up_x,
double  up_y,
double  up_z,
double  width,
double  height 
)

Specifies the camera position.

Parameters
pos_xCamera position - X-coordinate
pos_yCamera position - Y-coordinate
pos_zCamera position - Z-coordinate
tar_xImage capture - X-coordinate
tar_yImage capture - Y-coordinate
tar_zImage capture - Z-coordinate
up_xUpper direction of image capture - X-component
up_yUpper direction of image capture - Y-component
up_zUpper direction of image capture - Z-component
widthImage capture width
heightImage capture height
void ViewController::SetCompositeView ( bool  flag)

Specifies the flag for displaying the composite result.

Parameters
flag
True=1 : Displays composite result
False=0 : Hides the composite result
void ViewController::SetContourLabelView ( bool  flag)

Specifies the flag for displaying a contour max position label.

Parameters
flag
True=1 : Displays a label
False=0 : Hides a label
void ViewController::SetContourView ( bool  flag)

Specifies the flag for displaying a contour plot.

Parameters
flag
True=1 : Displays a contour plot
False=0 : Hides a contour plot
void ViewController::SetCurrentCase ( int  currentCase)

Specifies the current case ID.

Parameters
currentCaseCurrent case ID

The currentCase is numbered from 1.

void ViewController::SetCutPlanesOutLinesView ( bool  flag)

Specifies a flag for enabling [Show Cut Plane Outlines].

Parameters
flag
True=1 : Displays cut geometry outline
False=0 : Hides cut geometry outline
void ViewController::SetExtendedSelection ( bool  flag)

Switches to the surface selection mode.

Parameters
flag
True=1 : Starts surface selection mode
False=0 : Exits surface selection mode
void ViewController::SetFluxLineView ( bool  flag)

Specifies the flag for displaying a flux line plot.

Parameters
flag
True=1 : Displays flux lines
False=0 : Hides flux lines
void ViewController::SetModelCopyView ( bool  flag)

Specifies the flag for displaying a model copy.

Parameters
flag
True=1 : Displays a model copy
False=0 : Hides a model copy
void ViewController::SetOnlyCutFacesView ( bool  flag)

Specifies a flag to set [Show Model in Front/Behind Plane] as active.

Parameters
flag
True=1 : Sets [Show %Model in Front/Behind Plane] to active
False=0 : Sets [Show %Model in Front/Behind Plane] to inactive
void ViewController::SetOriginalModelView ( bool  flag)

Specifies a flag for displaying the original model.

Returns
flag
True=1 : Display the original model
False=0 : Hides the original model
void ViewController::SetPhase ( double  phase)

Specifies the current phase.

Parameters
phasePhase
void ViewController::SetScaledDisplacementView ( bool  flag)

Specifies a flag for applying the scale to the result display.

Parameters
flag
True=1 : Applies the scaling factor
False=0 : Does not apply the scaling factor
void ViewController::SetSightThrough ( bool  flag)

Switches to the sight through mode.

Parameters
flag
True=1 : Starts sight through mode
False=0 : Exits sight through mode
void ViewController::SetStep ( int  step)

Specifies the current step number.

Parameters
stepStep number
void ViewController::SetVectorView ( bool  flag)

Specifies the flag for displaying a vector plot.

Parameters
flag
True=1 : Displays a vector plot
False=0 : Hides a vector plot
void ViewController::SetVertexVisibility ( bool  flag)

Displays or hides a vertex.

Parameters
flag
True=1 : Highlights vertices
False=0 : Does not highlight vertices
void ViewController::SetView ( String &  name)

Changes the view by specifying the viewpoint from the view list.

Parameters
nameName of the viewpoint
void ViewController::SetViewByIndex ( int  index)

Changes the view by specifying the index in the view list.

Parameters
indexViewpoint index
void ViewController::ShowAllShells ( )

Displays all shells.

Shows all beams for 2D models.

void ViewController::UpdateView ( )

Redraws the graphics window.

Changes are not reflected in the graphics window until a script with a step or a phase is modified and all process for scripts have ended.
The model in the graphics window is redrawn immediately when running this command.

double ViewController::VectorMaxValue ( )

Returns the maximum value of vector displayed in the window.

Returns
Maximum value of vector
double ViewController::VectorMinValue ( )

Returns the minimum value of vector displayed in the window.

Returns
Minimum value of vector
void ViewController::Zoom ( double  zoomfactor)

Controls the zoom of a camera.

Parameters
zoomfactorMagnification