22 GUILayout.BeginHorizontal();
23 GUILayout.Label (
new GUIContent (
"Symmetry origin: ",
"Enter here the origin 3D coordinates of the symmetry axis"), GUILayout.MinWidth ((
int)(
Rectangles.
advOptWidth * 0.4f)));
29 GUILayout.EndHorizontal ();
32 GUILayout.BeginHorizontal();
33 GUILayout.Label (
new GUIContent (
"Symmetry direction: ",
"Enter here the direction of the symmetry axis"), GUILayout.MinWidth ((
int)(
Rectangles.
advOptWidth * 0.4f)));
39 GUILayout.EndHorizontal ();
42 GUILayout.BeginHorizontal ();
43 if (GUILayout.Button (
new GUIContent (
"Send",
"submit the symmetrical information."))) {
52 GUILayout.EndHorizontal ();
57 GUILayout.BeginHorizontal();
58 GUILayout.Label (
new GUIContent (
"Target: ",
"Enter here the 3D coordinates of the atom target"), GUILayout.MinWidth ((
int)(
Rectangles.
advOptWidth * 0.4f)));
64 GUILayout.EndHorizontal ();
66 GUILayout.BeginHorizontal();
67 GUILayout.Label (
new GUIContent (
"Camera distance: ",
"Enter here the desired distance between the target and the camera"), GUILayout.MinWidth ((
int)(
Rectangles.
advOptWidth * 0.4f)));
71 GUILayout.EndHorizontal ();
73 GUILayout.BeginHorizontal ();
74 if (GUILayout.Button (
new GUIContent (
"Send",
"compute the best point-of-view for the target coordinates."))) {
75 float[] TargetCoords =
new float[3];
82 GUILayout.EndHorizontal ();
83 GUILayout.BeginHorizontal ();
85 new GUIContent(
"Show symmetry axis and origin point",
"Hide/Show symmetry axis and origin point"));
93 GUILayout.EndHorizontal ();
95 GUILayout.BeginHorizontal ();
96 if (GUILayout.Button (
new GUIContent (
"Stop",
"Get out of Guided Navigation Mode."))) {
100 GUILayout.EndHorizontal ();
static string SymmetryDirectionY
static GuidedNavigationManager getGuidedNavigationManager()
void CreateAxeAndOrigin()
Instantiate the origin and symmetry axis game objects.
static bool originThere
Did we instantiate the origin and symmetry axis? True by default.
void DestroyAxeAndOrigin()
Destroy the axis and origin game objects.
static string SymmetryOriginY
static void GetOptimalPosition(float[] target, float radius)
Get the position with the largest view cone on a specific target and with respect to an input radius ...
static string SymmetryDirectionZ
static string CameraDistance
Distance of the camera to the target.
static string TargetX
3D coordinates of the camera target
static GameObject scenecontroller
!WiP Includes FLAGS of GUI.
The GNParameters class regroups settings used for Guided Navigation and GLIC spreading.
static bool SetTitleExit(string s)
This is a somewhat odd but very convenient function.
static void GuidedOptions(int a)
static bool hasMoleculeDisplay
static bool showGuidedMenu
static void LoadSymmetry(float Xorigin, float Yorigin, float Zorigin, float Xdirection, float Ydirection, float Zdirection)
static string SymmetryOriginZ
static string SymmetryDirectionX
Symmetry axis direction.
static bool showOriginAxe
Display the origin and symmetry axis (true) or not (false)
static string SymmetryOriginX
3D coordinates of the symmetry axis origin