All Classes and Interfaces
Class
Description
An implementation based on
Pickable objects should register mapping between vertex model
and vertex representation through invalid input: '{@link PickSupport.registerPickableObject(IPickable pickable, V
v)'}
Registration should be done by overriding setGraphModel.An ordering strategy is a
Comparator for Drawables that may compute the priority
between Drawables d1 and d2.A remapping task that let a remapping be performed in a simple while loop.
An
AbstractViewportManager describes an element that occupies the whole rendering
ICanvas or only a vertical slice of it.Allows only composite objects to call
}, to avoid having all
children re-initializing min/max score in the scenegraph
invalid @link
{@link ColorMapper.preDraw(this)
An Angle2d stores three 2d points, considering the angle is on the second one.
An Angle3d stores three 3d points, considering the angle is on the second one.
A simple setting class to define the attenuation of a light w.r.t.
An AxeBase provide a simple 3-segment object which is configured by a BoundingBox.
The
AxisBox displays a box with front face invisible and ticks labels.A helper class to process axis labels.
An helper class to process the orientation of text according to a driving axis defined by 2 3D or
2D points (already resulting from a screen projection).
A helper class to process and draw axis ticks.
Draws the barycenter of an
Geometry and a line each point and the barycenter.The
BarycentreOrderingStrategy compare two Drawables by computing their
respective distances to the Camera, which must be referenced prior to any comparison.Helper class for the spline3d classes in this package.
A BoundingBox2d stores a couple of maximal and minimal limit on each dimension (x, y).
A BoundingBox3d stores a couple of maximal and minimal limit on each dimension (x, y, and z).
A
SharedTexture holding an image in memory.The
Camera allows projecting a 3d scene to a 2d screen based on an orthogonal or
perspective projection.The configuration used to call glOrtho
Draws the distance of every scene graph drawable object to camera eye.
Record the camera position at regular interval and draws the path based on these point
accumulation.
The
CameraThreadController provides a Thread for controlling the Camera
and make it turn around the view point along its the azimuth dimension.The
CameraThreadControllerWithTime handle rotation of a Camera according to a
speed given in second, which is the time required to make a complete 360° rotation.Chart is a convenient object that gather all components required to render a 3d scene for
plotting.This
IChartFactory returns non-displayable charts.Deprecated.
Color interface.
A rainbow colormap is a progressive transition from blue, to green and then red.
A rainbow colormap is a progressive transition from blue, to green and then red.
A
CompileableComposite allows storage and subsequent faster execution of individual
contained instances drawing routines in an OpenGL display list.Allows only composite objects to call
}, to avoid having all
children re-initializing min/max score in the scenegraph
invalid @link
{@link ColorMapper.preDraw(this)
A console output helper able to add coloring in console.
Implements windowing transformation.
A
Coord2d stores a 2 dimensional coordinate for cartesian (x,y) or polar (a,r) mode, and
provide operators allowing to add, substract, multiply and divises coordinate values, as well as
computing the distance between two points, and converting polar and cartesian coordinates.A
Coord3d stores a 3 dimensional coordinate for cartesian or polar mode, and provide few
operators.Store coordinates in double precision (whereas
Coord3d store coordinates with float
precision)A set of points.
A simple utility class for storing a list of x, y, and z coordinates as arrays of float values.
This pseudo-drawable will handle drawing outlines (such as polygon border), contour line (lying
exactly ON a polygon), or text which position is ON a polygon) that may be coplanar or partially
hidden by a collection of polygons.
A cube defined by a
BoundingBox3dA cube rendered with OpenGL GLUT.
Check periodically if screen size has changed, hence allowing to check a changing monitor.
CustomGrid allows using a specific projection mapping.
Allows any object to call
}
invalid @link
{@link ColorMapper.preDraw(this)
Force number to be represented with a given number of decimals
The default ordering strategy let drawables be displayed in their original order and as thus no
computation cost.
Replacement for java.awt.Dimension
Deprecated.
A
DrawableTextWrapper wraps any text rendered by an ITextRenderer into an
Drawable, meaning it can be injected in the scene graph, and be transformed.A
DrawableVBO is able to efficiently draw a large collection of geometries.A
DrawableVBO2 is able to efficiently draw a large collection of geometries.Input value is expected to be a number of elapsed seconds
A Sphere allows rendering a sphere.
This
AxisBox implementation was the first to appear in Jzy3d.Deprecated.
Force number to be represented with a given number of decimals
A Font subset supported both by OpenGL 1 and AWT.
OpenGL constants used by jzy3d drawables, independently of any OpenGL binding (JOGL, PanamaGL,
etc).
Below is description of the GLSL program lifecycle, with Jzy3d methods, and underlying OpenGL
methods.
Control the behaviour of a GLSL program with errors (throwing exceptions, create warnings, etc)
The scene's
Graph basically stores the scene content and facilitate objects control.Deprecated.
This is the greatest
IFontSizePolicy since it scale base font with current pixel scale.Reset the
font to
.
invalid reference
IAxisLayout
invalid reference
IAxisLayout#getFont(HiDPI)
Provides constants for defining the horizontal alignment of a text, w.r.t.
Specify services that a concrete Axe must provide.
A
ICanvas represent the target component for rendering OpenGL.This interface defines the set of methods that any concrete colormap should define in order to be
used by an object implementing the
IMultiColorable interface.ColorMappable interface.
Defines an objects that uses resources that should be loaded using an available GL context.
Defines a loader that requires a GL context.
IMultiColorable objects may have several colors interpolated between each of their
individual points colors.An
IPainter offers methods for drawing and viewing 3d objects.An
IPainterFactory provides all Windowing toolkit dependent objects.An
IScreenCanvas defines a panel into which rendering occurs, and that can be integrated
in an existing GUI.ISingleColorable objects have a single plain color and a must define a setter for it.Luokka kääntyy, muttei toimi vielä.
A simple enum to define light models, as documented in the
Light javadoc.Color works as follow:
If wireframe color is null (default), uses each point color and performs color interpolation
Otherwise apply a uniform wireframe color.
Creates an interpolated line to make a smooth 3d curve based on control points.
List of Level-Of-Details settings, ranked from most good looking to less good looking.
Hold performance results of multiple candidate
LODSetting aiming at choosing an
appropriate level of details according to the rendering time expectations.Create symbols based on an
MaskPair defined NativeDrawableImagesA simple enum to define material property names, as documented in the
Light javadoc.Load a Matlab (TM) .mat file, assuming it contains at least three arrays named "X", "Y" and "Z".
A class for holding measurements about something in a very loose way using a map
WORK IN PROGRESS
=================
Split drawing tasks to multiple thread, and wait for termination of all drawing tasks
before exiting the draw method, hence ensuring a consistent display.
A
NativeDrawableImage can only mount its texture while the GL2 thread is current, so the
best is to let draw() automount texture file the first time the resource is required.Solmualkio.
Indicates how the normal of a vertex is computed
SHARED: as a mean of all polygons that the vertex belongs to.
Indicate if normals are defined per point or per geometry.
Translated from C++ Version: nvModel.h - Model support class
The nvModel class implements an interface for a multipurpose model object.
Enumeration of primitive types
Deprecated.
A
ColorMapper able to compute a coordinate color according to its score computed
by the current Graph's AbstractOrderingStrategy.The
OrthonormalTessellator checks that coordinates are lying on an orthormal grid, and is
able to provide a Composite made of Polygons built according to this grid
On this model, one input coordinate is represented by one Polygon, for which each point
is a mean point between two grid ticks:Class Pair.
A Parallelepiped is a parallelepiped rectangle that is Drawable and Wireframeable.
A composite implementation of a parallelepiped, meaning it can be decomposed into distinct
primitive for polygon ordering.
Generate all possible permutations of the input list
May study https://www.quickperm.org/ as an faster alternative.
A tick provider for musical notation.
Renders ticks to display a note name instead of frequency value.
A Point3d is a storage for a Coord3d and a Color that represents a drawable 3d point.
Supports additional settings
Provides a structure for setting the rendering quality, i.e., the tradeoff between computation
speed, and graphic quality.
Pikalajittelu
For some naming relevance, a simple extention of Scale.
This rate limiter keeps an history of past rendering time to auto configure the rate limit
and ensure we stick to actual rendering time before doing an action.
Replacement for java.awt.Rectangle
Rotate is a
Transformer that stores the angle and rotate values required to perform the
effective OpenGL rotation in the ModelView matrix.Scale is a
Transformer that stores the scaling factor required to perform the effective
OpenGL2 scaling in the ModelView Matrix.A collection of coordinates rendered as dots.
A scatter plot supporting a colormap for shading each dot color and alpha.
A scatter plot supporting a List as input.
Experimental 3d object.
Formats 1000 to '1.0e3'
An
Selectable object is supposed to be able to compute its projection on the screen
according to the Camera settings (viewport, viewpoint, etc).A Scatter that supports an "highlighted status" to change selected point color
An invalid input: '{@' InteractiveView} handles 2d projection updates to ensure mouse is always computing
intersection with objects in a relevant state.
Store a pair of URL for a vertex and fragment shader, relative to a class
Package.An image stored in a 2D texture, that can be shared by several drawables.
A
SimplePolygon makes the simplest possible GL rendering with especially no:
gl.glPolygonMode(GL2.GL_FRONT_AND_BACK, GL2.GL_FILL);
gl.glEnable(GL2.GL_POLYGON_OFFSET_FILL);
A base implementation for a
Mapper with a single parameter used while applying f(x,y).Compute the ticks placements automatically between values min and max.
Specify an axe transform (e.g.
Build a sequence of regularly spaced ticks in case of space transformed charts (e.g.
A helper to apply 3
SpaceTransform on each dimension of a Coord3d.Apply log transform if value is greater than 0 (otherwise return 0).
Apply log transform if value is greater than 0 (otherwise return 0).
Apply log(e) transform if value is greater than 0 (otherwise return 0).
Do not apply any transform (return input value).
Allows rendering a sphere.
Warning! Observed that the sphere will render weirdly for rare viewpoint when following GL setting is applied.
This load the definition of a VBO sphere object and set arrays for later rendering.
This is a generic 3D B-Spline class for curves of arbitrary length, control handles and patches
are created and joined automatically as described here:
ibiblio.org/e-notes/
Splines/Bint.htm
Does nothing but returning
.
invalid reference
IAxisLayout#getFont()
A helper to generate drawable surfaces.
SymbolHandlers are used to configure a symbol when rendering a LineStrip.A polygon made of two triangles with no wireframe on their adjacent side.
Deprecated.
Deprecated.
A helper to process text position according to a
Horizontal, Vertical, text height and
width.The
ITextRenderer computes text layout according to Horizontal, Vertical
settings, text length, font size and text position.Texture coordinates of the corners of an image stored in a texture.
An
ITickRenderer that can store a list of labels for given axis values.Deprecated.
A
Transformer is able to execute a transformation into the OpenGL ModelView Matrix.Translate is a
Transformer that stores the offset required to perform the effective
OpenGL2 translation in the ModelView Matrix.Translate drawable to (0,0,0) or back to its previous position according to the input parameters.
Render ticks as multiple of π if the input value to be formated is not further to a multiple of π
than delta.
A
Tube may be used to render cylinders or pyramids, according to its input parameters.A utility class to build buffers to feed a
DrawableVBO2.A utility class to build buffers to feed a
DrawableVBO2.===================== WIP / Not working yet =====================
Limitations of primitive restart are discussed here :
https://community.khronos.org/t/using-glprimitiverestartindex-to-declare-multiple-geometries-in-the-same-vbo/107810/13
A utility class to build buffers to feed a
DrawableVBO2 using Primitive restart.The
VBOBuilder is responsible for sizing a FloatVBO, filling it with vertex
coordinates and colors properties, and configure a DrawableVBO with filled buffer.A simple loader loading an existing collection of coordinates into a Vertex Buffer Objects once
GL initialization stage requires it to be loaded.
Storage for a 2 dimensional vector defined by two points.
Storage for a 3 dimensional vector defined by two points.
Provides constants for defining the vertical alignment of a text, w.r.t.
Allows configuring the layout of a view when the chart enters a 2D rendering mode.
Process and store the layout of a 2D view having margins and axis labels defined by the
View2DLayout settings.This class handles the layout of a main 3D plot on the left with additional legends (colorbars)
on the right side.
Indicates a bounding mode.
Supports a View as target, instead of a chart.
A
ViewportConfiguration states how a particular GL rendering should occupy a canvas area.The
ViewBoundMode allows to apply a restriction on the degree of freedom that is let on
the View control.https://developer.nvidia.com/gpugems/gpugems/part-vi-beyond-triangles/chapter-39-volume-rendering-techniques
https://www.codeproject.com/Articles/352270/Getting-Started-with-Volume-Rendering-using-OpenGL
https://community.khronos.org/t/volume-rendering-with-3d-textures/73681
A drawable Waterfall using Matlab style
Build a drawable Waterfall using Matlab style
An
Wireframeable is a Drawable that has a wireframe mode for display, i.e.XY square, YZ correct aspect ratio
XZ square, XY correct aspect ratio
XY square, XZ correct aspect ratio
ZY square, XY correct aspect ratio
XZ square, YZ correct aspect ratio
YZ square, XZ correct aspect ratio