<div dir="ltr">Hi All,<div>This might sound a naive question to the experienced Paraview users (which I am not).</div><div><br></div><div>I want to understand how the rendering happens in Paraview for any vtk object. For example, if I want to render a STL file in the paraview window, how do I do it ?</div><div>The underlying vtkSTLreader is able to read the file (if I open the file using File>Open menu and then press "Apply" button). </div><div>I am trying to understand the mechanism behind these operations so that i can customise and develop my own piece of utiilty. </div><div><br></div><div>The following vtk example creates a new visualization window but I want to render the object in the paraview window. </div><div><br></div><div>Thanks much for your help. Is there some place where I can browse/read to bring up my understanding about the paraview infrastructure.</div><div><br></div><div>Thanks,</div><div>Chiranjib</div><div><br></div><div><br></div><div>Here is the sample vtk code I am refering to (which creates a new viz window - which I don't want to get)</div><div><br></div><div><div><font face="monospace, monospace">vtkSmartPointer<vtkSTLReader> reader = vtkSmartPointer<vtkSTLReader>::New();</font></div><div><font face="monospace, monospace">       reader->SetFileName("filename.stl");</font></div><div><font face="monospace, monospace">       reader->Update();</font></div><div><br></div><div><font face="monospace, monospace">       /*</font></div><div><font face="monospace, monospace">       VTK rendering : a separate visualization windows Pops up</font></div><div><font face="monospace, monospace">       */</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">         vtkSmartPointer<vtkPolyDataMapper> mapper =                    vtkSmartPointer<vtkPolyDataMapper>::New();</font></div><div><font face="monospace, monospace">         mapper->SetInputConnection(reader->GetOutputPort());</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">         vtkSmartPointer<vtkActor> actor = vtkSmartPointer<vtkActor>::New();</font></div><div><font face="monospace, monospace">         actor->SetMapper(mapper);</font></div><div><font face="monospace, monospace">         </font></div><div><font face="monospace, monospace">         vtkSmartPointer<vtkRenderer> renderer = vtkSmartPointer<vtkRenderer>::New();</font></div><div><font face="monospace, monospace">         vtkSmartPointer<vtkRenderWindow> renderWindow = vtkSmartPointer<vtkRenderWindow>::New();</font></div><div><font face="monospace, monospace">         renderWindow->AddRenderer(renderer);</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">         vtkSmartPointer<vtkRenderWindowInteractor> renderWindowInteractor = vtkSmartPointer<vtkRenderWindowInteractor>::New();</font></div><div><font face="monospace, monospace">         renderWindowInteractor->SetRenderWindow(renderWindow);</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">         renderer->AddActor(actor);</font></div><div><font face="monospace, monospace">         renderer->SetBackground(.3, .6, .3); // Background color green</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">         renderWindow->Render();</font></div><div><font face="monospace, monospace">         renderWindowInteractor->Start();</font></div></div></div>