120 |
* is in an undefined state. If this is |
* is in an undefined state. If this is |
121 |
* not acecptable, try canPerformGL() first. |
* not acecptable, try canPerformGL() first. |
122 |
*/ |
*/ |
123 |
virtual bool performGL() ; |
virtual bool performGL(); |
124 |
|
|
125 |
virtual ~CoordSys() { |
virtual ~CoordSys() { |
126 |
if(inverse && ownInverse) delete inverse; |
if(inverse && ownInverse) delete inverse; |
180 |
int nparams(int typecode) ; |
int nparams(int typecode) ; |
181 |
int nprevious(int typecode) ; |
int nprevious(int typecode) ; |
182 |
CoordSys *create(int typecode) ; |
CoordSys *create(int typecode) ; |
183 |
|
|
184 |
|
CoordSet *cs1_tmp ; |
185 |
|
CoordSet *cs2_tmp ; |
186 |
|
|
187 |
|
// Not to be ever trusted except inside setPoints() |
188 |
|
// calls: used to make it possible to use submethods. |
189 |
|
int ninds; |
190 |
|
int *inds1; float *points1; |
191 |
|
int *interpinds; |
192 |
|
int *inds2; float *points2; |
193 |
|
bool shouldInterpolate(int cs1, int cs2, int nprev); |
194 |
public: |
public: |
195 |
~CoordSet() { |
CoordSet(); |
196 |
} |
~CoordSet(); |
197 |
void clean() { |
void clean() { |
198 |
for(unsigned i=0; i<cs.size(); i++) { |
for(unsigned i=0; i<cs.size(); i++) { |
199 |
if(cs[i]) { |
if(cs[i]) { |