forked from Kitware/VTK
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vtkResliceCursorThickLineRepresentation.h
68 lines (55 loc) · 2.62 KB
/
vtkResliceCursorThickLineRepresentation.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
/*=========================================================================
Program: Visualization Toolkit
Module: vtkResliceCursorLineRepresentation.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
// .NAME vtkResliceCursorThickLineRepresentation - represents a thick slab of the reslice cursor widget
// .SECTION Description
// This class respresents a thick reslice cursor, that can be used to
// perform interactive thick slab MPR's through data. The class internally
// uses vtkImageSlabReslice to do its reslicing. The slab thickness is set
// interactively from the widget. The slab resolution (ie the number of
// blend points) is set as the minimum spacing along any dimension from
// the dataset.
// .SECTION See Also
// vtkImageSlabReslice vtkResliceCursorLineRepresentation vtkResliceCursorWidget
#ifndef vtkResliceCursorThickLineRepresentation_h
#define vtkResliceCursorThickLineRepresentation_h
#include "vtkInteractionWidgetsModule.h" // For export macro
#include "vtkResliceCursorLineRepresentation.h"
class VTKINTERACTIONWIDGETS_EXPORT vtkResliceCursorThickLineRepresentation : public vtkResliceCursorLineRepresentation
{
public:
// Description:
// Instantiate the class.
static vtkResliceCursorThickLineRepresentation *New();
// Description:
// Standard VTK methods.
vtkTypeMacro(vtkResliceCursorThickLineRepresentation,vtkResliceCursorLineRepresentation);
void PrintSelf(ostream& os, vtkIndent indent);
// Description:
// INTERNAL - Do not use
// Create the thick reformat class. This overrides the superclass
// implementation and creates a vtkImageSlabReslice instead of a
// vtkImageReslice.
virtual void CreateDefaultResliceAlgorithm();
// Description:
// INTERNAL - Do not use
// Reslice parameters which are set from vtkResliceCursorWidget based on
// user interactions.
virtual void SetResliceParameters(
double outputSpacingX, double outputSpacingY,
int extentX, int extentY );
protected:
vtkResliceCursorThickLineRepresentation();
~vtkResliceCursorThickLineRepresentation();
private:
vtkResliceCursorThickLineRepresentation(const vtkResliceCursorThickLineRepresentation&); //Not implemented
void operator=(const vtkResliceCursorThickLineRepresentation&); //Not implemented
};
#endif