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

Patented/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: Carl.Horton@med.ge.com
00027 
00028      for more information.
00029 
00030 =========================================================================*/
00067 #ifndef __vtkSliceCubes_h
00068 #define __vtkSliceCubes_h
00069 
00070 #include "vtkObject.h"
00071 
00072 class vtkVolumeReader;
00073 
00074 class VTK_PATENTED_EXPORT vtkSliceCubes : public vtkObject
00075 {
00076 public:
00077   static vtkSliceCubes *New();
00078   vtkTypeRevisionMacro(vtkSliceCubes,vtkObject);
00079   void PrintSelf(ostream& os, vtkIndent indent);
00080 
00081   // methods to make it look like a filter
00082   void Write() {this->Update();};
00083   void Update();
00084 
00086 
00087   virtual void SetReader(vtkVolumeReader*);
00088   vtkGetObjectMacro(Reader,vtkVolumeReader);
00090 
00092 
00093   vtkSetStringMacro(FileName);
00094   vtkGetStringMacro(FileName);
00096 
00098 
00099   vtkSetMacro(Value,double);
00100   vtkGetMacro(Value,double);
00102 
00104 
00106   vtkSetStringMacro(LimitsFileName);
00107   vtkGetStringMacro(LimitsFileName);
00109 
00110 protected:
00111   vtkSliceCubes();
00112   ~vtkSliceCubes();
00113 
00114   void Execute();
00115 
00116   vtkVolumeReader *Reader;
00117   char *FileName;  
00118   double Value;
00119   char *LimitsFileName;
00120 
00121 private:
00122   vtkSliceCubes(const vtkSliceCubes&);  // Not implemented.
00123   void operator=(const vtkSliceCubes&);  // Not implemented.
00124 };
00125 
00126 #endif
00127