//----------------------------------------------------------------------------
-VISU::Prs3d_i
-::Prs3d_i() :
+VISU::Prs3d_i::Prs3d_i() :
PrsObject_i(SALOMEDS::Study::_nil()),
myActorCollection(vtkActorCollection::New()),
myIsActiveSatate(true)
}
//----------------------------------------------------------------------------
-VISU::Prs3d_i
-::~Prs3d_i()
+VISU::Prs3d_i::~Prs3d_i()
{
if(MYDEBUG) MESSAGE("Prs3d_i::~Prs3d_i - this = "<<this);
ProcessVoidEvent(new TInvokeSignalEvent(myRemoveActorsFromRendererSignal));
struct TEvent: public TInvokeSignalEvent
{
VISU::Prs3d_i* myRemovable;
-
+
TEvent(const TSignal& theSignal,
VISU::Prs3d_i* theRemovable):
TInvokeSignalEvent(theSignal),
myRemovable(theRemovable)
- {}
-
- virtual
- void
- Execute()
- {
- TInvokeSignalEvent::Execute();
- myRemovable->Destroy();
- }
-};
+ {}
+ virtual
+ void
+ Execute()
+ {
+ //TInvokeSignalEvent::Execute();
+ myRemovable->Destroy();
+ }
+ };
ProcessVoidEvent(new TEvent(myRemoveActorsFromRendererSignal, this));
}