<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->SetInput(marchingCubes->GetOutput());</blockquote><div><blockquote>//         clipper1->GenerateClippedOutputOff();</blockquote>
<div><blockquote>         clipper1->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->SetInputConnection(0, clipper1->GetOutputPort(0));</p></blockquote><div></div><div><blockquote> vtkPolyDataMapper* mapper1 = vtkPolyDataMapper::New();</blockquote><div><blockquote><p>         mapper1->SetInputConnection(0, surface1->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->SetMapper(mapper1);</blockquote>
<div><blockquote><p>         actor2->SetMapper(mapper1);</p></blockquote><div></div><div><blockquote> vtkRenderer* renderer1 = vtkRenderer::New(); </blockquote><div><blockquote> actor1->SetScale(0.8,0.8,1.0);</blockquote>
<div><blockquote><p> actor2->SetScale(1.0,1.0,1.0); <br></p></blockquote><div><br> actor1->SetPosition(<br></div><div><div> actor2->GetCenter()[0] - actor1->GetCenter()[0] ,<br>
</div><div><div> actor2->GetCenter()[1]-actor1->GetCenter()[1] ,<br></div><div> 0.0); // first centered over second</div></div><div><blockquote> </blockquote><div>
<blockquote>         renderer1->AddActor(actor1);</blockquote><div><blockquote>         renderer1->AddActor(actor2); </blockquote><div><blockquote>         renderer1->SetBackground(0.0, 0.5, 0.5); </blockquote><div><blockquote>
<p> renWindow->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>