com.artenum.cassandra.plugin.threshold
Class ThresholdPlugin

java.lang.Object
  extended by com.artenum.cassandra.plugin.threshold.ThresholdPlugin
All Implemented Interfaces:
com.artenum.cassandra.pipeline.RemoveListener, com.artenum.cassandra.plugin.CassandraPlugin

public class ThresholdPlugin
extends java.lang.Object
implements com.artenum.cassandra.plugin.CassandraPlugin, com.artenum.cassandra.pipeline.RemoveListener

 Project ref           : CASSANDRA project
 Copyright and license : See relevant sections
 Status                : under development
 Creation              : 04/03/2005
 Modification          :

 Description  :
             This class defines the VTK processing pipeline itself
             and the initialisation of the contextuel GUI of the plugin.

 
Version numberAuthor (name, e-mail)Corrections/Modifications
0.1Sebastien Jourdain, jourdain@artenum.comCreation

Version:
0.1
Author:
Sebastien Jourdain

Field Summary
static int THRESHOLD_BETWEEN
           
static int THRESHOLD_LOWER
           
static int THRESHOLD_UPPER
           
 
Constructor Summary
ThresholdPlugin()
           
ThresholdPlugin(com.artenum.cassandra.pipeline.PipeLineManager pipelineManager, com.artenum.cassandra.plugin.PluginManager pluginManager, java.awt.Frame owner)
           
 
Method Summary
 javax.swing.JPopupMenu getContextualMenu()
           
 java.lang.String getName()
           
 com.artenum.cassandra.pipeline.VtkObject getOutputDataSet()
           
 void remove()
           
 java.lang.String toString()
           
 void updateThreshold(vtk.vtkDataSet inputDataSet, int thresholdType, double lowerLevel, double upperLevel)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

THRESHOLD_BETWEEN

public static final int THRESHOLD_BETWEEN
See Also:
Constant Field Values

THRESHOLD_LOWER

public static final int THRESHOLD_LOWER
See Also:
Constant Field Values

THRESHOLD_UPPER

public static final int THRESHOLD_UPPER
See Also:
Constant Field Values
Constructor Detail

ThresholdPlugin

public ThresholdPlugin()

ThresholdPlugin

public ThresholdPlugin(com.artenum.cassandra.pipeline.PipeLineManager pipelineManager,
                       com.artenum.cassandra.plugin.PluginManager pluginManager,
                       java.awt.Frame owner)
Method Detail

updateThreshold

public void updateThreshold(vtk.vtkDataSet inputDataSet,
                            int thresholdType,
                            double lowerLevel,
                            double upperLevel)

getName

public java.lang.String getName()
Specified by:
getName in interface com.artenum.cassandra.plugin.CassandraPlugin

remove

public void remove()
Specified by:
remove in interface com.artenum.cassandra.pipeline.RemoveListener
Specified by:
remove in interface com.artenum.cassandra.plugin.CassandraPlugin

getContextualMenu

public javax.swing.JPopupMenu getContextualMenu()
Specified by:
getContextualMenu in interface com.artenum.cassandra.plugin.CassandraPlugin

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getOutputDataSet

public com.artenum.cassandra.pipeline.VtkObject getOutputDataSet()


				 (c) Copyright: Artenum SARL, 101-103 Boulevard Mac Donald, 
				                75019, Paris, France 2005.
				                http://www.artenum.com
				 
				 License:

				  This program is free software; you can redistribute it 
				  and/or modify it under the terms of the Q Public License; 
				  either version 1 of the License.

				  This program is distributed in the hope that it will be
				  useful, but WITHOUT ANY WARRANTY; without even the implied
				  warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
				  PURPOSE. See the Q Public License for more details.

				  You should have received a copy of the Q Public License 
				  License along with this program; 
				  if not, write to:
				    Artenum SARL, 101-103 Boulevard Mac Donald,
				    75019, PARIS, FRANCE, e-mail: contact@artenum.com