[vtkusers] Proxy class for vtkUnstructuredGrid
Serge Lalonde
serge at infolytica.com
Wed Oct 19 13:26:53 EDT 2011
No one has replied to this question. Is it because no one has done it or
it is because it was a silly question?
Thanks.
On 10/4/2011 2:08 PM, Serge Lalonde wrote:
> Has anyone ever tried to create a vtkUnstructuredGrid proxy class to
> wrap their own mesh class?
>
> We have our own code for meshes and would like to avoid converting the
> data from our format to the vtkUnstructuredGrid and instead have a
> wrapper class that uses aggregation to store an instance of our own
> mesh class (a triangular or a tetrahedral mesh) when this is added as
> the starting point of a pipeline. The APIs would be wrappers that
> would get our data and convert it to VTK data types.
> This would avoid duplicating memory and speed up the pipeline by
> avoiding the potentially large amount of data translation from our
> format to VTK's.
>
> Is this possible and/or practical?
--
www.infolytica.com <http:://www.infolytica.com>
300 Leo Pariseau, Suite 2222, Montreal, QC, Canada, H2X 4B3
(514) 849-8752 x236, Fax: (514) 849-4239
More information about the vtkusers
mailing list