Applied.

Thanks,

        - Paul

On Oct 29, 2005, at 8:43 PM, Balbir Thomas wrote:

Hi,

patch for compile failure is included here and also forwarded to you.

----------------------------------------------------------------------- -
--- tk_interp.old       2005-10-29 20:36:59.000000000 -0400
+++ tk_interp.cc        2005-10-29 20:34:16.000000000 -0400
@@ -699,10 +699,10 @@
    // colors->SetNumberOfScalars(numPts);

    // Convert values from Octave matrix and store in VTK object
-   float p[3];
+   double p[3];
    for(int k = 0; k < numPts; k++)
    {
-      input->GetPoint(k, p);
+      input->vtkPointSet::GetPoint(k, p);
       int row = int((p[0] + 0.5) * (float) (m.rows() - 1));
       int col = int((p[1] + 0.5) * (float) (m.cols() - 1));
       p[2] = ((m.elem(row, col) - min) / (max - min)) - 0.5;


----------------------------------------------------------------------- --
- balbir

Please do send patches upstream.  Nobody is actively maintaining this
package and it is not installed by default so few people compile it.
I'm not surprised that bit rot is setting in.

- Paul



_______________________________________________
Pkg-octave-devel mailing list
[EMAIL PROTECTED]
http://lists.alioth.debian.org/mailman/listinfo/pkg-octave-devel




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to