[vtkusers] Request to make some member function as virtual
David E DeMarle
dave.demarle at kitware.com
Thu Aug 13 13:00:58 EDT 2015
That is most likely fine. Please submit a merge request via gitlab. There
developers will review your change and merge it to master. One merged it
will appear in subsequent releases.
Start at the following web page to learn how to contribute to VTK
http://www.vtk.org/contributing-code/
David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909
On Thu, Aug 13, 2015 at 12:47 PM, Chiranjib Sur <sur.chiranjib at gmail.com>
wrote:
> Hi,
> I am working on my own implementation of vtkXMLWriter and I start with
> inheriting the vtkXMLWriter class. While doing this, I realised that I can
> obtain my desired XML data format if I can overload the function
> vtkXMLWriter::WriteArrayFooter(...)
> vtkXMLWriter::WriteArrayInline(...),
> vtkXMLWriter::WriteInlineData(..).
>
> Currently they are not declared as virtual function and hence the
> overloading will not work. I can do that by modifying the original vtk
> class and build my VTK library based on the changes. But these hacks will
> be gone once I update my VTk source codes.
>
> My question is the following :
> Is it possible to make these function virtual in future releases? Except
> the vtkXMLWriter class there is no other implementation of those functions,
> but they are being used by vtkXMLPolydataWriter since the latter is
> inherited from the base class.
>
> I am curious to know what is the thought here.
>
> Thanks,
> Chiranjib
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150813/f8e764b1/attachment.html>
More information about the vtkusers
mailing list