VTK
9.0.1
Imaging
Hybrid
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
=========================================================================*/
49
#ifndef vtkSliceCubes_h
50
#define vtkSliceCubes_h
51
52
#include "vtkImagingHybridModule.h"
// For export macro
53
#include "
vtkObject.h
"
54
55
class
vtkVolumeReader
;
56
57
class
VTKIMAGINGHYBRID_EXPORT
vtkSliceCubes
:
public
vtkObject
58
{
59
public
:
60
static
vtkSliceCubes
*
New
();
61
vtkTypeMacro(
vtkSliceCubes
,
vtkObject
);
62
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
63
64
// methods to make it look like a filter
65
void
Write
() { this->Update(); }
66
void
Update();
67
69
72
virtual
void
SetReader(
vtkVolumeReader
*);
73
vtkGetObjectMacro(Reader,
vtkVolumeReader
);
75
77
80
vtkSetStringMacro(FileName);
81
vtkGetStringMacro(FileName);
83
85
88
vtkSetMacro(Value,
double
);
89
vtkGetMacro(Value,
double
);
91
93
97
vtkSetStringMacro(LimitsFileName);
98
vtkGetStringMacro(LimitsFileName);
100
101
protected
:
102
vtkSliceCubes
();
103
~
vtkSliceCubes
()
override
;
104
105
void
Execute();
106
107
vtkVolumeReader
*
Reader
;
108
char
*
FileName
;
109
double
Value
;
110
char
*
LimitsFileName
;
111
112
private
:
113
vtkSliceCubes
(
const
vtkSliceCubes
&) =
delete
;
114
void
operator=(
const
vtkSliceCubes
&) =
delete
;
115
};
116
117
#endif
vtkSliceCubes::FileName
char * FileName
Definition:
vtkSliceCubes.h:108
vtkObject::New
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
vtkObject
abstract base class for most VTK objects
Definition:
vtkObject.h:62
vtkSliceCubes::Reader
vtkVolumeReader * Reader
Definition:
vtkSliceCubes.h:107
vtkSliceCubes::Value
double Value
Definition:
vtkSliceCubes.h:109
vtkSliceCubes::Write
void Write()
Definition:
vtkSliceCubes.h:65
vtkSliceCubes::LimitsFileName
char * LimitsFileName
Definition:
vtkSliceCubes.h:110
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:33
vtkObject::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkObject.h
vtkSliceCubes
generate isosurface(s) from volume four slices at a time
Definition:
vtkSliceCubes.h:57
vtkVolumeReader
read image files
Definition:
vtkVolumeReader.h:51
Generated on Thu Jun 24 2021 15:17:26 for VTK by
1.8.17