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
58class vtkVolumeReader;
59
60class VTKIMAGINGHYBRID_EXPORT vtkSliceCubes : public vtkObject
61{
62public:
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);
86
88
91 vtkSetMacro(Value,double);
92 vtkGetMacro(Value,double);
94
96
100 vtkSetStringMacro(LimitsFileName);
101 vtkGetStringMacro(LimitsFileName);
103
104protected:
107
108 void Execute();
109
111 char *FileName;
112 double Value;
114
115private:
116 vtkSliceCubes(const vtkSliceCubes&) VTK_DELETE_FUNCTION;
117 void operator=(const vtkSliceCubes&) VTK_DELETE_FUNCTION;
118};
119
120#endif
a simple class to control print indentation
Definition: vtkIndent.h:40
abstract base class for most VTK objects
Definition: vtkObject.h:60
generate isosurface(s) from volume four slices at a time
Definition: vtkSliceCubes.h:61
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual void SetReader(vtkVolumeReader *)
Set/get object to read slices.
char * LimitsFileName
static vtkSliceCubes * New()
vtkVolumeReader * Reader
read image files
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
virtual void Update()
Updates the extensions string.