#include <Standard_Boolean.hxx>
#include <TopAbs_ShapeEnum.hxx>
#include <TopTools_HArray1OfShape.hxx>
+#include <TopTools_ListOfShape.hxx>
#include <AIS_KindOfInteractive.hxx>
+#include <Aspect_TypeOfLine.hxx>
#include <TColStd_HArray1OfTransient.hxx>
#include <Quantity_NameOfColor.hxx>
+
class TCollection_AsciiString;
class V3d_View;
class MMgt_TShared;
Standard_EXPORT static void Commands (Draw_Interpretor& theCommands);
- Standard_EXPORT static void AviCommands (Draw_Interpretor& theCommands);
-
Standard_EXPORT static void ViewerCommands (Draw_Interpretor& theCommands);
Standard_EXPORT static void MyCommands (Draw_Interpretor& theCommands);
Standard_EXPORT static void FilletCommands (Draw_Interpretor& theCommands);
- Standard_EXPORT static void VoxelCommands (Draw_Interpretor& theCommands);
-
Standard_EXPORT static void OpenGlCommands (Draw_Interpretor& theCommands);
Standard_EXPORT static void GetMousePosition (Standard_Integer& xpix, Standard_Integer& ypix);
//! Handles either flag specified by 0|1 or on|off.
Standard_EXPORT static Standard_Boolean ParseOnOff (Standard_CString theArg,
Standard_Boolean& theIsOn);
+
+ //! Returns list of selected shapes.
+ Standard_EXPORT static void GetSelectedShapes (TopTools_ListOfShape& theShapes);
+
+
+ //! Parses line type argument.
+ //! Handles either enumeration (integer) value or string constant.
+ Standard_EXPORT static Standard_Boolean ParseLineType (Standard_CString theArg,
+ Aspect_TypeOfLine& theType);
+
private:
//! Returns a window class that implements standard behavior of
//! Ctrl+MB2 for pan, etc) and keyboard shortcuts.
//! This method is relevant for MS Windows only and respectively
//! returns WNT_WClass handle.
- Standard_EXPORT static const Handle(MMgt_TShared)& WClass();
+ static const Handle(Standard_Transient)& WClass();
};
#endif // _ViewerTest_HeaderFile