<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2650.12">
<TITLE>when is vtkNightlyTcl.exe refreshed?</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>Hi.</FONT>
</P>

<P><FONT SIZE=2>Are vtkNightlyTcl.exe and vtkNightlyCore.exe also refreshed daily?</FONT>
</P>

<P><FONT SIZE=2>I want to compute the difference between two extracted slices from a volume but have some problems with the extent of the output. When I extract a slice with vtkExtractVOI the extent becomes smaller. </FONT></P>

<P><FONT SIZE=2>I saw that the folowing lines in vtkExtractVOI::ExecuteInformation() </FONT>
<BR><FONT SIZE=2>&nbsp; dims[0] = wholeExtent[1] - wholeExtent[0];</FONT>
<BR><FONT SIZE=2>&nbsp; dims[1] = wholeExtent[3] - wholeExtent[2];</FONT>
<BR><FONT SIZE=2>&nbsp; dims[2] = wholeExtent[5] - wholeExtent[4];</FONT>
<BR><FONT SIZE=2>where in the nightly release changed to:&nbsp; </FONT>
<BR><FONT SIZE=2>&nbsp; dims[0] = wholeExtent[1] - wholeExtent[0] + 1;</FONT>
<BR><FONT SIZE=2>&nbsp; dims[1] = wholeExtent[3] - wholeExtent[2] + 1;</FONT>
<BR><FONT SIZE=2>&nbsp; dims[2] = wholeExtent[5] - wholeExtent[4] + 1;</FONT>
</P>

<P><FONT SIZE=2>Are these changes also made in the vtkNightlyTcl.exe? When i download and install it my tcl program still doesn't work. Or am I doing something wrong?</FONT></P>
<BR>

<P><FONT SIZE=2>&nbsp;&nbsp;&nbsp; vtkStructuredPointsReader structuredPointsReader</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; structuredPointsReader SetFileName $FILE_NAME</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; structuredPointsReader Update</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp; </FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp; set hext [[structuredPointsReader GetOutput] GetWholeExtent]</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp; tk_messageBox -message &quot;extent: $hext&quot;</FONT>
</P>

<P><FONT SIZE=2>&nbsp;&nbsp;&nbsp; scan $hext &quot;%d %d %d %d %d %d&quot;&nbsp; x1 x2 y1 y2 z1 z2</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp; </FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp; vtkExtractVOI extractA</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; extractA SetInput [structuredPointsReader GetOutput]</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; extractA SetVOI $x1 $x2 $y1 $y2 0 0</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; extractA Update</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp; </FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp; set voiext [[extractA GetOutput] GetWholeExtent]</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp; tk_messageBox -message &quot;extent: $voiext&quot;</FONT>
</P>
<BR>

<P><FONT SIZE=2>&nbsp;&nbsp;&nbsp; gives output: </FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; extent: 0 410 0 551 0 2</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; extent: 0 409 0 550 0 0</FONT>
</P>

<P><FONT SIZE=2>Best regards, Pepijn Kenter.</FONT>
</P>
<BR>

</BODY>
</HTML>