[vtkusers] vtk-----vtkIdType

Romain Ollivier Romain.Ollivier at sophia.inria.fr
Tue Jul 1 07:32:21 EDT 2003


  Hi, i suggest you to transform your vtkIdType to an int. It works well for me.

       Romain

Xin Zhao wrote:

> Dear sir,
>
>      I rewrite the c++ example by Java.
>
> ----- Part of the code--------
>         int main( int argc, char *argv[] )
>         {
>                 int i;
>                 static float x[8][3]={{0,0,0}, {1,0,0}, {1,1,0}, {0,1,0},
>                         {0,0,1}, {1,0,1}, {1,1,1}, {0,1,1}};
>                 static vtkIdType pts[6][4]={{0,1,2,3}, {4,5,6,7}, {0,1,5,4},
>                         {1,2,6,5}, {2,3,7,6}, {3,0,4,7}};
>
> ---------------------------------
>
>         They define the pts as the vtkIdType, but I can find the vtkIdType in the vtk.jar.
>
>     What should I do?
>
>     Thanks!
>
>                                                                                                                         Xin Zhao
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers




More information about the vtkusers mailing list