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();
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*);
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:
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
vtkGetObjectMacro
#define vtkGetObjectMacro(name, type)
Definition: vtkSetGet.h:232
vtkSliceCubes::FileName
char * FileName
Definition: vtkSliceCubes.h:102
vtkSliceCubes::SetReader
virtual void SetReader(vtkVolumeReader *)
vtkSliceCubes::vtkSliceCubes
vtkSliceCubes()
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkObject
abstract base class for most VTK objects
Definition: vtkObject.h:62
vtkSliceCubes::Reader
vtkVolumeReader * Reader
Definition: vtkSliceCubes.h:101
vtkSliceCubes::~vtkSliceCubes
~vtkSliceCubes()
vtkImagingHybridModule.h
VTKIMAGINGHYBRID_EXPORT
#define VTKIMAGINGHYBRID_EXPORT
Definition: vtkImagingHybridModule.h:15
vtkSliceCubes::Value
double Value
Definition: vtkSliceCubes.h:103
vtkSliceCubes::New
static vtkSliceCubes * New()
Update
virtual void Update()
vtkSliceCubes::Write
void Write()
Definition: vtkSliceCubes.h:67
vtkSliceCubes::LimitsFileName
char * LimitsFileName
Definition: vtkSliceCubes.h:104
vtkSliceCubes::Execute
void Execute()
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkSetStringMacro
#define vtkSetStringMacro(name)
Definition: vtkSetGet.h:104
vtkSliceCubes::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkGetMacro
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:93
vtkGetStringMacro
vtkGetStringMacro(ExtensionsString)
vtkObject.h
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
vtkSliceCubes::Update
void Update()
vtkSliceCubes
generate isosurface(s) from volume four slices at a time
Definition: vtkSliceCubes.h:60
vtkVolumeReader
read image files
Definition: vtkVolumeReader.h:51