|
IGLib
1.7.2
The IGLib base library for development of numerical, technical and business applications.
|
Basic control for manipulating 3D graphics. More...
Inheritance diagram for IG.Gr3d.Graph3dManipulator:
Collaboration diagram for IG.Gr3d.Graph3dManipulator:Public Member Functions | |
| Graph3dManipulator () | |
| Graph3dManipulator (IVtkFormContainer vtkContainer) | |
| Costructs 3D graphics manipulator with the specified container of the VTK control to be manipulated. More... | |
| void | InitPositioner () |
| void | UpdateTextFields () |
| Updates control's text fields according to values on the manipulated control. More... | |
Protected Member Functions | |
| void | PositionInitializeEventHandler () |
| Method that is called in event handlers to initialize the window positioning system for the form containing the current manipulator control. More... | |
| void | LaunchPositionerGuiPanel () |
| Method that launches the panel where the window positioner properties can be changed and tested. More... | |
| override void | Dispose (bool disposing) |
| Clean up any resources being used. More... | |
Protected Attributes | |
| WindowPositioner | _positioner |
| WindowPositionerForm | _positionerForm |
| bool | _suspendEventHandlers = false |
Properties | |
| bool | IsCloseWindoButtonVisible [get, set] |
| Specifies whether the button that closes the main form is visible. More... | |
| bool | IsPositionerButtonVisible [get, set] |
| Specifies whether the button that opens the positioner form is visible. More... | |
| IVtkFormContainer | VtkContainer [get, set] |
| VTK container of type IVtkFormContainer through which VTK functionality is controlled. More... | |
| VtkControlBase | VtkControl [get, set] |
| Gets the control of type VtkControlBase through which VTK functionality is controlled. More... | |
| I3dGraphicsControl | GraphControl [get] |
| Graph control that is manipulated by the current control. More... | |
| bool | IsPositioned [get, set] |
| Whether the form containing the current manipulator control is positioned automatically relative to the form containing the manipulated control. More... | |
| Form | ManipulatedForm [get] |
| The form that contains the mainipulated graphic window. More... | |
| WindowPositioner | Positioner [get, protected set] |
| Window positioner. More... | |
| WindowPositionerForm | PositionerForm [get, set] |
| A GIU panel for setting window positioner properties. More... | |
Private Member Functions | |
| void | btnClose_Click (object sender, EventArgs e) |
| Closes the top level form if it implements the IClosableFromContainedForm interface. More... | |
| void | btnRefresh_Click (object sender, EventArgs e) |
| Refreshes values in the text fields. More... | |
| void | btnUpLeft_Click (object sender, EventArgs e) |
| void | btnUp_Click (object sender, EventArgs e) |
| void | btnUpRight_Click (object sender, EventArgs e) |
| void | btnLeft_Click (object sender, EventArgs e) |
| void | btnRight_Click (object sender, EventArgs e) |
| void | btnDownLeft_Click (object sender, EventArgs e) |
| void | btnDown_Click (object sender, EventArgs e) |
| void | btnDownRight_Click (object sender, EventArgs e) |
| void | btnRollCounterClockwise_Click (object sender, EventArgs e) |
| void | btnRollClockwise_Click (object sender, EventArgs e) |
| void | btnZoomIn_Click (object sender, EventArgs e) |
| void | btnZoomOut_Click (object sender, EventArgs e) |
| void | txtViewAngle_Validated (object sender, EventArgs e) |
| void | txtR_Validated (object sender, EventArgs e) |
| void | txtFi_Validated (object sender, EventArgs e) |
| void | txtTheta_Validated (object sender, EventArgs e) |
| void | txtRoll_Validated (object sender, EventArgs e) |
| void | txtRotationStep_Validated (object sender, EventArgs e) |
| void | txtZoomFactor_Validated (object sender, EventArgs e) |
| void | txtRotationStep_Enter (object sender, EventArgs e) |
| void | txtZoomFactor_Enter (object sender, EventArgs e) |
| void | txtR_Enter (object sender, EventArgs e) |
| void | txtFi_Enter (object sender, EventArgs e) |
| void | txtTheta_Enter (object sender, EventArgs e) |
| void | txtRoll_Enter (object sender, EventArgs e) |
| void | txtViewAngle_Enter (object sender, EventArgs e) |
| void | Graph3dManipulator_Load (object sender, EventArgs e) |
| void | btnPositioner_Click (object sender, EventArgs e) |
| void | InitializeComponent () |
| Required method for Designer support - do not modify the contents of this method with the code editor. More... | |
Private Attributes | |
| IVtkFormContainer | _vtkContainer |
| VtkControlBase | _vtkControl |
| bool | _isPositioned = true |
| System.ComponentModel.IContainer | components = null |
| Required designer variable. More... | |
| System.Windows.Forms.Button | btnClose |
| System.Windows.Forms.TextBox | txtTheta |
| System.Windows.Forms.TextBox | txtFi |
| System.Windows.Forms.TextBox | txtR |
| System.Windows.Forms.TextBox | txtViewAngle |
| System.Windows.Forms.Label | lblTheta |
| System.Windows.Forms.Label | lblFi |
| System.Windows.Forms.Label | lblR |
| System.Windows.Forms.Label | lblViewAngle |
| System.Windows.Forms.Button | btnUpLeft |
| System.Windows.Forms.Button | btnRollClockwise |
| System.Windows.Forms.Button | btnZoomOut |
| System.Windows.Forms.Button | btnZoomIn |
| System.Windows.Forms.Button | btnRollCounterClockwise |
| System.Windows.Forms.Button | btnUpRight |
| System.Windows.Forms.Button | btnDown |
| System.Windows.Forms.Button | btnUp |
| System.Windows.Forms.Button | btnRight |
| System.Windows.Forms.Button | btnLeft |
| System.Windows.Forms.Button | btnDownRight |
| System.Windows.Forms.Button | btnDownLeft |
| System.Windows.Forms.Label | lblRotationStep |
| System.Windows.Forms.TextBox | txtRotationStep |
| System.Windows.Forms.Label | lblZoomFactor |
| System.Windows.Forms.TextBox | txtZoomFactor |
| System.Windows.Forms.Label | lblRoll |
| System.Windows.Forms.TextBox | txtRoll |
| System.Windows.Forms.Panel | pnl3dManipulator |
| System.Windows.Forms.Button | btnRefresh |
| System.Windows.Forms.Button | btnPositioner |
Basic control for manipulating 3D graphics.
$A Igor xx;
|
inline |
|
inline |
Costructs 3D graphics manipulator with the specified container of the VTK control to be manipulated.
| vtkContainer | VTK container that contains the manipulated control. |
|
inline |
References IG.Forms.WindowPositioner.MasterWeight, IG.Forms.WindowPositioner.MasterWindow, IG.Forms.WindowPositioner.MasterWindowAlignment, IG.Forms.WindowPositioner.MasterWindowShiftRelative, IG.Forms.WindowPositioner.RememberPosition(), IG.Forms.WindowPositioner.ShiftAbsolute, IG.Forms.WindowPositioner.StickToMaster(), IG.Forms.WindowPositioner.Window, IG.Forms.WindowPositioner.WindowAlignment, and IG.Forms.WindowPositioner.WindowShiftRelative.
|
inlineprotected |
Method that is called in event handlers to initialize the window positioning system for the form containing the current manipulator control.
References IG.Forms.WindowPositioner.PositionWindow().
|
inlineprotected |
Method that launches the panel where the window positioner properties can be changed and tested.
|
inline |
Updates control's text fields according to values on the manipulated control.
References IG.Lib.Util.SleepSeconds(), IG.Num.vec3.ToString(), IG.Num.vec3.x, IG.Num.vec3.y, and IG.Num.vec3.z.
|
inlineprivate |
Closes the top level form if it implements the IClosableFromContainedForm interface.
References IG.Forms.UtilForms.BlinkControl().
|
inlineprivate |
Refreshes values in the text fields.
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
References IG.Forms.UtilForms.BlinkControl().
|
inlineprivate |
References IG.Forms.UtilForms.BlinkControl(), and IG.Num.vec3.x.
|
inlineprivate |
References IG.Forms.UtilForms.BlinkControl(), and IG.Num.vec3.y.
|
inlineprivate |
References IG.Forms.UtilForms.BlinkControl(), and IG.Num.vec3.z.
|
inlineprivate |
References IG.Forms.UtilForms.BlinkControl().
|
inlineprivate |
References IG.Forms.UtilForms.BlinkControl().
|
inlineprivate |
References IG.Forms.UtilForms.BlinkControl().
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprotected |
Clean up any resources being used.
| disposing | true if managed resources should be disposed; otherwise, false. |
|
inlineprivate |
Required method for Designer support - do not modify the contents of this method with the code editor.
|
private |
|
private |
|
private |
|
protected |
|
protected |
|
protected |
|
private |
Required designer variable.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
getset |
Specifies whether the button that closes the main form is visible.
|
getset |
Specifies whether the button that opens the positioner form is visible.
|
getset |
VTK container of type IVtkFormContainer through which VTK functionality is controlled.
|
getset |
Gets the control of type VtkControlBase through which VTK functionality is controlled.
|
get |
Graph control that is manipulated by the current control.
|
getsetprivate |
Whether the form containing the current manipulator control is positioned automatically relative to the form containing the manipulated control.
|
get |
The form that contains the mainipulated graphic window.
|
getprotected set |
Window positioner.
|
getsetprotected |
A GIU panel for setting window positioner properties.