src
paraview-5.12
VTKExtensions
FiltersGeneral
vtkImageSimpleSource.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2
// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
3
// SPDX-License-Identifier: BSD-3-Clause
23
#ifndef vtkImageSimpleSource_h
24
#define vtkImageSimpleSource_h
25
26
#include "vtkPVVTKExtensionsFiltersGeneralModule.h"
//needed for exports
27
#include "
vtkThreadedImageAlgorithm.h
"
28
29
class
VTKPVVTKEXTENSIONSFILTERSGENERAL_EXPORT
vtkImageSimpleSource
30
:
public
vtkThreadedImageAlgorithm
31
{
32
public
:
33
static
vtkImageSimpleSource
*
New
();
34
vtkTypeMacro(
vtkImageSimpleSource
,
vtkThreadedImageAlgorithm
);
35
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
36
40
vtkGetVector6Macro(WholeExtent,
int
);
41
void
SetWholeExtent(
int
xMinx,
int
xMax,
int
yMin,
int
yMax,
int
zMin,
int
zMax);
42
46
vtkGetMacro(EnableDistanceSquaredData,
bool
);
47
vtkSetMacro(EnableDistanceSquaredData,
bool
);
48
vtkBooleanMacro(EnableDistanceSquaredData,
bool
);
49
53
vtkGetMacro(EnableSwirlData,
bool
);
54
vtkSetMacro(EnableSwirlData,
bool
);
55
vtkBooleanMacro(EnableSwirlData,
bool
);
56
57
protected
:
58
vtkImageSimpleSource
();
59
~
vtkImageSimpleSource
()
override
=
default
;
60
61
bool
EnableDistanceSquaredData
;
62
bool
EnableSwirlData
;
63
int
FirstIndex[3];
64
int
WholeExtent[6];
65
66
void
PrepareImageData
(
vtkInformationVector
** inputVector,
vtkInformationVector
* outputVector,
67
vtkImageData
*** inDataObjects =
nullptr
,
vtkImageData
** outDataObjects =
nullptr
)
override
;
68
69
int
RequestInformation
(
vtkInformation
* request,
vtkInformationVector
** inputVector,
70
vtkInformationVector
* outputVector)
override
;
71
72
void
ThreadedRequestData
(
vtkInformation
* request,
vtkInformationVector
** inputVector,
73
vtkInformationVector
* outputVector,
vtkImageData
*** inData,
vtkImageData
** outData,
74
int
extent[6],
int
threadId)
override
;
75
76
private
:
77
vtkImageSimpleSource
(
const
vtkImageSimpleSource
&) =
delete
;
78
void
operator=
(
const
vtkImageSimpleSource
&) =
delete
;
79
};
80
81
#endif
vtkThreadedImageAlgorithm::ThreadedRequestData
virtual void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int threadId)
vtkObjectBase::operator=
void operator=(const vtkObjectBase &)
vtkImageSimpleSource::EnableDistanceSquaredData
bool EnableDistanceSquaredData
Definition:
vtkImageSimpleSource.h:61
vtkThreadedImageAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
vtkInformationVector
vtkThreadedImageAlgorithm
vtkThreadedImageAlgorithm.h
vtkImageAlgorithm::RequestInformation
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkImageData
vtkIndent
vtkThreadedImageAlgorithm::PrepareImageData
virtual void PrepareImageData(vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inDataObjects=0, vtkImageData **outDataObjects=0)
vtkInformation
vtkAlgorithm::New
static vtkAlgorithm * New()
vtkImageSimpleSource::EnableSwirlData
bool EnableSwirlData
Definition:
vtkImageSimpleSource.h:62
vtkImageSimpleSource
Create a 3-D image with simple-to-compute pixel values.
Definition:
vtkImageSimpleSource.h:29
Generated by
1.8.17 on Wed Mar 27 2024