<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
<div>Hi itk experts,</div><div><br></div><div>Can anyone tell me how to visualize itk::SpatialObjects in VTK?&nbsp;</div><div><br></div><div>For example, the code snip:</div><div>/////////////////////////////////////////////</div><div>typedef itk::CylinderSpatialObject &nbsp; CylinderType;</div><div>CylinderType::Pointer myCylinder = CylinderType::New();</div><div><br></div><div>double radius = 3.0;</div><div>myCylinder-&gt;SetRadius(radius);</div><div><br></div><div>double height = 12.0;&nbsp;</div><div>myCylinder-&gt;SetHeight(height);</div><div>/////////////////////////////////////////////</div><div><br></div><div>How can I visualize "myCylinder" in VTK? I've known that we can visualize itk::Mesh objects by using class itkMeshTovtkPolyData. What about itk::SpatialObject?</div><div><br></div><div>Thank you!</div><div><br></div><div>Best Regards,</div><div><br></div><div>Huoling</div>                                               </body>
</html>