VTK
dox
Imaging
Hybrid
vtkImageCursor3D.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkImageCursor3D.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
=========================================================================*/
25
#ifndef vtkImageCursor3D_h
26
#define vtkImageCursor3D_h
27
28
#include "vtkImagingHybridModule.h"
// For export macro
29
#include "
vtkImageInPlaceFilter.h
"
30
31
class
VTKIMAGINGHYBRID_EXPORT
vtkImageCursor3D
:
public
vtkImageInPlaceFilter
32
{
33
public
:
34
static
vtkImageCursor3D
*
New
();
35
vtkTypeMacro(
vtkImageCursor3D
,
vtkImageInPlaceFilter
);
36
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
37
38
40
43
vtkSetVector3Macro(CursorPosition,
double
);
44
vtkGetVector3Macro(CursorPosition,
double
);
46
48
51
vtkSetMacro(CursorValue,
double
);
52
vtkGetMacro(CursorValue,
double
);
54
56
60
vtkSetMacro(CursorRadius,
int
);
61
vtkGetMacro(CursorRadius,
int
);
63
64
65
protected
:
66
vtkImageCursor3D
();
67
~vtkImageCursor3D
()
override
{}
68
69
double
CursorPosition[3];
70
double
CursorValue
;
71
int
CursorRadius
;
72
73
int
RequestData
(
vtkInformation
*request,
74
vtkInformationVector
** inputVector,
75
vtkInformationVector
* outputVector)
override
;
76
77
private
:
78
vtkImageCursor3D
(
const
vtkImageCursor3D
&) =
delete
;
79
void
operator=(
const
vtkImageCursor3D
&) =
delete
;
80
};
81
82
83
84
#endif
85
86
87
vtkImageCursor3D::~vtkImageCursor3D
~vtkImageCursor3D() override
Definition:
vtkImageCursor3D.h:67
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:41
vtkImageCursor3D::CursorValue
double CursorValue
Definition:
vtkImageCursor3D.h:70
vtkImageCursor3D::CursorRadius
int CursorRadius
Definition:
vtkImageCursor3D.h:71
vtkImageInPlaceFilter.h
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkImageInPlaceFilter::RequestData
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called in response to a REQUEST_DATA request from the executive.
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:86
vtkAlgorithm::New
static vtkAlgorithm * New()
vtkImageInPlaceFilter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkImageInPlaceFilter
Filter that operates in place.
Definition:
vtkImageInPlaceFilter.h:31
vtkImageCursor3D
Paints a cursor on top of an image or volume.
Definition:
vtkImageCursor3D.h:31
Generated by
1.8.16