org.keridwen.modelling.monitoring.viewer
Interface VisualizerMonitoringNode

All Known Implementing Classes:
CurveVisualizer, Map2DVisualizer, VisualizerVTK

public interface VisualizerMonitoringNode

This interface defines a visualizer of a MonitoringNode.


Method Summary
 void exportPNG(File directoryToExport)
           
 JPanel getVisualizer(com.artenum.penelope.field.interfaces.DataField<?,?> dataField, boolean isVTKActive)
           
 JPanel getVisualizer(List<com.artenum.penelope.field.interfaces.DataField<?,?>> dataFieldsVisualize, boolean vtkActive)
          Compute the JPanel which contains the visualization of all DataField given in input.
 boolean isCompatible(VisualizerMonitoringNode visualizerMonitoringNode)
          Check if this VisualizerMonitoringNode is compatible with an other VisualizerMonitoringNode.
 

Method Detail

getVisualizer

JPanel getVisualizer(com.artenum.penelope.field.interfaces.DataField<?,?> dataField,
                     boolean isVTKActive)
Parameters:
dataField - the DataField visualized.
isVTKActive - is a boolean which indicated if vtk is active or not.
Returns:
the visualization of the DataField.

exportPNG

void exportPNG(File directoryToExport)
Parameters:
directoryToExport - the path of directory where the export must be done.

isCompatible

boolean isCompatible(VisualizerMonitoringNode visualizerMonitoringNode)
Check if this VisualizerMonitoringNode is compatible with an other VisualizerMonitoringNode. It tests ifit is possible to plot data of first in the second.

Parameters:
visualizerMonitoringNode - The VisualizerMonitoringNode which can be compatible with the current VisualizerMonitoringNode.
Returns:
true if this VisualizerMonitoringNode is compatible with the VisualizerMonitoringNode defined in input, else return false.

getVisualizer

JPanel getVisualizer(List<com.artenum.penelope.field.interfaces.DataField<?,?>> dataFieldsVisualize,
                     boolean vtkActive)
Compute the JPanel which contains the visualization of all DataField given in input.

Parameters:
dataFieldsVisualize - the list of all DataField which must be visualized.
vtkActive - is a boolean which indicated if vtk is active or not.
Returns:
the JPanel which contains the visualization of all DataField given in input.


Copyright © 2012-2013 Artenum. All Rights Reserved.