You can simply open a vrml file as if you are loading a data file using "File |Open". ParaView will create the vtkVRMLSource for you.
vtkVRMLSource has methods like SetFileName that you use to set the filename programmatically and they are indeed public. Utkarsh 2009/7/13 Andrés Felipe Padilla <[email protected]>: > Hi, > I've been trying to load a VRML on ParaView unsucessfully from code. From > the API and the code i see that the vtkVRMLSource could allow one to load a > VRML but i have some issues with it. I create a vtkVRMLSource with the New() > method but from there i cant see where to go. I cannot specify this object > the file i want to load as all its members are protected. So my question is > how do i tell the vtkVRMLSource to load my VRML? > Thanks > _______________________________________________ > 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 ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Follow this link to subscribe/unsubscribe: > http://www.paraview.org/mailman/listinfo/paraview > > _______________________________________________ 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 ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
