Slicer  5.3
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
vtkMRMLRubberBandWidgetRepresentation.h
Go to the documentation of this file.
1 /*==============================================================================
2 
3  Program: 3D Slicer
4 
5  Copyright (c) Kitware Inc.
6 
7  See COPYRIGHT.txt
8  or http://www.slicer.org/copyright/copyright.txt for details.
9 
10  Unless required by applicable law or agreed to in writing, software
11  distributed under the License is distributed on an "AS IS" BASIS,
12  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  See the License for the specific language governing permissions and
14  limitations under the License.
15 
16 ==============================================================================*/
17 
26 #ifndef vtkMRMLRubberBandWidgetRepresentation_h
27 #define vtkMRMLRubberBandWidgetRepresentation_h
28 
29 #include "vtkMRMLDisplayableManagerExport.h" // For export macro
31 
32 class VTK_MRML_DISPLAYABLEMANAGER_EXPORT vtkMRMLRubberBandWidgetRepresentation : public vtkMRMLAbstractWidgetRepresentation
33 {
34 public:
39 
41 
45  void PrintSelf(ostream& os, vtkIndent indent) override;
47 
49  vtkGetVector2Macro(CornerPoint1, int);
50  vtkSetVector2Macro(CornerPoint1, int);
51  vtkGetVector2Macro(CornerPoint2, int);
52  vtkSetVector2Macro(CornerPoint2, int);
53 
55 
58  void GetActors2D(vtkPropCollection *) override;
59  void ReleaseGraphicsResources(vtkWindow *) override;
60  int RenderOverlay(vtkViewport *viewport) override;
62 
63 protected:
66 
67  class vtkInternal;
68  vtkInternal * Internal;
69 
70  int CornerPoint1[2];
71  int CornerPoint2[2];
72 
73 private:
75  void operator=(const vtkMRMLRubberBandWidgetRepresentation&) = delete;
76 };
77 
78 #endif
represent intersections of other slice views in the current slice view
void PrintSelf(ostream &os, vtkIndent indent) override
int RenderOverlay(vtkViewport *vtkNotUsed(viewport)) override