<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.3700.6699" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT color=#000000 face=Arial size=2>Hello</FONT></DIV>
<DIV><FONT face=Arial size=2> </FONT></DIV>
<DIV><FONT face=Arial size=2> I give point cloud data as around
25000 for <FONT color=#0000ff>vtkDelaunay3D and will get output in unstructured
grid. When I go for dispaly</FONT></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2>the output as given below code, the
execution of <FONT color=#808080 face=Arial
size=2>renderer</FONT><FONT color=#000000><FONT face=Arial
size=2>->ResetCamera() takes too much time as more then 2
minutes.</FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Anybody know that how can I dispaly my output as
faster as my point cloud is bigger for input. One more thing is that my data in
point cloud</FONT></DIV>
<DIV><FONT face=Arial size=2>are very proper(not any randomly generated) given
to generate close outer surface.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Thanks</FONT></DIV>
<DIV><FONT face=Arial size=2>Amit </FONT></DIV>
<DIV><FONT color=#000000></FONT> </DIV>
<DIV><FONT color=#000000> </DIV><FONT size=2><FONT face=Arial>
<DIV>vtkPolyDataMapper *</FONT><FONT color=#808080>cubeMapper</FONT><FONT
color=#000000> = vtkPolyDataMapper::</FONT><FONT
color=#880000>New</FONT></FONT></FONT><FONT color=#000000><FONT face=Arial
size=2>();</FONT></DIV>
<DIV></FONT><FONT size=2><FONT face=Arial><FONT
color=#808080>cubeMapper</FONT><FONT color=#000000>-></FONT><FONT
color=#880000>SetInput</FONT><FONT color=#000000>(</FONT><FONT
color=#808080>OutPut</FONT></FONT></FONT><FONT color=#000000><FONT face=Arial
size=2>);</FONT></DIV></FONT><FONT color=#000000><FONT size=2><FONT face=Arial>
<DIV>vtkDataSetMapper *</FONT><FONT color=#808080>pDataset</FONT><FONT
color=#000000>=vtkDataSetMapper::</FONT><FONT
color=#880000>New</FONT></FONT></FONT><FONT color=#000000><FONT face=Arial
size=2>();</FONT></DIV>
<DIV></FONT><FONT size=2><FONT face=Arial><FONT
color=#808080>pDataset</FONT><FONT color=#000000>-></FONT><FONT
color=#880000>SetInput</FONT><FONT color=#000000>(</FONT><FONT
color=#808080>dataSet</FONT></FONT></FONT><FONT color=#000000><FONT face=Arial
size=2>);</FONT></DIV><FONT size=2><FONT face=Arial>
<DIV>vtkActor *</FONT><FONT color=#808080>cubeActor</FONT><FONT color=#000000> =
vtkActor::</FONT><FONT color=#880000>New</FONT></FONT></FONT><FONT
color=#000000><FONT face=Arial size=2>();</FONT></DIV></FONT><FONT
color=#000000>
<DIV></FONT><FONT size=2><FONT face=Arial><FONT
color=#808080>cubeActor</FONT><FONT color=#000000>->SetMapper(</FONT><FONT
color=#808080>pDataset</FONT></FONT></FONT><FONT color=#000000><FONT face=Arial
size=2>);</FONT></DIV></FONT><FONT color=#008000>
<DIV></FONT><FONT color=#000000> </DIV><FONT size=2><FONT face=Arial>
<DIV>vtkCamera *</FONT><FONT color=#808080>camera</FONT><FONT color=#000000> =
vtkCamera::</FONT><FONT color=#880000>New</FONT></FONT></FONT><FONT
color=#000000><FONT face=Arial size=2>();</FONT></DIV>
<DIV></FONT><FONT size=2><FONT face=Arial><FONT color=#808080>camera</FONT><FONT
color=#000000>-></FONT><FONT
color=#880000>SetPosition</FONT></FONT></FONT><FONT color=#000000><FONT
face=Arial size=2>(1,1,1);</FONT></DIV>
<DIV></FONT><FONT color=#808080 face=Arial size=2>camera</FONT><FONT
color=#000000><FONT face=Arial size=2>->SetFocalPoint(0,0,0);</FONT></DIV>
<DIV> </DIV><FONT size=2><FONT face=Arial>
<DIV>vtkRenderer *</FONT><FONT color=#808080>renderer</FONT><FONT color=#000000>
= vtkRenderer::</FONT><FONT color=#880000>New</FONT></FONT></FONT><FONT
color=#000000><FONT face=Arial size=2>();</FONT></DIV><FONT size=2><FONT
face=Arial>
<DIV>vtkRenderWindow *</FONT><FONT color=#808080>renWin</FONT><FONT
color=#000000> = vtkRenderWindow::</FONT><FONT
color=#880000>New</FONT></FONT></FONT><FONT color=#000000><FONT face=Arial
size=2>();</FONT></DIV>
<DIV></FONT><FONT size=2><FONT face=Arial><FONT color=#808080>renWin</FONT><FONT
color=#000000>->AddRenderer(</FONT><FONT
color=#808080>renderer</FONT></FONT></FONT><FONT color=#000000><FONT face=Arial
size=2>);</FONT></DIV>
<DIV> </DIV><FONT size=2><FONT face=Arial>
<DIV>vtkRenderWindowInteractor *</FONT><FONT color=#808080>iren</FONT><FONT
color=#000000> = vtkRenderWindowInteractor::</FONT><FONT
color=#880000>New</FONT></FONT></FONT><FONT color=#000000><FONT face=Arial
size=2>();</FONT></DIV>
<DIV></FONT><FONT size=2><FONT face=Arial><FONT color=#808080>iren</FONT><FONT
color=#000000>->SetRenderWindow(</FONT><FONT
color=#808080>renWin</FONT></FONT></FONT><FONT color=#000000><FONT face=Arial
size=2>);</FONT></DIV>
<DIV> </DIV>
<DIV></FONT><FONT size=2><FONT face=Arial><FONT
color=#808080>renderer</FONT><FONT color=#000000>->AddActor(</FONT><FONT
color=#808080>cubeActor</FONT></FONT></FONT><FONT color=#000000><FONT face=Arial
size=2>);</FONT></DIV>
<DIV></FONT><FONT size=2><FONT face=Arial><FONT
color=#808080>renderer</FONT><FONT
color=#000000>->SetActiveCamera(</FONT><FONT
color=#808080>camera</FONT></FONT></FONT><FONT color=#000000><FONT face=Arial
size=2>);</FONT></DIV>
<DIV></FONT><FONT color=#0000ff><FONT face=Arial size=2>renderer</FONT><FONT
face=Arial size=2>->ResetCamera(); -> takes time for execution as
more then 2 minutes</FONT></FONT></DIV>
<DIV><FONT color=#000000></FONT><FONT color=#808080 face=Arial
size=2>renderer</FONT><FONT color=#000000><FONT face=Arial
size=2>->SetBackground(0,0,0);</FONT></DIV>
<DIV> </DIV>
<DIV></FONT><FONT size=2><FONT face=Arial><FONT color=#808080>renWin</FONT><FONT
color=#000000>-></FONT><FONT color=#880000>SetSize</FONT></FONT></FONT><FONT
color=#000000><FONT face=Arial size=2>(704,576); </FONT></DIV>
<DIV> </DIV>
<DIV></FONT><FONT size=2><FONT face=Arial><FONT color=#808080>renWin</FONT><FONT
color=#000000>-></FONT><FONT color=#880000>Render</FONT></FONT></FONT><FONT
color=#000000><FONT face=Arial size=2>();</FONT></DIV>
<DIV></FONT><FONT size=2><FONT face=Arial><FONT color=#808080>iren</FONT><FONT
color=#000000>-></FONT><FONT color=#880000>Start</FONT></FONT></FONT><FONT
color=#000000><FONT face=Arial size=2>();</FONT></DIV>
<DIV>
<P></P></FONT></DIV></BODY></HTML>