org.keridwen.modelling.monitoring.viewer
Class CassandraPluginActionListener

java.lang.Object
  extended by org.keridwen.modelling.monitoring.viewer.CassandraPluginActionListener
All Implemented Interfaces:
com.artenum.cassandra.action.PluginActionListener, ActionListener, EventListener

public class CassandraPluginActionListener
extends Object
implements com.artenum.cassandra.action.PluginActionListener

This class is used to plot the evolution of mesh element id picked in the 3D view versus the time.

Author:
Benjamin JEANTY-RUARD - Artenum

Constructor Summary
CassandraPluginActionListener(Map<Integer,Integer> convertPenelopeVertexIdToVtkVertexId, com.artenum.penelope.field.interfaces.DataField<?,?> dataField, File dataFieldExportedDirectory, Map<Integer,Integer> convertVtkCellIdToMeshElementPenelopeId)
          Constructor of CassandraPluginActionListener.
 
Method Summary
 void actionPerformed(ActionEvent evt)
          WARNING, CAUTION, FIXME: TODO: the picking is currently possible only on ONE data field!!!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CassandraPluginActionListener

public CassandraPluginActionListener(Map<Integer,Integer> convertPenelopeVertexIdToVtkVertexId,
                                     com.artenum.penelope.field.interfaces.DataField<?,?> dataField,
                                     File dataFieldExportedDirectory,
                                     Map<Integer,Integer> convertVtkCellIdToMeshElementPenelopeId)
Constructor of CassandraPluginActionListener.

Parameters:
convertPenelopeVertexIdToVtkVertexId - Map which associates the id of a vertex defined in penelope to the id of a point defined in vtk (3D view).
dataField - Penelope DataField displayed in 3D view (vtk) and which is picked.
dataFieldExportedDirectory - The directory where the data field displayed is stored.
convertVtkCellIdToMeshElementPenelopeId - Map which associates the id of the cell id in vtk (3D view) to mesh element id defined in penelope.
Method Detail

actionPerformed

public void actionPerformed(ActionEvent evt)
WARNING, CAUTION, FIXME: TODO: the picking is currently possible only on ONE data field!!! In the future a correspondance between the vtk data set picked and the data field penelope associated could be implemented (use vtkInformation object?)

Specified by:
actionPerformed in interface ActionListener


Copyright © 2012-2013 Artenum. All Rights Reserved.