Developer documentation | Axl-2.5.1

axlAbstractFieldParametricVolume.cpp
Go to the documentation of this file.
1 /* axlAbstractFieldParametricVolume.cpp ---
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 #include <sstream>
15 
17 #include "axlAbstractProcess.h"
18 
19 #include <dtkCoreSupport/dtkGlobal.h>
20 
21 #include <dtkCoreSupport/dtkAbstractDataFactory.h>
22 #include <dtkCoreSupport/dtkAbstractProcessFactory.h>
23 
24 class axlAbstractFieldParametricVolumePrivate
25 {
26 public:
27 };
28 
29 // /////////////////////////////////////////////////////////////////
30 // axlAbstractFieldParametricVolume implementation
31 // /////////////////////////////////////////////////////////////////
32 
34 
38 {
39 }
40 
41 
42 
44 
48 {
49  delete d;
50 
51  d = NULL;
52 }
53 
54 
56 
60 
61  DTK_DEFAULT_IMPLEMENTATION;
62 }
63 
65 
69  DTK_DEFAULT_IMPLEMENTATION;
70  return 0;
71 }
72 
74 
77 double axlAbstractFieldParametricVolume::scalar(double u, double v, double w)
78 {
79  if(!(this->kind() == Scalar)) {
80  qDebug() << "Getting scalar value on non scalar field.";
81  return 0;
82  }
83  return 0;
84 }
85 
87 
90 double *axlAbstractFieldParametricVolume::vector(double u, double v, double w)
91 {
92  if(!(this->kind() == Vector)) {
93  qDebug() << "Getting vector value on non vector field.";
94  return NULL;
95  }
96  return NULL;
97 }
98 
100 
103 double *axlAbstractFieldParametricVolume::tensor(double u, double v, double w)
104 {
105  if(!(this->kind() == Tensor)) {
106  qDebug() << "Getting tensor value on non tensor field.";
107  return NULL;
108  }
109 
110  return NULL;
111 }
112 
113 
115 
119 
120  DTK_DEFAULT_IMPLEMENTATION;
121  return 0;
122 }
123 
124 
126 
130 
131  DTK_DEFAULT_IMPLEMENTATION;
132  return 0;
133 }
134 
135 
137 
141 
142  DTK_DEFAULT_IMPLEMENTATION;
143  return 0;
144 }
145 
146 
148 
152 
153  DTK_DEFAULT_IMPLEMENTATION;
154  return 0;
155 }
156 
157 
159 
163 
164  DTK_DEFAULT_IMPLEMENTATION;
165  return 0;
166 }
167 
168 
170 
174 
175  DTK_DEFAULT_IMPLEMENTATION;
176  return 0;
177 }
178 
179 
181 
185 
186  DTK_DEFAULT_IMPLEMENTATION;
187  return 0;
188 }
189 
190 
192 
196 
197  DTK_DEFAULT_IMPLEMENTATION;
198  return 0;
199 }
200 
201 
203 
207 
208  DTK_DEFAULT_IMPLEMENTATION;
209  return 0;
210 }
211 
212 
213 
215 
219 
220  DTK_DEFAULT_IMPLEMENTATION;
221 }
222 
223 
225 
229  return NULL;
230 }
231 
233 
238 {
239  DTK_DEFAULT_IMPLEMENTATION;
240  return QString();
241 
242 }
243 
244 
246 
251 {
252  DTK_DEFAULT_IMPLEMENTATION;
253  return QString();
254 
255 }
256 
259 
263 {
264  emit updated();
265 }
266 
267 // /////////////////////////////////////////////////////////////////
268 // axlField documentation
269 // /////////////////////////////////////////////////////////////////
270 
277 // /////////////////////////////////////////////////////////////////
278 // Type instanciation
279 // /////////////////////////////////////////////////////////////////
280 
282 {
284 }
285 
286 
virtual void setVolume(axlAbstractData *Volume)
Sets the support Volume of the field.
virtual ~axlAbstractFieldParametricVolume(void)
Destroys a parametric field.
Class axlAbstractFieldParametric defines an API for parametric field.
virtual double start_u(void)
Returns the first u-value parameter.
dtkAbstractData * createaxlAbstractFieldParametricVolume(void)
virtual axlAbstractData * getFunction(void)
Returns the description of the field.
virtual double end_u(void)
Returns the last u-value parameter.
virtual double * tensor(double u, double v, double w)
Returns the value of the spatial field at the coordinates point entered.
virtual double numbersample_u(void)
Returns the number of u-parameters.
virtual double numbersample_v(void)
Returns the number of v-parameters.
virtual double start_v(void)
Returns the first v-value parameter.
virtual double end_w(void)
Returns the last w-value parameter.
virtual QString description(void) const
Returns the description of the field.
virtual double * vector(double u, double v, double w)
Returns the value of the parametric field evaluated at the parameters in input.
virtual Kind kind(void)
virtual double end_v(void)
Returns the last v-value parameter.
virtual void setFunction(axlAbstractData *data)
Returns the description of the field.
virtual double numbersample_w(void)
Returns the number of w-parameters.
Class axlAbstractFieldParametricVolume defines an API for parametric field.
virtual QString identifier(void) const
Returns the description of the field.
virtual int size(void)
Returns number of parameters on which the field is evaluated.
virtual double start_w(void)
Returns the first w-value parameter.
Class axlAbstractData defines an API for all type of axel data.
virtual double scalar(double u, double v, double w)
Returns the value of the parametric field at the parameters values in input.