Package org.jzy3d.chart
Class ChartView
- java.lang.Object
-
- org.jzy3d.plot3d.rendering.view.View
-
- org.jzy3d.chart.ChartView
-
-
Field Summary
Fields Modifier and Type Field Description protected IViewportLayout
layout
-
Fields inherited from class org.jzy3d.plot3d.rendering.view.View
annotations, axis, axisDisplayed, backgroundColor, boundsMode, cam, cameraMode, cameraRenderingSphereRadiusFactor, canvas, center, chart, dimensionDirty, displayAxisWholeBounds, DISTANCE_DEFAULT, factorViewPointDistance, first, hidpi, initialized, LOGGER, maintainAllObjectsInView, painter, PI_div2, pixelScale, quality, scaling, scene, slave, spaceTransformer, squared, view2DLayout, view2DProcessing, viewBounds, viewDirty, viewEventListeners, viewLifecycleListeners, viewMode, viewOverlay, viewpoint, VIEWPOINT_AXIS_CORNER_TOUCH_BORDER, VIEWPOINT_DEFAULT, VIEWPOINT_DEFAULT_OLD, VIEWPOINT_X_Y_MIN_NEAR_VIEWER, viewPointChangedListeners, wasOnTopAtLastRendering
-
-
Constructor Summary
Constructors Constructor Description ChartView(IChartFactory factory, Scene scene, ICanvas canvas, Quality quality)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IViewportLayout
getLayout()
void
initInstance(IChartFactory factory, Scene scene, ICanvas canvas, Quality quality)
Initialize a view object.void
render()
Set the camera held by this view, and draw the scene graph.void
setLayout(IViewportLayout layout)
-
Methods inherited from class org.jzy3d.plot3d.rendering.view.View
addViewEventListener, addViewLifecycleChangedListener, addViewPointChangedListener, clear, computeCamera2D_RenderingSquare, computeCamera3D_RenderingSphere, computeCameraEye, computeCameraEye, computeCameraEyeFree, computeCameraEyeProfile, computeCameraEyeTop, computeCameraRenderingVolume, computeCameraTarget, computeCameraTarget, computeCameraUp, computeScaledViewBounds, computeSceneScaling, computeSceneScaling, computeViewpointDistance, configureHiDPIListener, correctCameraPositionForIncludingTextLabels, dispose, fireViewFirstRenderStarts, fireViewLifecycleHasInit, fireViewLifecycleWillRender, fireViewOnTopEvent, fireViewPointChangedEvent, get2DLayout, get2DProcessing, getAnnotations, getAxis, getAxisLayout, getBackgroundColor, getBounds, getBoundsMode, getCamera, getCameraMode, getCameraRenderingSphereRadiusFactor, getCanvas, getCenter, getChart, getHiDPI, getLastViewScaling, getPainter, getPixelScale, getScale, getScaling, getScene, getSceneGraphBounds, getSceneGraphBounds, getSceneViewportRectangle, getSpaceTransformer, getSquared, getSquarifier, getViewMode, getViewPoint, init, initBounds, initLights, initLights, initQuality, initResources, is2D, is3D, isAxisDisplayed, isDisplayAxisWholeBounds, isInitialized, isMaintainAllObjectsInView, isMaximized, isSlave, lookToBox, markDimensionDirty, project, projectMouse, removeViewLifecycleChangedListener, removeViewOnTopEventListener, removeViewPointChangedListener, renderAnnotations, renderAxeBox, renderAxeBox, renderBackground, renderBackground, renderOverlay, renderOverlay, renderScene, renderScene, renderScene, renderSceneGraph, renderSceneGraph, renderSceneGraph, rotate, rotate, setAxis, setAxisDisplayed, setBackgroundColor, setBoundManual, setBoundMode, setCameraMode, setCameraRenderingSphereRadiusFactor, setChart, setDisplayAxisWholeBounds, setMaintainAllObjectsInView, setMaximized, setScale, setScale, setScaleX, setScaleX, setScaleY, setScaleY, setScaleZ, setScaleZ, setSlave, setSpaceTransformer, setSquared, setSquarifier, setViewPoint, setViewPoint, setViewPositionMode, shift, shift, shoot, squarify, squarify, squarifyComputeBoundsRanges, squarifyGetSceneGraphBounds, triggerCameraUpEvents, updateBounds, updateBoundsForceUpdate, updateCamera, updateCamera, updateCamera, updateCameraWithoutShooting, updateQuality, zoom, zoom, zoomX, zoomX, zoomY, zoomY, zoomZ, zoomZ
-
-
-
-
Field Detail
-
layout
protected IViewportLayout layout
-
-
Constructor Detail
-
ChartView
public ChartView(IChartFactory factory, Scene scene, ICanvas canvas, Quality quality)
-
-
Method Detail
-
initInstance
public void initInstance(IChartFactory factory, Scene scene, ICanvas canvas, Quality quality)
Description copied from class:View
Initialize a view object. Invoked by constructor Method name is made clear to avoid confusion withView.init()
which initialize open GL context.- Overrides:
initInstance
in classView
-
render
public void render()
Set the camera held by this view, and draw the scene graph. Performs all transformations of eye, target coordinates to adapt the camera settings to the scaled scene.
-
getLayout
public IViewportLayout getLayout()
-
setLayout
public void setLayout(IViewportLayout layout)
-
-