edu.washington.NVisF.plotter
Class SplitPointCloudStrategy

java.lang.Object
  |
  +--edu.washington.NVisF.plotter.PlotStrategy
        |
        +--edu.washington.NVisF.plotter.PointCloudStrategy
              |
              +--edu.washington.NVisF.plotter.SplitPointCloudStrategy

public class SplitPointCloudStrategy
extends PointCloudStrategy

A SplitPointCloudStrategy is exactly like a PointCloudStrategy except that the points are split into a set of GeometryArrays so that no more than a fixed number of vertices are in each GeometryArray. The current maximum number per GeometryArray is 10^5 vertices.


Constructor Summary
SplitPointCloudStrategy()
           
SplitPointCloudStrategy(PositionStrategy positionStrategy, ColoringStrategy coloringStrategy, AlphaColoringStrategy alphaColoringStrategy, AppearanceStrategy appearanceStrategy)
           
SplitPointCloudStrategy(PositionStrategy positionStrategy, ColoringStrategy coloringStrategy, AppearanceStrategy appearanceStrategy)
           
 
Method Summary
 GeometryArray[] getGeometryArrays(PlotCommand command)
          builds the GeometryArray[] for the specified PlotCommand.
 
Methods inherited from class edu.washington.NVisF.plotter.PointCloudStrategy
getAlphaColoringStrategy, getAppearance, getAppearanceStrategy, getColoringStrategy, getPositionStrategy, getVertexFormat, setAlphaColoringStrategy, setAppearanceStrategy, setColoringStrategy, setPositionStrategy, setVertexFormat
 
Methods inherited from class edu.washington.NVisF.plotter.PlotStrategy
getShape3Ds, getShape3Ds, getShape3Ds
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SplitPointCloudStrategy

public SplitPointCloudStrategy()

SplitPointCloudStrategy

public SplitPointCloudStrategy(PositionStrategy positionStrategy,
                               ColoringStrategy coloringStrategy,
                               AppearanceStrategy appearanceStrategy)

SplitPointCloudStrategy

public SplitPointCloudStrategy(PositionStrategy positionStrategy,
                               ColoringStrategy coloringStrategy,
                               AlphaColoringStrategy alphaColoringStrategy,
                               AppearanceStrategy appearanceStrategy)
Method Detail

getGeometryArrays

public GeometryArray[] getGeometryArrays(PlotCommand command)
Description copied from class: PointCloudStrategy
builds the GeometryArray[] for the specified PlotCommand. Positions, colors, and alpha values are provided by the appropriate components if available. The vertex format for the GemetryArray objects is taken from the most recent PointCloudStrategy.setVertexFormat(int) method call, which is also called from the constructors.
Overrides:
getGeometryArrays in class PointCloudStrategy
Following copied from class: edu.washington.NVisF.plotter.PointCloudStrategy
Throws:
NullPointerException - if no positions are available to construct the GeometryArrays
See Also:
GeometryArray