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 =========================================================================*/
52 #ifndef vtkSliceCubes_h
53 #define vtkSliceCubes_h
54 
55 #include "vtkImagingHybridModule.h" // For export macro
56 #include "vtkObject.h"
57 
58 class vtkVolumeReader;
59 
60 class VTKIMAGINGHYBRID_EXPORT vtkSliceCubes : public vtkObject
61 {
62 public:
63  static vtkSliceCubes *New();
64  vtkTypeMacro(vtkSliceCubes,vtkObject);
65  void PrintSelf(ostream& os, vtkIndent indent);
66 
67  // methods to make it look like a filter
68  void Write() {this->Update();};
69  void Update();
70 
72 
75  virtual void SetReader(vtkVolumeReader*);
76  vtkGetObjectMacro(Reader,vtkVolumeReader);
78 
80 
83  vtkSetStringMacro(FileName);
84  vtkGetStringMacro(FileName);
86 
88 
91  vtkSetMacro(Value,double);
92  vtkGetMacro(Value,double);
94 
96 
100  vtkSetStringMacro(LimitsFileName);
101  vtkGetStringMacro(LimitsFileName);
103 
104 protected:
107 
108  void Execute();
109 
111  char *FileName;
112  double Value;
114 
115 private:
116  vtkSliceCubes(const vtkSliceCubes&) VTK_DELETE_FUNCTION;
117  void operator=(const vtkSliceCubes&) VTK_DELETE_FUNCTION;
118 };
119 
120 #endif
vtkSliceCubes::FileName
char * FileName
Definition: vtkSliceCubes.h:111
vtkSliceCubes::SetReader
virtual void SetReader(vtkVolumeReader *)
Set/get object to read slices.
vtkSliceCubes::vtkSliceCubes
vtkSliceCubes()
vtkObject
abstract base class for most VTK objects
Definition: vtkObject.h:60
vtkSliceCubes::Reader
vtkVolumeReader * Reader
Definition: vtkSliceCubes.h:110
vtkSliceCubes::~vtkSliceCubes
~vtkSliceCubes()
vtkSliceCubes::Value
double Value
Definition: vtkSliceCubes.h:112
vtkSliceCubes::New
static vtkSliceCubes * New()
Update
virtual void Update()
Updates the extensions string.
vtkSliceCubes::Write
void Write()
Definition: vtkSliceCubes.h:68
vtkSliceCubes::LimitsFileName
char * LimitsFileName
Definition: vtkSliceCubes.h:113
vtkSliceCubes::Execute
void Execute()
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkSliceCubes::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkGetStringMacro
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
vtkObject.h
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkSliceCubes::Update
void Update()
vtkSliceCubes
generate isosurface(s) from volume four slices at a time
Definition: vtkSliceCubes.h:61
vtkVolumeReader
read image files
Definition: vtkVolumeReader.h:52