Salome HOME
Merge branch 'Dev_0.7.1' of newgeom:newgeom into Dev_0.7.1
[modules/shaper.git] / src / NewGeom / NewGeom_SalomeViewer.h
index 7ac8ea6a39fff9b42db2b4dc8aeb8efb080fa3f6..0377ce7e06d17ed86a351dc1cd22a6b271d40b8e 100644 (file)
@@ -19,10 +19,15 @@ class NewGeom_OCCSelector;
 class OCCViewer_Viewer;
 class SUIT_ViewManager;
 
-
+/**
+* A class for providing access of NewGeom functionality to 
+* SALOME view window functionality
+*/
 class NewGeom_SalomeView: public ModuleBase_IViewWindow
 {
 public:
+  /// Constructor
+  /// \param theViewer a reference to a viewer
   NewGeom_SalomeView(OCCViewer_Viewer* theViewer) { myViewer = theViewer; }
 
   virtual Handle(V3d_View) v3dView() const;
@@ -31,14 +36,21 @@ public:
   OCCViewer_Viewer* viewer() const { return myViewer; }
 
 private:
+  /// A reference to a viewer
   OCCViewer_Viewer* myViewer;
 };
 
 
+/**
+* A class for providing access of NewGeom functionality to 
+* SALOME viewer functionality
+*/
 class NewGeom_SalomeViewer : public ModuleBase_IViewer
 {
 Q_OBJECT
  public:
+   /// Constructor
+   /// \param theParent a parent object
   NewGeom_SalomeViewer(QObject* theParent);
 
   ~NewGeom_SalomeViewer();