vmm.surface.implicit
Class SurfaceImplicit.ImplicitSurfaceView

java.lang.Object
  extended by vmm.core.View
      extended by vmm.core3D.View3D
          extended by vmm.core3D.View3DWithLightSettings
              extended by vmm.surface.implicit.SurfaceImplicit.ImplicitSurfaceView
All Implemented Interfaces:
java.util.EventListener, javax.swing.event.ChangeListener, Decorateable, Parameterizable
Direct Known Subclasses:
ClebschCubic.ClebschView
Enclosing class:
SurfaceImplicit

public class SurfaceImplicit.ImplicitSurfaceView
extends View3DWithLightSettings


Field Summary
protected  ActionRadioGroup renderSelect
           
 
Fields inherited from class vmm.core3D.View3DWithLightSettings
lightingEnabledToggle, lightSettingsCommand
 
Fields inherited from class vmm.core3D.View3D
CROSS_EYE_STEREO_VIEW, leftStereographOSI, MONOCULAR_VIEW, projectionCommands, RED_GREEN_STEREO_VIEW, rightStereographOSI, set3DViewOptionsAction, setViewpointAction, stereoComposite, STEREOGRAPH_VIEW, transform3D, viewStyleCommands
 
Fields inherited from class vmm.core.View
backgroundCommands, buildAnimation, buildingImageForFilmstrip, currentGraphics, decorations, directOffscreenDrawing, fullOSI, needsRedraw, offscreenImageType, parameters, showAxesAction
 
Constructor Summary
SurfaceImplicit.ImplicitSurfaceView()
           
 
Method Summary
protected  void drawRayTracedSurface()
           
 ActionList getActions()
          Generates a list of "Action commands" that can be applied to this View.
protected  Vector3D GetFirstIntersectionsOfLineWithCubicSurface(SurfaceImplicit.Line3D theLine, double[] theRoots)
           
protected  Vector3D GetFirstIntersectionsOfLineWithQuadraticSurface(SurfaceImplicit.Line3D theLine, double[] theRoots)
           
protected  Vector3D GetFirstIntersectionsOfLineWithQuarticSurface(SurfaceImplicit.Line3D theLine, double[] theRoots)
           
protected  Vector3D GetFirstIntersectionsOfLineWithSurface(SurfaceImplicit.Line3D theLine)
           
 ActionList getSettingsCommands()
          Adds a checkbox for setting the lighting and dragAsSurface commands to any settings contributed by the superclass.
 boolean getUseRaytraceRendering()
           
 void setExhibit(Exhibit exhibit)
          Set the exhibit shown in this view.
 void setUseRaytraceRendering(boolean useRaytraceRendering)
           
 
Methods inherited from class vmm.core3D.View3DWithLightSettings
addExtraXML, getLightingEnabled, getLightSettings, readExtraXML, setAnaglyphLightSettings, setLightingEnabled, setLightSettings, setNonAnaglyphLightSettings, setViewStyle
 
Methods inherited from class vmm.core3D.View3D
clearOSI, clip, createAxes, createOSI, drawCollaredCurve, drawCollaredCurve, drawCollaredCurve, drawCurve, drawCurve, drawCurve, drawDot, drawLine, drawPixel, drawPixelDirect, drawPixels, drawString, drawWireframeSurface, finish, finishOSIDraw, finishStereoView, getDefaultMouseTask, getEnableThreeD, getOrthographicProjection, getSavedAuxiliaryTransformForEnableThreeD, getTransform3D, getViewCommands, getViewPoint, getViewStyle, getViewUp, moveStereographImages, needsNewOSI, prepareOSIForDrawing, putOSI, setBackground, setDisplay, setEnableThreeD, setOrthographicProjection, setSavedAuxiliaryTransformForEnableThreeD, setTransform, setUpForLeftEye, setUpForRightEye, setViewPoint, setViewUp, setWindowForUseWhileThreeDDisabled, stateChanged, stereographLeftEyeRect, stereographRightEyeRect, takeExhibit
 
Methods inherited from class vmm.core.View
addDecoration, addParameter, beginDrawToOffscreenImage, clearDecorations, doDraw, drawCurve, drawCurve, drawCurve, drawDot, drawLine, drawLine, drawLineDirect, drawPixel, drawPixel, drawPixels, drawString, drawString, endDrawToOffscreenImage, fillRectDirect, forceRedraw, getActionsForViewAndExhibit, getAdditionalAnimations, getAdditionalAnimationsForViewAndExhibit, getAntialiased, getApplyGraphics2DTransform, getBackground, getColor, getDecorations, getDisplay, getExhibit, getFastDrawing, getForeground, getImage, getName, getParameterByName, getParameters, getPreserveAspect, getRequestedWindow, getSettingsCommandsForViewAndExhibit, getShowAxes, getStatusText, getTitle, getTransform, getViewAndExhibitParameters, getWindow, parameterChanged, removeDecoration, removeParameter, render, setAntialiased, setApplyGraphics2DTransform, setColor, setFastDrawing, setFastDrawing, setForeground, setName, setPreserveAspect, setShowAxes, setStrokeSizeMultiplier, setWindow, setWindow
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

renderSelect

protected ActionRadioGroup renderSelect
Constructor Detail

SurfaceImplicit.ImplicitSurfaceView

public SurfaceImplicit.ImplicitSurfaceView()
Method Detail

getUseRaytraceRendering

public boolean getUseRaytraceRendering()

setUseRaytraceRendering

public void setUseRaytraceRendering(boolean useRaytraceRendering)

setExhibit

public void setExhibit(Exhibit exhibit)
Description copied from class: View3D
Set the exhibit shown in this view. It is overridden in this class to set View3D.transform3D and to manage stereographic viewing if necessary.

Overrides:
setExhibit in class View3D
Parameters:
exhibit - The exhibit to be installed in this View. The value can be null. In that case, no Exhibit will be associated with the View after the method executes. If exhibit is already installed in this View, then no changes are made.
See Also:
Display.install(View, Exhibit)

getActions

public ActionList getActions()
Description copied from class: View
Generates a list of "Action commands" that can be applied to this View. The commands must implement the ActionItem interface and will generally belong to one of the classes AbstractActionVMM, ToggleAction, ActionRadioGroup, or ActionList. Null items represent separators. The idea is that the list items will be added to a menu or otherwise presented to the user so that the user can invoke the commands (with ActionList items representing submenus). Null values can occur in the list; they are meant to become separaters in the menu.

Subclasses that override this method should generally call super.getActionss() and add their commands to the list retured by that method. This top-level View class does not define any Action commands; the return value is an empty non-null ArrayList.

Overrides:
getActions in class View

getSettingsCommands

public ActionList getSettingsCommands()
Description copied from class: View3DWithLightSettings
Adds a checkbox for setting the lighting and dragAsSurface commands to any settings contributed by the superclass.

Overrides:
getSettingsCommands in class View3DWithLightSettings
See Also:
View.getSettingsCommands()

drawRayTracedSurface

protected void drawRayTracedSurface()

GetFirstIntersectionsOfLineWithQuadraticSurface

protected Vector3D GetFirstIntersectionsOfLineWithQuadraticSurface(SurfaceImplicit.Line3D theLine,
                                                                   double[] theRoots)

GetFirstIntersectionsOfLineWithCubicSurface

protected Vector3D GetFirstIntersectionsOfLineWithCubicSurface(SurfaceImplicit.Line3D theLine,
                                                               double[] theRoots)

GetFirstIntersectionsOfLineWithQuarticSurface

protected Vector3D GetFirstIntersectionsOfLineWithQuarticSurface(SurfaceImplicit.Line3D theLine,
                                                                 double[] theRoots)

GetFirstIntersectionsOfLineWithSurface

protected Vector3D GetFirstIntersectionsOfLineWithSurface(SurfaceImplicit.Line3D theLine)