ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
vtkBoxWidgetAnnotationCallback.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // - CloudViewer: www.cloudViewer.org -
3 // ----------------------------------------------------------------------------
4 // Copyright (c) 2018-2024 www.cloudViewer.org
5 // SPDX-License-Identifier: MIT
6 // ----------------------------------------------------------------------------
7 
8 #pragma once
9 
10 #include <vtkCommand.h>
11 
12 class Annotation;
13 
14 class vtkBoxWidgetCallback0 : public vtkCommand {
15 public:
16  static vtkBoxWidgetCallback0 *New();
17  virtual void Execute(vtkObject *caller, unsigned long, void *);
18 
23  void setAnno(Annotation *value);
24 
25 private:
26  Annotation *anno;
27 };
28 
29 class vtkBoxWidgetCallback1 : public vtkCommand {
30 public:
31  static vtkBoxWidgetCallback1 *New();
32  virtual void Execute(vtkObject *caller, unsigned long, void *);
33 
38  void setAnno(Annotation *value);
39 
40 private:
41  Annotation *anno;
42 };
void setAnno(Annotation *value)
setAnno set the current annotation in which theb actor is picked
virtual void Execute(vtkObject *caller, unsigned long, void *)
static vtkBoxWidgetCallback0 * New()
static vtkBoxWidgetCallback1 * New()
void setAnno(Annotation *value)
setAnno set the current annotation in which the actor is picked
virtual void Execute(vtkObject *caller, unsigned long, void *)