//----------------------------------------------------------------------------
~VISU_PointsDeviceActor()
{
+ SetInteractor( NULL );
myGeomFilter->Delete();
myEventCallbackCommand->Delete();
}
void* theClientData,
void* theCallData)
{
- if ( vtkObject* anObject = reinterpret_cast<vtkObject*>( theClientData ) )
- if ( VISU_PointsDeviceActor* self = dynamic_cast<VISU_PointsDeviceActor*>( anObject ) )
- self->OnInteractorEvent( theEvent );
+ if ( VISU_PointsDeviceActor* self = reinterpret_cast<VISU_PointsDeviceActor*>( theClientData ) )
+ self->OnInteractorEvent( theEvent );
}
{
VISU_Actor::ShallowCopyPL( thePipeLine );
+ myEdgeActor->GetMapper()->ScalarVisibilityOff();
+
myPointsActor->DoMapperShallowCopy( thePipeLine->GetMapper(), false );
VISU::CopyMapper( mySurfaceActor->GetMapper(), thePipeLine->GetMapper(), false );