Developer documentation | Axl-2.5.1

axlActorCircleArc.h
Go to the documentation of this file.
1 /* axlActorCircleArc.h ---
2  *
3  * Author: Valentin Michelet
4  * Copyright (C) 2008 - Valentin Michelet, Inria.
5  * Created: Tue Nov 9 16:58:59 2010 (+0100)
6  * Version: $Id$
7  * Last-Updated: Mon Dec 6 15:46:18 2010 (+0100)
8  * By: Valentin Michelet
9  * Update #: 21
10  */
11 
12 /* Commentary:
13  *
14  */
15 
16 /* Change log:
17  *
18  */
19 
20 #ifndef AXLACTORCIRCLEARC_H
21 #define AXLACTORCIRCLEARC_H
22 
23 #include "axlActor.h"
24 #include <QVTKOpenGLWidget.h>
25 
26 #include "vtkViewPluginExport.h"
27 
28 class axlCircleArc;
29 
30 class vtkArcSource;
31 
32 class axlActorCircleArcPrivate;
33 
35 
36 public:
37  vtkTypeRevisionMacro(axlActorCircleArc, vtkAssembly);
38  static axlActorCircleArc *New(void);
39 
40  dtkAbstractData *data(void);
41  vtkArcSource *arc(void);
42 
43  void setDisplay(bool display);
44  void showCircleArcWidget(bool show);
45  void setCircleArcWidget(bool arcWidget);
46  bool isShowCircleArcWidget(void);
47  void setCircleArc(axlCircleArc *arc);
48  void setMode(int state);
49  void setQVTKWidget(QVTKOpenGLWidget *widget);
50 
51 public slots:
52  void onModeChanged(int state);
53  void onRemoved();
54  void onUpdateGeometry();
55 
56 protected:
57  axlActorCircleArc(void);
58  ~axlActorCircleArc(void);
59 
60 private:
61  axlActorCircleArc(const axlActorCircleArc&); // Not implemented.
62  void operator = (const axlActorCircleArc&); // Not implemented.
63 
64 private:
65  axlActorCircleArcPrivate *d;
66 };
67 
68 #endif // AXLACTORCIRCLEARC_H
virtual void onUpdateGeometry(void)=0
virtual void setDisplay(bool display)
Definition: axlActor.cpp:440
#define VTKVIEWPLUGIN_EXPORT
virtual void setMode(int state)
virtual void onRemoved(void)
Definition: axlActor.cpp:613
virtual dtkAbstractData * data(void)=0
virtual void onModeChanged(int state)