1 #ifndef arraytesselator_h 2 #define arraytesselator_h 14 #include "geometrymod.h" 19 template <
class T>
class Array2D;
31 int datarowsize,
int datacolsize,
40 {
return (rowrange_.nrSteps()+1) *
41 (colrange_.nrSteps()+1); }
45 {
return s==2 ? stripcis_ : (s ? linecis_ : pointcis_);}
47 const char*
message()
const {
return "Tesselating geometry"; }
#define mExpClass(module)
Definition: commondefs.h:160
int datarowsize_
Definition: arraytesselator.h:56
const char * message() const
Definition: arraytesselator.h:47
const float * data_
Definition: arraytesselator.h:55
TypeSet< int > getIndices(char s=2) const
Definition: arraytesselator.h:44
virtual int getCoordIndex(int row, int col)
Definition: arraytesselator.h:46
#define od_int64
Definition: plftypes.h:36
const StepInterval< int > & colrange_
Definition: arraytesselator.h:59
Generalization of a task that can be run in parallel.
Definition: paralleltask.h:66
TypeSet< int > pointcis_
Definition: arraytesselator.h:61
Array2D ( Subclass of ArrayND ) is a two dimensional array.
Definition: arraynd.h:131
TypeSet< int > stripcis_
Definition: arraytesselator.h:63
Definition: arraytesselator.h:27
const StepInterval< int > & rowrange_
Definition: arraytesselator.h:58
int datacolsize_
Definition: arraytesselator.h:57
int maxNrThreads() const
Definition: arraytesselator.h:53
TypeSet< int > linecis_
Definition: arraytesselator.h:62
od_int64 nrIterations() const
Definition: arraytesselator.h:39
Definition: arraytesselator.h:21