-// Copyright (C) 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2014 CEA/DEN, EDF R&D, OPEN CASCADE
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
//
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
+// File : VTKViewer_MarkerDlg.h
+// Author : Vadim SANDLER, Open CASCADE S.A.S. (vadim.sandler@opencascade.com)
#ifndef VTKVIEWER_MARKERDLG_H
#define VTKVIEWER_MARKERDLG_H
class VTKViewer_MarkerWidget;
-/*!
- * Class : VTKViewer_MarkerDlg
- * Description : Dialog for specifying point marker parameters
- */
class VTKVIEWER_EXPORT VTKViewer_MarkerDlg : public QtxDialog
{
Q_OBJECT
void setHelpData( const QString& theModuleName,
const QString& theHelpFileName );
- void setCustomMarkerMap( VTK::MarkerMap );
- VTK::MarkerMap getCustomMarkerMap();
+ void setCustomMarkers( const VTK::MarkerMap& );
+ VTK::MarkerMap customMarkers() const;
+ void addMarker( VTK::MarkerType, const QPixmap& );
- void setStandardMarker( VTK::MarkerType, VTK::MarkerScale );
+ void setMarker( VTK::MarkerType, VTK::MarkerScale );
void setCustomMarker( int );
- VTK::MarkerType getMarkerType() const;
- VTK::MarkerScale getStandardMarkerScale() const;
- int getCustomMarkerID() const;
-
- void addExtraStdMarker( VTK::MarkerType, const QPixmap& );
+ VTK::MarkerType markerType() const;
+ VTK::MarkerScale markerScale() const;
+ int markerId() const;
protected:
void keyPressEvent( QKeyEvent* );
private:
VTKViewer_MarkerWidget* myMarkerWidget;
-
- QString myModuleName;
- QString myHelpFileName;
+ QString myModule;
+ QString myHelpFile;
};
#endif