<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-family: Calibri, sans-serif;">Hi,<o:p></o:p></span></p>
<p style="margin: 0cm 0cm 0.0001pt;"><span lang="EN-US" style="font-family: Calibri, sans-serif;">I am really new in vtk programming, so there may be a lot of things I donīt know yet or that I did wrong, please let me know if there is a simpler way to do what
 I am doing.<o:p></o:p></span></p>
<p style="margin: 0cm 0cm 0.0001pt;"><span lang="EN-US" style="font-family: Calibri, sans-serif;"><o:p> </o:p></span></p>
<p style="margin: 0cm 0cm 0.0001pt;"><span lang="EN-US" style="font-family: Calibri, sans-serif;">Right now I have the following problem and I hope you will be able to give me the solution or point me in the right direction.<o:p></o:p></span></p>
<p style="margin: 0cm 0cm 0.0001pt;"><span lang="EN-US" style="font-family: Calibri, sans-serif;">I am using XMLStructuredGrid files (.vts) so I am opening them with the vtkXMLStructuredGridReader(). Then I am using a<span class="apple-converted-space"> </span>vtkStructuredGridGeometryFilter()
 and making a Deepcopy of it with a vtkPolyData() so that I can add the scalars extracted from the Reader. As Mapper I am using a vtkOpenGLPolyDataMapper()   and vtkLODActor() as an actor.<o:p></o:p></span></p>
<p style="margin: 0cm 0cm 0.0001pt;"><span lang="EN-US" style="font-family: Calibri, sans-serif;"><o:p> </o:p></span></p>
<p style="margin: 0cm 0cm 0.0001pt;"><br>
</p>
<p style="margin: 0cm 0cm 0.0001pt;"><font face="Calibri, sans-serif">Using this piece of code:</font></p>
<p style="margin: 0cm 0cm 0.0001pt;"><span lang="EN-US" style="font-family: Calibri, sans-serif;"><o:p> </o:p></span></p>
<p style="margin: 0cm 0cm 0.0001pt;"><span lang="EN-US" style="font-family: Calibri, sans-serif;">"gridreader = vtk.vtkXMLStructuredGridReader()<o:p></o:p></span></p>
<p style="margin: 0cm 0cm 0.0001pt;"><span lang="EN-US" style="font-family: Calibri, sans-serif;">gridreader.SetFilename(filename)<o:p></o:p></span></p>
<p style="margin: 0cm 0cm 0.0001pt;"><span lang="EN-US" style="font-family: Calibri, sans-serif;">gridreader.Update()</span></p>
<p style="margin: 0cm 0cm 0.0001pt;"><span lang="EN-US" style="font-family: Calibri, sans-serif;"><br>
</span></p>
<p style="margin: 0cm 0cm 0.0001pt;"><span lang="EN-US" style="font-family: Calibri, sans-serif;">gridreader.GetOutput().GetDimensions()"<o:p></o:p></span></p>
<p style="margin: 0cm 0cm 0.0001pt;"><span lang="EN-US" style="font-family: Calibri, sans-serif;"><br>
</span></p>
<p style="margin: 0cm 0cm 0.0001pt;"><font face="Calibri, sans-serif">I get the following dimensions <span style="font-family: Calibri, sans-serif; font-size: 16px;">(384, 216, 257)</span></font></p>
<p style="margin: 0cm 0cm 0.0001pt;"><font face="Calibri, sans-serif"><span style="font-family: Calibri, sans-serif; font-size: 16px;"><br>
</span></font></p>
<p style="margin: 0cm 0cm 0.0001pt;"><span lang="EN-US" style="font-family: Calibri, sans-serif;">The thing is that the Bounds that I get using: "gridreader = gridreader.GetOutput().GetBounds()" are<span class="apple-converted-space"> </span>(0.0, 215.0, 0.0,
 383.0, 0.0, 240.0). <o:p></o:p></span></p>
<p style="margin: 0cm 0cm 0.0001pt;"><span lang="EN-US" style="font-family: Calibri, sans-serif;">So... My problem is that when I render my Data, I can't se <span style="font-family: Calibri, sans-serif; font-size: 16px;">the whole Data extension.</span></span></p>
<p style="margin: 0cm 0cm 0.0001pt;"><span lang="EN-US" style="font-family: Calibri, sans-serif;">I am also using vtkImplicitPlaneWidget() (that the user can move) to catch the position that the user selected moving the plane with the mouse, but I canīt move
 the plane through the whole extension of the X axis because the bounds are smaller than the size of my Data. <o:p></o:p></span></p>
<p style="margin: 0cm 0cm 0.0001pt;"><span lang="EN-US" style="font-family: Calibri, sans-serif;"><br>
</span></p>
<p style="margin: 0cm 0cm 0.0001pt;"><span lang="EN-US" style="font-family: Calibri, sans-serif;">I have tryed to modify the bounds several times, but i haven't been able to render the whole data extension.</span></p>
<p style="margin: 0cm 0cm 0.0001pt;"><span lang="EN-US" style="font-family: Calibri, sans-serif;"><br>
</span></p>
<p style="margin: 0cm 0cm 0.0001pt;"><span lang="EN-US" style="font-family: Calibri, sans-serif;">Maybe I am wrong and the bounds aren't my problem, but I would be very
<span lang="EN-US" style="font-size: 11pt; line-height: 107%; font-family: Calibri, sans-serif; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;">
grateful</span> if someone could help me.</span></p>
<p style="margin: 0cm 0cm 0.0001pt;"><span lang="EN-US" style="font-family: Calibri, sans-serif;"><br>
</span></p>
<p style="margin: 0cm 0cm 0.0001pt;"><span lang="EN-US" style="font-family: Calibri, sans-serif;"><br>
</span></p>
<p style="margin: 0cm 0cm 0.0001pt;"><span lang="EN-US" style="font-family: Calibri, sans-serif;">Jose</span></p>
<br>
<p></p>
<p><span><span><span><span><span><span></span></span></span></span></span></span></p>
<p><span><span><span><span><span><span><br>
</span></span></span></span></span></span></p>
<p><span><span><span><br>
</span></span></span></p>
<p><span><span><span><br>
</span></span></span></p>
<p><span><br>
</span></p>
</div>
</body>
</html>