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
=========================================================================*/
22
#ifndef vtkImageCursor3D_h
23
#define vtkImageCursor3D_h
24
25
#include "vtkImagingHybridModule.h"
// For export macro
26
#include "
vtkImageInPlaceFilter.h
"
27
28
class
VTKIMAGINGHYBRID_EXPORT
vtkImageCursor3D
:
public
vtkImageInPlaceFilter
29
{
30
public
:
31
static
vtkImageCursor3D
*
New
();
32
vtkTypeMacro(
vtkImageCursor3D
,
vtkImageInPlaceFilter
);
33
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
34
35
37
40
vtkSetVector3Macro(CursorPosition,
double
);
41
vtkGetVector3Macro(CursorPosition,
double
);
43
45
48
vtkSetMacro(CursorValue,
double
);
49
vtkGetMacro(CursorValue,
double
);
51
53
57
vtkSetMacro(CursorRadius,
int
);
58
vtkGetMacro(CursorRadius,
int
);
60
61
62
protected
:
63
vtkImageCursor3D
();
64
~vtkImageCursor3D
()
override
{}
65
66
double
CursorPosition[3];
67
double
CursorValue
;
68
int
CursorRadius
;
69
70
int
RequestData
(
vtkInformation
*request,
71
vtkInformationVector
** inputVector,
72
vtkInformationVector
* outputVector)
override
;
73
74
private
:
75
vtkImageCursor3D
(
const
vtkImageCursor3D
&) =
delete
;
76
void
operator=(
const
vtkImageCursor3D
&) =
delete
;
77
};
78
79
80
81
#endif
82
83
84
vtkImageCursor3D::~vtkImageCursor3D
~vtkImageCursor3D() override
Definition:
vtkImageCursor3D.h:64
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:35
vtkImageCursor3D::CursorValue
double CursorValue
Definition:
vtkImageCursor3D.h:67
vtkImageCursor3D::CursorRadius
int CursorRadius
Definition:
vtkImageCursor3D.h:68
vtkImageInPlaceFilter.h
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:33
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:80
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:28
Generated by
1.8.16