Creates the panel that holds slider (light intensity), label
for intensity slider, color setting combo box and control,
and boxes for setting near plane, far plane, bottom plane, up plane,
right plane and left plane (defining the viewing volume).
This class is responsible for inverting a matrix for solving a linear
equation Ax = b .
This is needed for finding the physical coordinates from screen
coordinates (for example, in showing mouse coordinates on the
viewer in real time).
Here we need to solve the following equation for X_physical X_physical * Transformation_Matrix = X_screen
We know the screen coordinates (current mouse coordinates), but
need the corresponding physical coodinates. This is a singleton class.
This is the transformation matrix for converting device
independent coordinates into java screen (device dependent)
coordinates.
It first translates the axes origin from screen center to upper
left corner and then flips the Y axes to negative side (this is
the java screen coordinate axes).
This is the transformation matrix to convert physical
coordinates to java screen coordinates (needed for drawing).
GeomDataManager class has a host of methods available to update /
process this matrix.
It is formed from view matrix, user-defined transformation,
java coordinate transformation, and user specified java coordinate
transformation matrices (eg, zoom on screen etc) as: mTransMatrix = mViewMatrix * mUserDefinedTransMatrix * mJavaCoordTransMatrix * mJavaCoordUserMatrix X(screen) = X(physical)*mTransMatrix
Read a .ans ANSYS generated file.
The file contains header lines in the beginning, followed by a
vertex definition block which is followed by a cell definition
block.
Read a .ans ANSYS generated file.
The file contains header lines in the beginning, followed by a
vertex definition block which is followed by a cell definition
block.
Parse a PMesh file and form an object.
PMesh is a file format used at the vision group at University of
Edinburgh. These files have a .obj extension.
This file format is as follows:
First line contains an optional comment, beginning with #pmesh
Next, the vertices are specified as v coord_x coord_y coord_z
Next the faces are specified as f int_1 int_2 int_3 int_4 ...
Parse a PMesh file and form an object.
PMesh is a file format used at the vision group at University of
Edinburgh. These files have a .obj extension.
This file format is as follows:
First line contains an optional comment, beginning with #pmesh
Next, the vertices are specified as v coord_x coord_y coord_z
Next the faces are specified as f int_1 int_2 int_3 int_4 ...
TwoDPlotManager class provides a unified interface to manage multiple
two D plots, the plots can be shown as tabs, or in a drop down box:
that decision is made by the Viewer class (the top level GUI).
Construct the transformation matrix in user defined coordinate
transformation matrix (from scratch) so that the object obj is
zoomed in (fits in smugly on the screen).