VTK  9.5.20251120
vtk3DCursorWidget.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
15
16#ifndef vtk3DCursorWidget_h
17#define vtk3DCursorWidget_h
18
19#include "vtkAbstractWidget.h"
20#include "vtkInteractionWidgetsModule.h" // For export macro
21#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
22
23VTK_ABI_NAMESPACE_BEGIN
25
26class VTKINTERACTIONWIDGETS_EXPORT VTK_MARSHALAUTO vtk3DCursorWidget : public vtkAbstractWidget
27{
28public:
31 void PrintSelf(ostream& os, vtkIndent indent) override;
32
42
50
56
57protected:
59 ~vtk3DCursorWidget() override = default;
60
65
66private:
67 vtk3DCursorWidget(const vtk3DCursorWidget&) = delete;
68 void operator=(const vtk3DCursorWidget&) = delete;
69};
70
71VTK_ABI_NAMESPACE_END
72#endif
Representation of the vtk3DCursorWidget.
void CreateDefaultRepresentation() override
Create the default widget representation if no one is set.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static void MoveAction(vtkAbstractWidget *)
Callback function used to place the cursor in the scene using the picker.
void SetRepresentation(vtk3DCursorRepresentation *r)
Specify an instance of vtkWidgetRepresentation used to represent this widget in the scene.
static vtk3DCursorWidget * New()
vtk3DCursorRepresentation * Get3DCursorRepresentation()
Return the widget representation as a vtk3DCursorRepresentation.
~vtk3DCursorWidget() override=default
void SetWidgetRepresentation(vtkWidgetRepresentation *r)
vtkWidgetRepresentation * WidgetRep
a simple class to control print indentation
Definition vtkIndent.h:108
abstract class defines interface between the widget and widget representation classes
#define VTK_MARSHALAUTO