Developer documentation | Axl-2.5.1

axlActorTorus.h
Go to the documentation of this file.
1 /* axlActorTorus.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 17 14:08:18 2012 (+0100)
8  * By: Julien Wintz
9  * Update #: 26
10  */
11 
12 /* Commentary:
13  *
14  */
15 
16 /* Change log:
17  *
18  */
19 
20 #ifndef AXLACTORTORUS_H
21 #define AXLACTORTORUS_H
22 
23 #include "axlActor.h"
24 #include <QVTKOpenGLWidget.h>
25 
26 #include "axlVtkViewPluginExport.h"
27 
28 #include <vtkVersion.h>
29 
30 class axlTorus;
31 
32 class vtkParametricFunctionSource;
33 
34 class axlActorTorusPrivate;
35 
37 
38 public:
39 #if (VTK_MAJOR_VERSION <= 5)
40  vtkTypeRevisionMacro(axlActorTorus, vtkAssembly);
41 #endif
42 
43  static axlActorTorus *New(void);
44 
45  dtkAbstractData *data(void);
46  vtkParametricFunctionSource *torus(void);
47 
48  void setDisplay(bool display);
49  void showTorusWidget(bool show);
50  void setTorusWidget(bool torusWidget);
51  bool isShowTorusWidget(void);
52  virtual void setData(dtkAbstractData *torus1);
53  void setMode(int state);
54  void setQVTKWidget(QVTKOpenGLWidget *widget);
55 
56 public slots:
57  void onModeChanged(int state);
58  void onRemoved();
59  void onUpdateGeometry();
60 
61 protected:
62  axlActorTorus(void);
63  ~axlActorTorus(void);
64 
65 private:
66  axlActorTorus(const axlActorTorus&); // Not implemented.
67  void operator = (const axlActorTorus&); // Not implemented.
68 
69 private:
70  axlActorTorusPrivate *d;
71 };
72 
74 
75 #endif // AXLACTORTORUS_H
axlAbstractActor * createAxlActorTorus(void)
virtual void onUpdateGeometry(void)=0
#define AXLVTKVIEWPLUGIN_EXPORT
virtual void setDisplay(bool display)
Definition: axlActor.cpp:440
virtual void setMode(int state)
virtual void onRemoved(void)
Definition: axlActor.cpp:613
virtual dtkAbstractData * data(void)=0
virtual void onModeChanged(int state)
virtual void setData(dtkAbstractData *data)