[vtkusers] ActiViz and preprcessor directive VTK_MAJOR_VERSION

Jochen K. jochen.kling at email.de
Mon Jun 18 14:10:49 EDT 2012


Hi all,


in many of the Cxx examples a preprocessor directive is used similar to the
one in the following example:

#if VTK_MAJOR_VERSION <= 5
  mapper->SetInputConnection(uGrid->GetProducerPort());
#else
  mapper->SetInputData(uGrid);
#endif


Whenever VTK_MAJOR_VERSION is greater or equal 6 and a new ActiViz.NET is
deployed, will it have the same change in the API?

Thank you very much in advance.

with best regards 

Jochen



--
View this message in context: http://vtk.1045678.n5.nabble.com/ActiViz-and-preprcessor-directive-VTK-MAJOR-VERSION-tp5713981.html
Sent from the VTK - Users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120618/4e848b08/attachment.htm>


More information about the vtkusers mailing list