[vtkusers] Re: vtkXMLWriterC_SetCellsWithTypes: vtkIdType cellsSize ?

fred fredmfp at gmail.com
Wed Apr 25 10:07:17 EDT 2007


Mathieu Malaterre a écrit :
> Hi Fred,
>
>  You can simply pass 256 (*) in your case (max cell size), as long as 
> your:
>  int* cellTypes,
>  is correct you should be ok.
>
> HTH
> -Mathieu
> (*) If you know you are only dealing with hex and vertex, instead just
> use the max cell size of your subgroup: 8 in this case.
Hi Mathieu ;-)

Ok, thanks.

By the way, do you agree with me that cellsSize _should_ be a pointer, and
not a integer, which size should be the same as *cellTypes's size ?

You could answer to me that is not the worth, that's ok.
But I only want to understand the trick ;-)

Cheers,

-- 
/F




More information about the vtkusers mailing list