VTK
vtkSliceCubes.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkSliceCubes.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
51 #ifndef __vtkSliceCubes_h
52 #define __vtkSliceCubes_h
53 
54 #include "vtkObject.h"
55 
56 class vtkVolumeReader;
57 
59 {
60 public:
61  static vtkSliceCubes *New();
62  vtkTypeMacro(vtkSliceCubes,vtkObject);
63  void PrintSelf(ostream& os, vtkIndent indent);
64 
65  // methods to make it look like a filter
66  void Write() {this->Update();};
67  void Update();
68 
70 
71  virtual void SetReader(vtkVolumeReader*);
72  vtkGetObjectMacro(Reader,vtkVolumeReader);
74 
76 
77  vtkSetStringMacro(FileName);
78  vtkGetStringMacro(FileName);
80 
82 
83  vtkSetMacro(Value,double);
84  vtkGetMacro(Value,double);
86 
88 
90  vtkSetStringMacro(LimitsFileName);
91  vtkGetStringMacro(LimitsFileName);
93 
94 protected:
95  vtkSliceCubes();
96  ~vtkSliceCubes();
97 
98  void Execute();
99 
101  char *FileName;
102  double Value;
104 
105 private:
106  vtkSliceCubes(const vtkSliceCubes&); // Not implemented.
107  void operator=(const vtkSliceCubes&); // Not implemented.
108 };
109 
110 #endif
111 
read image files
#define VTK_GRAPHICS_EXPORT
abstract base class for most VTK objects
Definition: vtkObject.h:60
char * LimitsFileName
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
Definition: vtkIndent.h:37
generate isosurface(s) from volume four slices at a time
Definition: vtkSliceCubes.h:58
vtkVolumeReader * Reader
static vtkObject * New()