- Error message is shown after selection of Cut Planes presentation for Slider functionality
: QWidget( theParent )
, myModule( theModule )
, myViewWindow( NULL )
- , myScalarMap( NULL )
- , myActor( NULL )
{
setWindowTitle( tr("TITLE") );
setObjectName( tr("TITLE") );
{
SUIT_ResourceMgr* aResourceMgr = VISU::GetResourceMgr();
if ( on ) {
- myPlayButton->setIcon( myPlayPixmap );
+ myPlayButton->setIcon( myPausePixmap );
myTimer->start( int( myStepDelay->value() * 1000 ) );
myPlayButton->setChecked( true );
} else {
myTimer->stop();
myPlayButton->setChecked( false );
- myPlayButton->setIcon( myPausePixmap );
+ myPlayButton->setIcon( myPlayPixmap );
}
}
#ifndef VisuGUI_Sweep_HeaderFile
#define VisuGUI_Sweep_HeaderFile
+#include "SALOME_GenericObjPointer.hh"
+
+#include <vtkSmartPointer.h>
+
#include <QWidget>
#include <QPixmap>
QAction* myToggleViewAction;
VisuGUI* myModule;
+ SVTK_ViewWindow* myViewWindow;
- VISU_Actor* myActor;
- VISU::ScalarMap_i* myScalarMap;
- SVTK_ViewWindow* myViewWindow;
+ vtkSmartPointer< VISU_Actor > myActor;
+ SALOME::GenericObjPtr< VISU::ScalarMap_i > myScalarMap;
};