<div>hi!<br></div><div>i have got 3D Object from CT Images using Marching Cubes algorithm, cutted and got the Trachea.</div><div></div><div>i want to change thinness the Trachea rather 3D Object because the Object is infinitely thin.</div>

<div></div><div>My Idea is with two actors. second Actor´s scale is %100 and first Actor´s scale (only x and y) is for example %80. both Actors are centered and fill between.</div><div></div><div>my code:</div><div></div>

<div><blockquote> vtkBoxClipDataSet* clipper1 = vtkBoxClipDataSet::New(); </blockquote><div><blockquote>          clipper1-&gt;SetInput(marchingCubes-&gt;GetOutput());</blockquote><div><blockquote>//           clipper1-&gt;GenerateClippedOutputOff();</blockquote>

<div><blockquote>         clipper1-&gt;SetBoxClip(</blockquote><div><blockquote>                      minpoint4[0], maxpoint4[0], </blockquote><div><blockquote>                      minpoint4[1], maxpoint4[1],</blockquote><div>
<blockquote>
<p>                      minpoint4[2], maxpoint4[2]);                       </p></blockquote><div></div><div><blockquote>         vtkDataSetSurfaceFilter* surface1 = vtkDataSetSurfaceFilter::New();</blockquote><div><blockquote>
<p>
 surface1-&gt;SetInputConnection(0, clipper1-&gt;GetOutputPort(0));</p></blockquote><div></div><div><blockquote> vtkPolyDataMapper* mapper1 = vtkPolyDataMapper::New();</blockquote><div><blockquote><p>          mapper1-&gt;SetInputConnection(0, surface1-&gt;GetOutputPort(0));</p>

</blockquote><div></div><div><blockquote> vtkActor* actor1 = vtkActor::New();</blockquote><div><blockquote><p> vtkActor* actor2 = vtkActor::New(); </p></blockquote><div></div><div><blockquote>          actor1-&gt;SetMapper(mapper1);</blockquote>

<div><blockquote><p>          actor2-&gt;SetMapper(mapper1);</p></blockquote><div></div><div><blockquote>   vtkRenderer* renderer1 = vtkRenderer::New();  </blockquote><div><blockquote> actor1-&gt;SetScale(0.8,0.8,1.0);</blockquote>

<div><blockquote><p> actor2-&gt;SetScale(1.0,1.0,1.0); <br></p></blockquote><div><br>           actor1-&gt;SetPosition(<br></div><div><div>                            actor2-&gt;GetCenter()[0] - actor1-&gt;GetCenter()[0] ,<br>

</div><div><div>                            actor2-&gt;GetCenter()[1]-actor1-&gt;GetCenter()[1] ,<br></div><div>                            0.0); // first centered over second</div></div><div><blockquote> </blockquote><div>

<blockquote>          renderer1-&gt;AddActor(actor1);</blockquote><div><blockquote>          renderer1-&gt;AddActor(actor2);    </blockquote><div><blockquote>          renderer1-&gt;SetBackground(0.0, 0.5, 0.5); </blockquote><div><blockquote>

<p> renWindow-&gt;AddRenderer(renderer1);</p></blockquote><div></div><div></div><div>Has somebody some idea for filling or thinness change?</div><div>Thanks</div><div> </div></div></div></div></div></div></div>
</div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>