Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | 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 =========================================================================*/
00051 #ifndef __vtkSliceCubes_h
00052 #define __vtkSliceCubes_h
00053 
00054 #include "vtkObject.h"
00055 
00056 class vtkVolumeReader;
00057 
00058 class VTK_GRAPHICS_EXPORT vtkSliceCubes : public vtkObject
00059 {
00060 public:
00061   static vtkSliceCubes *New();
00062   vtkTypeRevisionMacro(vtkSliceCubes,vtkObject);
00063   void PrintSelf(ostream& os, vtkIndent indent);
00064 
00065   // methods to make it look like a filter
00066   void Write() {this->Update();};
00067   void Update();
00068 
00070 
00071   virtual void SetReader(vtkVolumeReader*);
00072   vtkGetObjectMacro(Reader,vtkVolumeReader);
00074 
00076 
00077   vtkSetStringMacro(FileName);
00078   vtkGetStringMacro(FileName);
00080 
00082 
00083   vtkSetMacro(Value,double);
00084   vtkGetMacro(Value,double);
00086 
00088 
00090   vtkSetStringMacro(LimitsFileName);
00091   vtkGetStringMacro(LimitsFileName);
00093 
00094 protected:
00095   vtkSliceCubes();
00096   ~vtkSliceCubes();
00097 
00098   void Execute();
00099 
00100   vtkVolumeReader *Reader;
00101   char *FileName;  
00102   double Value;
00103   char *LimitsFileName;
00104 
00105 private:
00106   vtkSliceCubes(const vtkSliceCubes&);  // Not implemented.
00107   void operator=(const vtkSliceCubes&);  // Not implemented.
00108 };
00109 
00110 #endif
00111 

Generated on Mon Jan 21 23:07:26 2008 for VTK by  doxygen 1.4.3-20050530