Developer documentation | Axl-2.5.1

axlActorDataDynamic.h
Go to the documentation of this file.
1 /* axlActorDataDynamic.h ---
2  *
3  * Author: Anais Ducoffe
4  * Copyright (C) 2013 - Anais Ducoffe, Inria.
5  */
6 
7 /* Commentary:
8  *
9  */
10 
11 /* Change log:
12  *
13  */
14 
15 #ifndef AXLACTORDATADYNAMIC_H
16 #define AXLACTORDATADYNAMIC_H
17 
18 #include "axlActor.h"
19 #include "axlActorComposite.h"
20 
21 #include <QVTKOpenGLWidget.h>
22 
23 #include "axlVtkViewPluginExport.h"
24 
25 
26 class axlLine;
27 class axlDataDynamic;
28 
29 class vtkLineSource;
30 class axlActorDataDynamicPrivate;
31 
33 {
34 public:
35 #if (VTK_MAJOR_VERSION <= 5)
36  vtkTypeRevisionMacro(axlActorDataDynamic, vtkAssembly);
37 #endif
38 
39  static axlActorDataDynamic *New(void);
40 
41 public:
42  dtkAbstractData *data(void);
43  axlAbstractActor *outputActor(void);
44  axlAbstractActor *outputActors(int i);
45 
46 
47 public:
48 
49  void setView(axlAbstractView *view);
50  void setRenderer(vtkRenderer *renderer);
51 
52 public:
53  void setDisplay(bool display);
54  virtual void setData(dtkAbstractData *data1);
55  void setMode(int state);
56  void setQVTKWidget(QVTKOpenGLWidget *widget);
57 
58  //axlActor *createActor(dtkAbstractData *data);
59 
60 public slots:
61  void onModeChanged(int state);
62  void onRemoved();
63  void onUpdateGeometry();
64 
65 protected:
66  axlActorDataDynamic(void);
67  ~axlActorDataDynamic(void);
68 
69 private:
70  axlActorDataDynamic(const axlActorDataDynamic&); // Not implemented.
71  void operator = (const axlActorDataDynamic&); // Not implemented.
72 
73 private:
74  axlActorDataDynamicPrivate *d;
75 };
76 
78 
79 #endif// AXLACTORDATADYNAMIC_H
virtual void onUpdateGeometry(void)=0
#define AXLVTKVIEWPLUGIN_EXPORT
Class axlLine defines 3D lines.
Definition: axlLine.h:35
virtual void setDisplay(bool display)
Definition: axlActor.cpp:440
virtual void setMode(int state)
Class axlDataDynamic defines a dynamic object.
virtual void onRemoved(void)
Definition: axlActor.cpp:613
virtual dtkAbstractData * data(void)=0
virtual void onModeChanged(int state)
axlAbstractActor * createAxlActorDataDynamic(void)
virtual void setData(dtkAbstractData *data)