Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkSliceCubes.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkSliceCubes.h,v $
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 
00015      THIS CLASS IS PATENTED UNDER UNITED STATES PATENT NUMBER 4,710,876
00016      "System and Method for the Display of Surface Structures Contained
00017      Within the Interior Region of a Solid Body".
00018      Application of this software for commercial purposes requires 
00019      a license grant from GE. Contact:
00020 
00021          Carl B. Horton
00022          Sr. Counsel, Intellectual Property
00023          3000 N. Grandview Blvd., W-710
00024          Waukesha, WI  53188
00025          Phone:  (262) 513-4022
00026          E-Mail: [email protected]
00027 
00028      for more information.
00029 
00030 =========================================================================*/
00079 #ifndef __vtkSliceCubes_h
00080 #define __vtkSliceCubes_h
00081 
00082 #include "vtkObject.h"
00083 
00084 class vtkVolumeReader;
00085 
00086 class VTK_PATENTED_EXPORT vtkSliceCubes : public vtkObject
00087 {
00088 public:
00089   static vtkSliceCubes *New();
00090   vtkTypeRevisionMacro(vtkSliceCubes,vtkObject);
00091   void PrintSelf(ostream& os, vtkIndent indent);
00092 
00093   // methods to make it look like a filter
00094   void Write() {this->Update();};
00095   void Update();
00096 
00098 
00099   virtual void SetReader(vtkVolumeReader*);
00100   vtkGetObjectMacro(Reader,vtkVolumeReader);
00102 
00104 
00105   vtkSetStringMacro(FileName);
00106   vtkGetStringMacro(FileName);
00108 
00110 
00111   vtkSetMacro(Value,double);
00112   vtkGetMacro(Value,double);
00114 
00116 
00118   vtkSetStringMacro(LimitsFileName);
00119   vtkGetStringMacro(LimitsFileName);
00121 
00122 protected:
00123   vtkSliceCubes();
00124   ~vtkSliceCubes();
00125 
00126   void Execute();
00127 
00128   vtkVolumeReader *Reader;
00129   char *FileName;  
00130   double Value;
00131   char *LimitsFileName;
00132 
00133 private:
00134   vtkSliceCubes(const vtkSliceCubes&);  // Not implemented.
00135   void operator=(const vtkSliceCubes&);  // Not implemented.
00136 };
00137 
00138 #endif
00139