VTKViewer_MarkerDlg* aDlg = new VTKViewer_MarkerDlg( GetDesktop( this ) );
aDlg->setHelpData( "VISU", "point_marker_page.html" );
- aDlg->setCustomMarkerMap( aMarkerMap[ aStudyId ] );
+ aDlg->setCustomMarkers( aMarkerMap[ aStudyId ] );
- aDlg->addExtraStdMarker( VTK::MT_POINT_SPRITE, aPointSpritePixmap );
+ aDlg->addMarker( VTK::MT_POINT_SPRITE, aPointSpritePixmap );
VISU::MarkerType aMarkerTypeCurrent = aPrs->GetMarkerType();
VISU::MarkerScale aMarkerScaleCurrent = aPrs->GetMarkerScale();
int aMarkerTextureCurrent = aPrs->GetMarkerTexture();
if( aMarkerTypeCurrent != VISU::MT_USER )
- aDlg->setStandardMarker( (VTK::MarkerType)aMarkerTypeCurrent, (VTK::MarkerScale)aMarkerScaleCurrent );
+ aDlg->setMarker( (VTK::MarkerType)aMarkerTypeCurrent, (VTK::MarkerScale)aMarkerScaleCurrent );
else
aDlg->setCustomMarker( aMarkerTextureCurrent );
if( aDlg->exec() )
{
- aMarkerMap[ aStudyId ] = aDlg->getCustomMarkerMap();
+ aMarkerMap[ aStudyId ] = aDlg->customMarkers();
- VISU::MarkerType aMarkerTypeNew = (VISU::MarkerType)aDlg->getMarkerType();
- VISU::MarkerScale aMarkerScaleNew = (VISU::MarkerScale)aDlg->getStandardMarkerScale();
- int aMarkerTextureNew = aDlg->getCustomMarkerID();
+ VISU::MarkerType aMarkerTypeNew = (VISU::MarkerType)aDlg->markerType();
+ VISU::MarkerScale aMarkerScaleNew = (VISU::MarkerScale)aDlg->markerScale();
+ int aMarkerTextureNew = aDlg->markerId();
if( aMarkerTypeNew != VISU::MT_USER )
aPrs->SetMarkerStd( aMarkerTypeNew, aMarkerScaleNew );
else