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 "vtkImagingHybridModule.h" // For export macro
55 #include "vtkObject.h"
56 
57 class vtkVolumeReader;
58 
60 {
61 public:
62  static vtkSliceCubes *New();
63  vtkTypeMacro(vtkSliceCubes,vtkObject);
64  void PrintSelf(ostream& os, vtkIndent indent);
65 
66  // methods to make it look like a filter
67  void Write() {this->Update();};
68  void Update();
69 
71 
72  virtual void SetReader(vtkVolumeReader*);
73  vtkGetObjectMacro(Reader,vtkVolumeReader);
75 
77 
78  vtkSetStringMacro(FileName);
79  vtkGetStringMacro(FileName);
81 
83 
84  vtkSetMacro(Value,double);
85  vtkGetMacro(Value,double);
87 
89 
91  vtkSetStringMacro(LimitsFileName);
92  vtkGetStringMacro(LimitsFileName);
94 
95 protected:
96  vtkSliceCubes();
97  ~vtkSliceCubes();
98 
99  void Execute();
100 
102  char *FileName;
103  double Value;
105 
106 private:
107  vtkSliceCubes(const vtkSliceCubes&); // Not implemented.
108  void operator=(const vtkSliceCubes&); // Not implemented.
109 };
110 
111 #endif
read image files
abstract base class for most VTK objects
Definition: vtkObject.h:61
char * LimitsFileName
virtual void Update()
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
Definition: vtkIndent.h:38
generate isosurface(s) from volume four slices at a time
Definition: vtkSliceCubes.h:59
vtkVolumeReader * Reader
#define VTKIMAGINGHYBRID_EXPORT
static vtkObject * New()