[vtkusers] Proxy class for vtkUnstructuredGrid
Serge Lalonde
serge at infolytica.com
Tue Oct 4 14:08:07 EDT 2011
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?
Thanks.
--
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