26 #include <vtkSphereSource.h>
27 #include <vtkConeSource.h>
32 : QDialog(parent, f), m_Controls(NULL),
m_DataStorage(NULL), m_ToolTipSurface(NULL), m_ManipulatedToolTip(NULL),
48 m_Controls =
new Ui::QmitkNavigationToolCreationAdvancedWidgetControls;
57 connect( (QObject*)(
this), SIGNAL(finished(
int)),
this, SLOT(
OnClose()));
93 m_Controls->m_InteractiveTransformation->SetGeometry(emptyGeo,emptyGeo);
104 manipulatedTipNode->SetName(
"ManipulatedToolTip");
105 manipulatedTipNode->SetColor(1.0, 0.0, 0.0);
106 manipulatedTipNode->SetOpacity(0.5);
111 manipulatedTipNode =
m_DataStorage->GetNamedNode(
"ManipulatedToolTip");
156 mitkThrow() <<
"No tooltip surface specified, operation aborted";
172 vtkData->SetAngle(5.0);
173 vtkData->SetResolution(50);
174 vtkData->SetHeight(6.0f);
175 vtkData->SetRadius(2.0f);
176 vtkData->SetCenter(0.0, 0.0, 0.0);
184 else if(!cone && node.IsNotNull())
203 else returnValue->SetIdentity();
Class for storing surfaces (vtkPolyData).
itk::SmartPointer< Self > Pointer
mitk::DataStorage::Pointer m_DataStorage
static RenderingManager * GetInstance()
virtual void InitializeViewsByBoundingObjects(const DataStorage *)
Initializes the renderwindows by the aggregated geometry of all objects that are held in the data sto...
BaseGeometry Describes the geometry of a data object.
static itkEventMacro(BoundingShapeInteractionEvent, itk::AnyEvent) class MITKBOUNDINGSHAPE_EXPORT BoundingShapeInteractor Pointer New()
Basic interaction methods for mitk::GeometryData.