Package org.jzy3d.plot3d.primitives

Provides 3d primitives that either implement plot3d.rendering.Drawable or plot3d.rendering.Composite3d, and thus provide a draw() and transform() function for the plot3d.rendering.Scene.

See:
          Description

Interface Summary
IGLBindedResource  
IGLRenderer  
ISortableDraw  
 

Class Summary
AbstractComposite A Composite gathers several Drawable and provides default methods for rendering them all in one call.
AbstractDrawable A AbstractDrawable defines objects that may be rendered into an OpenGL context provided by a ICanvas.
AbstractWireframeable An AbstractWireframeable is a AbstractDrawable that has a wireframe mode for display.
CompileableComposite A CompileableComposite allows storage and subsequent faster execution of individual contained instances drawing routines in an OpenGL display list.
CompositeParallelepiped A composite implementation of a parallelepiped, meaning it can be decomposed into distinct primitive for polygon ordering.
Cylinder  
Disk  
FlatLine2d  
HistogramBar  
InterpolatedLineStrip  
LineStrip Color works as follow: If wireframe color is null (default), uses each point color and performs color interpolation Otherwise apply a uniform wireframe color.
MultiColorScatter A scatter plot supporting a colormap for shading each dot color and alpha.
MultiColorScatterList A scatter plot supporting a List as input.
Parallelepiped A Parallelepiped is a parallelepiped rectangle that is Drawable and Wireframeable.
Point A Point3d is a storage for a Coord3d and a Color that represents a drawable 3d point.
Polygon Supports additional settings
Quad A Quad extends a Polygon in order to provide a specific draw() method that relies on a dedicated GL2 call (GL_QUADS), and to ensure the number of points is never greater than 4.
Scatter Experimental 3d object.
Shape Allows building custom shapes defined by an ArrayList of Polygons.
SimplePolygon 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);
Sphere A Sphere allows rendering a sphere.
Tube A Tube may be used to render cylinders or pyramids, according to its input parameters.
 

Enum Summary
CompositeParallelepiped.PolygonType  
Polygon.PolygonMode  
 

Package org.jzy3d.plot3d.primitives Description

Provides 3d primitives that either implement plot3d.rendering.Drawable or plot3d.rendering.Composite3d, and thus provide a draw() and transform() function for the plot3d.rendering.Scene.

Some Drawable may also be plot3d.rendering.Wireframeable3d to offer wireframe display control on 3d objects for which it make sense: Polygons, Spheres, etc. A Point has obviously no existing wireframe mode.

Pure Drawable are implicitely considered as Primitive shapes and provide a function for drawing themself. A Composite3d may encapsulate several Primitives and delegate rendering or transformation to its Primitives.

When designing a Composite3d, the programer must be aware that no real SceneGraph is currently available, and that the glscale, glrotate and gltransform calls must be set statically into the draw function of the Composite3d.