[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 108025] Matrix and image reworking
From:       Rick Chern <rchern () interchange ! ubc ! ca>
Date:       2005-07-11 18:00:50
Message-ID: 20050711180050.6889.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=108025         




------- Additional Comments From rchern interchange ubc ca  2005-07-11 20:00 -------
Suggested functions version 2:

isValidMatrix as before, and:
fieldList(); // all fields of all types
vectorList();
matrixList();
scalarList();
stringList(); 

and:

// read the specified sub-range of the matrix, flat-packed in z
// xStart - starting x *frame*
// yStart - starting y *frame*
// xNumSteps - number of *frames* to read in x direction; 
               -1 to read 1 *sample* from xStart
// yNumSteps - number of *frames* to read in y direction;
               -1 to read 1 *sample* from yStart 
// Will skip according to the parameter, but it may not
// be implemented.  If it returns -9999, use the non-skip version instead. 
// The suggested scaling and translation is returned in
// xMin, yMin, xStepSize, and yStepSize
// Returns the number of *samples* read
virtual int readMatrix(double *z, const QString& matrix, int xStart, int yStart, int \
xNumSteps, int yNumSteps, int skip, double* xMin, double* yMin, double* xStepSize, \
double* yStepSize); 

// read the specified sub-range of the matrix, flat-packed in z
// xStart - starting x *frame*
// yStart - starting y *frame*
// xNumSteps - number of *frames* to read in x direction; 
               -1 to read 1 *sample* from xStart
// yNumSteps - number of *frames* to read in y direction;
               -1 to read 1 *sample* from yStart 
// The suggested scaling and translation is returned in
// xMin, yMin, xStepSize, and yStepSize
// Returns the number of *samples* read
virtual int readMatrix(double *z, const QString& matrix, int xStart, int yStart, int \
xNumSteps, int yNumSteps, double* xMin, double* yMin, double* xStepSize, double* \
yStepSize);


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic