35 #include <vtkConeSource.h>
44 coneSource->SetResolution(25);
45 coneSource->SetRadius(10);
46 coneSource->SetHeight(100);
48 coneSource->SetDirection(0, 0, 1);
50 coneSource->GetCenter(newCenter);
51 newCenter[2] = newCenter[2] - coneSource->GetHeight() / 2;
52 coneSource->SetCenter(newCenter);
55 return coneSource->GetOutput();
59 mUid(uid), mName(name)
75 return mData.trimmed();
vtkSmartPointer< class vtkPolyData > vtkPolyDataPtr
vtkSmartPointer< class vtkConeSource > vtkConeSourcePtr
boost::shared_ptr< class Tool > ToolPtr