VTK
dox/TextAnalysis/vtkExtractSelectedSlices.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkExtractSelectedSlices.h
00005   
00006 -------------------------------------------------------------------------
00007   Copyright 2008 Sandia Corporation.
00008   Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
00009   the U.S. Government retains certain rights in this software.
00010 -------------------------------------------------------------------------
00011 
00012   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00013   All rights reserved.
00014   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00015 
00016      This software is distributed WITHOUT ANY WARRANTY; without even
00017      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00018      PURPOSE.  See the above copyright notice for more information.
00019 
00020 =========================================================================*/
00021 
00045 #ifndef __vtkExtractSelectedSlices_h
00046 #define __vtkExtractSelectedSlices_h
00047 
00048 #include <vtkArrayDataAlgorithm.h>
00049 
00050 class VTK_TEXT_ANALYSIS_EXPORT vtkExtractSelectedSlices :
00051   public vtkArrayDataAlgorithm
00052 {
00053 public:
00054   static vtkExtractSelectedSlices* New();
00055   vtkTypeMacro(vtkExtractSelectedSlices, vtkArrayDataAlgorithm);
00056   void PrintSelf(ostream& os, vtkIndent indent);
00057 
00059 
00061   vtkGetMacro(SliceDimension, int);
00062   vtkSetMacro(SliceDimension, int);
00064 
00065 //BTX
00066 protected:
00067   vtkExtractSelectedSlices();
00068   ~vtkExtractSelectedSlices();
00069 
00070   int FillInputPortInformation(int, vtkInformation*);
00071 
00072   int RequestData(
00073     vtkInformation*, 
00074     vtkInformationVector**, 
00075     vtkInformationVector*);
00076 
00077 private:
00078   vtkExtractSelectedSlices(const vtkExtractSelectedSlices&); // Not implemented
00079   void operator=(const vtkExtractSelectedSlices&);   // Not implemented
00080 
00081   int SliceDimension;
00082 //ETX
00083 };
00084 
00085 #endif
00086