-// Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2024 CEA, EDF, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
%}
%include "cpointer.i"
+%include "std_string.i"
+%include "std_list.i"
+
+#if SWIG_VERSION >= 0x010329
+%template() std::list<std::string>;
+#endif
/* Exception handler for all functions */
%exception {
bool hasDesktop();
/* update object browser*/
- void updateObjBrowser(bool);
+ void updateObjBrowser();
/* get active study */
- int getActiveStudyId();
const char *getActiveStudyName();
/* get component name/username */
/* view operations */
void FitAll();
+ void FitSelection();
+ void FitIObjects(const std::list<std::string>&);
void ResetView();
void ViewTop();
void ViewBottom();
void ViewRight();
void ViewFront();
void ViewBack();
+
+ /* view parameters */
+ const char* getViewParameters();
+ void setCameraPosition( double x, double y, double z );
+ void setCameraFocalPoint( double x, double y, double z );
+ void setCameraViewUp( double x, double y, double z );
+ void setViewScale( double parallelScale,double x, double y, double z );
};