Class DefaultScatterPlotMatrixModel<Color,Row,C>

java.lang.Object
com.macrofocus.high_d.scatterplotmatrix.AbstractScatterPlotMatrixModel<Color,Row,C>
com.macrofocus.high_d.scatterplotmatrix.DefaultScatterPlotMatrixModel<Color,Row,C>
All Implemented Interfaces:
ScatterPlotMatrixModel<Color,Row,C>

public class DefaultScatterPlotMatrixModel<Color,Row,C> extends AbstractScatterPlotMatrixModel<Color,Row,C>
  • Constructor Details

    • DefaultScatterPlotMatrixModel

      public DefaultScatterPlotMatrixModel(com.macrofocus.molap.dataframe.DataFrame<Row,C,?> dataFrame, com.macrofocus.crossplatform.CPFactory<?,?,?,Color> factory)
    • DefaultScatterPlotMatrixModel

      public DefaultScatterPlotMatrixModel(com.macrofocus.molap.dataframe.DataFrame<Row,C,?> dataFrame, com.macrofocus.colormapping.MutableColorMapping<Color,Row,C> colorMapping, com.macrofocus.crossplatform.CPFactory<?,?,?,Color> factory)
    • DefaultScatterPlotMatrixModel

      public DefaultScatterPlotMatrixModel(com.macrofocus.molap.dataframe.DataFrame<Row,C,?> dataFrame, com.macrofocus.visual.Visual<Color,Row,C> visual, com.macrofocus.crossplatform.CPFactory<?,?,?,Color> factory)
    • DefaultScatterPlotMatrixModel

      public DefaultScatterPlotMatrixModel(com.macrofocus.molap.dataframe.DataFrame<Row,C,?> dataFrame, com.macrofocus.visual.Visual<Color,Row,C> visual, com.macrofocus.high_d.axis.group.AxisGroupModel<Row,C> axisGroupModel)
  • Method Details

    • getVisual

      public com.macrofocus.visual.Visual<Color,Row,C> getVisual()
    • getObjectCount

      public int getObjectCount()
      Returns the number of data objects (typically rows).
      Returns:
      the number of data objects
    • getProbing

      public MutableSingleSelection<Row> getProbing()
      Obtains the model used for probing objects in the scatter plot (aka mouse over).
      Returns:
      the model used for probing.
    • getSelection

      public MutableSelection<Row> getSelection()
      Obtains the model used for selecting objects in the scatter plot.
      Returns:
      the model used for selection.
    • getFilter

      public MutableFilter<Row> getFilter()
      Obtains the model used for filtering objects in the scatter plot.
      Returns:
      the model used for filtering.
    • getColorMapping

      public com.macrofocus.colormapping.MutableColorMapping<Color,Row,C> getColorMapping()
      Gets model holding the color mapping of each object.
      Returns:
      the model holding the color of each object.
    • getColoring

      public com.macrofocus.coloring.MutableColoring<Color,Row> getColoring()
      Gets model holding the colors of each object.
      Returns:
      the model holding the color of each object.
    • getObject

      public Row getObject(int index)
      Returns:
    • getAxisModel

      public com.macrofocus.high_d.axis.AxisModel getAxisModel(int c)
    • getAxisCount

      public int getAxisCount()
      Returns the number of axis composing the parallel coordinates plot.
      Returns:
      the number of axis
    • getLocation

      public Double getLocation(com.macrofocus.high_d.axis.AxisModel axisModel)
      Gets the normalized location of an axis.
      Parameters:
      axisModel - the axis
      Returns:
      its normalized location within the group
    • getAxisGroupModel

      public com.macrofocus.high_d.axis.group.AxisGroupModel getAxisGroupModel()
      Gets all the axis composing this parallel coordinates plot.
      Returns:
    • setLocation

      public void setLocation(com.macrofocus.high_d.axis.AxisModel axisModel, double l)
      Sets the location of an axis within its group.
      Parameters:
      axisModel - the axis
      l - its normalized location
    • getVisibleAxisCount

      public int getVisibleAxisCount()