Developer documentation | Axl-2.5.1

axlVolumeDiscrete.h
Go to the documentation of this file.
1 /* axlVolumeDiscrete.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 AXLVOLUMEDISCRETE_H
16 #define AXLVOLUMEDISCRETE_H
17 
19 
20 #include <vtkAssembly.h>
21 #include <vtkSmartPointer.h>
22 #include <vtkVersion.h>
23 #include <vtkImageData.h>
24 #include "axlVtkViewPluginExport.h"
25 
26 
27 
29 class axlVolumeDiscretePrivate;
30 
31 // ///////////////////////////////////////////////////////////////////
32 // axlVolumeDiscrete declaration
33 // ///////////////////////////////////////////////////////////////////
34 
36 {
37  Q_OBJECT
38 
39 public:
40  axlVolumeDiscrete(void);
42 
43 public:
44  ~axlVolumeDiscrete(void);
45 
46 public:
47  axlVolumeDiscrete *clone(void) const;
48 
49 public:
50  axlVolumeDiscrete& operator = (const axlVolumeDiscrete& other);
51 
52 public:
53  QString identifier(void) const;
54 
55 public:
56  void setData(void *data);
57 
58 public:
59  void *data(void) const;
60 
61 public:
62  int xDimension(void) const;
63  int yDimension(void) const;
64  int zDimension(void) const;
65  void setDimensions(unsigned int x, unsigned int y,unsigned int z);
66 
67 public:
68  double minValue(void) const;
69  double midValue(void) const;
70  double maxValue(void) const;
71 
72 public:
73  void setMinValue(double min_field_value);
74  void setMidValue(double mid_field_value);
75  void setMaxValue(double max_field_value);
76 
77 
78  //double getValue(int indiceGlobal) const;
79  double getValue(int i, int j, int k) const;
80  //void setValue(double value, int indiceGlobal);
81  void setValue(double value, int i, int j, int k);
82 
83 private:
84  axlVolumeDiscretePrivate *d;
85 };
86 
87 // /////////////////////////////////////////////////////////////////
88 // Instanciation function
89 // /////////////////////////////////////////////////////////////////
90 
92 
93 #endif
94 // AXLVOLUMEDISCRETE_H
#define AXLVTKVIEWPLUGIN_EXPORT
virtual double maxValue(void) const
virtual int xDimension(void) const
virtual double getValue(int indiceGlobal) const
virtual double midValue(void) const
AXLVTKVIEWPLUGIN_EXPORT dtkAbstractData * createaxlVolumeDiscrete(void)
virtual int zDimension(void) const
virtual void setValue(double value, int indiceGlobal)
virtual int yDimension(void) const
virtual double minValue(void) const
virtual void setDimensions(unsigned int x, unsigned int y, unsigned int z)