VTK  9.3.1
vtkLogoWidget.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
20 #ifndef vtkLogoWidget_h
21 #define vtkLogoWidget_h
22 
23 #include "vtkBorderWidget.h"
24 #include "vtkInteractionWidgetsModule.h" // For export macro
25 
26 VTK_ABI_NAMESPACE_BEGIN
28 
29 class VTKINTERACTIONWIDGETS_EXPORT vtkLogoWidget : public vtkBorderWidget
30 {
31 public:
35  static vtkLogoWidget* New();
36 
38 
42  void PrintSelf(ostream& os, vtkIndent indent) override;
44 
51  {
52  this->Superclass::SetWidgetRepresentation(reinterpret_cast<vtkWidgetRepresentation*>(r));
53  }
54 
58  void CreateDefaultRepresentation() override;
59 
60 protected:
61  vtkLogoWidget();
62  ~vtkLogoWidget() override;
63 
64 private:
65  vtkLogoWidget(const vtkLogoWidget&) = delete;
66  void operator=(const vtkLogoWidget&) = delete;
67 };
68 
69 VTK_ABI_NAMESPACE_END
70 #endif
void CreateDefaultRepresentation() override
Create the default widget representation if one is not set.
place a border around a 2D rectangular region
2D widget for placing and manipulating a logo
Definition: vtkLogoWidget.h:29
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for class.
static vtkBorderWidget * New()
Method to instantiate class.
void SetRepresentation(vtkLogoRepresentation *r)
Specify an instance of vtkWidgetRepresentation used to represent this widget in the scene...
Definition: vtkLogoWidget.h:50
a simple class to control print indentation
Definition: vtkIndent.h:28
void SetWidgetRepresentation(vtkWidgetRepresentation *r)
represent the vtkLogoWidget