Hi guys,

I would like to use the extruded contour interactor for interactive
clipping or masking of a volume render (not sure how to call this
action)

Could you please provide any hint on its use?

- is this class in use somewhere?
- what kind of data node does it need? Any bounding object?
- should operate on a 3D window, right?

I tried it but crashes, no clue why ... not in the constructor, for
sure; neither on "ExecuteAction"

here´s some code snippet of how I´m trying to use it:

m_BoundingObject = mitk::Cuboid::New();
m_BoundingObjectNode = mitk::DataNode::New();
m_BoundingObjectNode->SetData( m_BoundingObject );
m_BoundingObjectNode->SetProperty( "name", mitk::StringProperty::New(
"extruder object" ) );
m_BoundingObjectNode->SetProperty( "color",
mitk::ColorProperty::New(1.0, 0.0, 0.0) );
m_BoundingObjectNode->SetProperty( "helper object",
mitk::BoolProperty::New(true) );

m_ExtrudedContourInteractor =
mitk::ExtrudedContourInteractor::New("ExtrudedContourInteractor",m_BoundingObjectNode.GetPointer());
mitk::GlobalInteraction::GetInstance()->AddInteractor(
m_ExtrudedContourInteractor );


any hint would be greatly appreciated!

thanks
sebastian

------------------------------------------------------------------------------

_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to