15 #include "vtkConeSource.h" 16 #include "vtkLinearTransform.h" 21 vtkConeSource *cone = vtkConeSource::New();
24 cone->SetDirection(0.0, -1.0, 0.0);
25 cone->SetCenter(0.0, 0.0, 0.0);
26 cone->SetResolution(20);
50 return (sqrt(p[0] * p[0] + p[2] * p[2]) <= p[1] * 0.5) && (p[1] <= 2);
vtkLinearTransform * GetVtkTransform() const
Get the m_IndexToWorldTransform as a vtkLinearTransform.
mitk::ScalarType GetVolume() override
superclass of all bounding objects (cylinder, cuboid,...)
const mitk::TimeGeometry * GetTimeGeometry() const
Return the TimeGeometry of the data as const pointer.
virtual void SetVtkPolyData(vtkPolyData *polydata, unsigned int t=0)
bool IsInside(const Point3D &p) const override
ScalarType GetExtentInWorld(unsigned int direction) const
Returns the Extend of the bounding in the given direction.
mitk::BaseGeometry * GetGeometry(int t=0) const
Return the geometry, which is a TimeGeometry, of the data as non-const pointer.