public class ModelView
extends javax.swing.JPanel
Modifier and Type | Class and Description |
---|---|
class |
ModelView.AxesDefinition |
class |
ModelView.FunctionsList |
class |
ModelView.ModelFunction |
Modifier and Type | Field and Description |
---|---|
java.lang.String[] |
as |
ModelView.AxesDefinition |
axesDefinition |
int |
backCulling |
java.awt.Color |
bgColor |
boolean |
bShowAxes |
boolean |
fogEnabled |
double |
fogEnd |
double |
fogStart |
ModelView.FunctionsList |
functions |
javax.swing.JMenuItem |
item1 |
javax.swing.JMenuItem |
item2 |
javax.swing.JMenuItem |
item3 |
javax.swing.JMenuItem |
item4 |
javax.swing.JMenuItem |
item5 |
javax.swing.JMenuItem |
item6 |
javax.swing.JMenuItem |
item7 |
TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
Constructor and Description |
---|
ModelView() |
Modifier and Type | Method and Description |
---|---|
void |
cameraForward(double d) |
double |
getCameraPosition() |
double[] |
getEyePosition()
Get eye position
|
double |
getFov() |
void |
paintToGrphics(java.awt.Graphics g,
int i,
int j) |
void |
readFromStream(java.io.DataInputStream datainputstream) |
void |
reInitializeVars() |
void |
saveImage(java.lang.String s) |
void |
setAxes(boolean bShowAxes) |
void |
setAxesColor(java.awt.Color c) |
void |
setAxisArrows(boolean showArrows) |
void |
setBackgroundFrame(java.awt.Color c) |
void |
setEyePosition(double x,
double y,
double z) |
void |
setFog(boolean fogEnabled) |
void |
setFov(double d) |
void |
setLabelColor(java.awt.Color color) |
void |
setLabelFont(java.awt.Font name) |
void |
setNameX(java.lang.String name) |
void |
setNameY(java.lang.String name) |
void |
setNameZ(java.lang.String name) |
void |
setRangeX(double min,
double max) |
void |
setRangeY(double min,
double max) |
void |
setRangeZ(double min,
double max) |
void |
setShowAxes(boolean x,
boolean y,
boolean z) |
void |
setValueFont(java.awt.Font name) |
void |
writeToStream(java.io.DataOutputStream dataoutputstream) |
getAccessibleContext, getUI, getUIClassID, setUI, updateUI
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintImmediately, paintImmediately, print, printAll, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, createImage, createImage, createVolatileImage, createVolatileImage, dispatchEvent, enable, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
public int backCulling
public java.awt.Color bgColor
public boolean fogEnabled
public double fogStart
public double fogEnd
public boolean bShowAxes
public ModelView.FunctionsList functions
public ModelView.AxesDefinition axesDefinition
public javax.swing.JMenuItem item1
public javax.swing.JMenuItem item2
public javax.swing.JMenuItem item3
public javax.swing.JMenuItem item4
public javax.swing.JMenuItem item5
public javax.swing.JMenuItem item6
public javax.swing.JMenuItem item7
public java.lang.String[] as
public void writeToStream(java.io.DataOutputStream dataoutputstream) throws java.io.IOException
java.io.IOException
public void readFromStream(java.io.DataInputStream datainputstream) throws java.io.IOException
java.io.IOException
public void reInitializeVars()
public void setRangeX(double min, double max)
public void setShowAxes(boolean x, boolean y, boolean z)
public void setRangeY(double min, double max)
public void setEyePosition(double x, double y, double z)
public double[] getEyePosition()
public void setRangeZ(double min, double max)
public void setNameX(java.lang.String name)
public void setNameY(java.lang.String name)
public void setNameZ(java.lang.String name)
public void setLabelFont(java.awt.Font name)
public void setLabelColor(java.awt.Color color)
public void setValueFont(java.awt.Font name)
public void setBackgroundFrame(java.awt.Color c)
public void setAxesColor(java.awt.Color c)
public void setFog(boolean fogEnabled)
public void setAxisArrows(boolean showArrows)
public void setAxes(boolean bShowAxes)
public double getFov()
public void setFov(double d)
public void cameraForward(double d)
public double getCameraPosition()
public void paintToGrphics(java.awt.Graphics g, int i, int j)
public void saveImage(java.lang.String s) throws java.io.IOException
java.io.IOException
JHepSim. A part of HSTOOLS. version-1.2