diff --git a/src/AIS_1.cpp b/src/AIS_1.cpp index 0f6e3810d..cdffb503e 100644 --- a/src/AIS_1.cpp +++ b/src/AIS_1.cpp @@ -223,43 +223,6 @@ void init_AIS_1(py::module &mod){ py::module other_mod; - // C:\Miniconda\envs\occt\Library\include\opencascade\AIS_LocalStatus.hxx - py::class_, Standard_Transient> cls_AIS_LocalStatus(mod, "AIS_LocalStatus", "Stored Info about temporary objects."); - cls_AIS_LocalStatus.def(py::init<>()); - cls_AIS_LocalStatus.def(py::init(), py::arg("theIsTemporary")); - cls_AIS_LocalStatus.def(py::init(), py::arg("theIsTemporary"), py::arg("theIsToDecompose")); - cls_AIS_LocalStatus.def(py::init(), py::arg("theIsTemporary"), py::arg("theIsToDecompose"), py::arg("theDisplayMode")); - cls_AIS_LocalStatus.def(py::init(), py::arg("theIsTemporary"), py::arg("theIsToDecompose"), py::arg("theDisplayMode"), py::arg("theSelectionMode")); - cls_AIS_LocalStatus.def(py::init(), py::arg("theIsTemporary"), py::arg("theIsToDecompose"), py::arg("theDisplayMode"), py::arg("theSelectionMode"), py::arg("theHilightMode")); - cls_AIS_LocalStatus.def(py::init(), py::arg("theIsTemporary"), py::arg("theIsToDecompose"), py::arg("theDisplayMode"), py::arg("theSelectionMode"), py::arg("theHilightMode"), py::arg("theIsSubIntensity")); - cls_AIS_LocalStatus.def(py::init &>(), py::arg("theIsTemporary"), py::arg("theIsToDecompose"), py::arg("theDisplayMode"), py::arg("theSelectionMode"), py::arg("theHilightMode"), py::arg("theIsSubIntensity"), py::arg("theStyle")); - cls_AIS_LocalStatus.def_static("get_type_name_", (const char * (*)()) &AIS_LocalStatus::get_type_name, "None"); - cls_AIS_LocalStatus.def_static("get_type_descriptor_", (const opencascade::handle & (*)()) &AIS_LocalStatus::get_type_descriptor, "None"); - cls_AIS_LocalStatus.def("DynamicType", (const opencascade::handle & (AIS_LocalStatus::*)() const ) &AIS_LocalStatus::DynamicType, "None"); - cls_AIS_LocalStatus.def("Decomposed", (Standard_Boolean (AIS_LocalStatus::*)() const ) &AIS_LocalStatus::Decomposed, "None"); - cls_AIS_LocalStatus.def("IsTemporary", (Standard_Boolean (AIS_LocalStatus::*)() const ) &AIS_LocalStatus::IsTemporary, "None"); - cls_AIS_LocalStatus.def("DisplayMode", (Standard_Integer (AIS_LocalStatus::*)() const ) &AIS_LocalStatus::DisplayMode, "None"); - cls_AIS_LocalStatus.def("SelectionModes", (const TColStd_ListOfInteger & (AIS_LocalStatus::*)() const ) &AIS_LocalStatus::SelectionModes, "None"); - cls_AIS_LocalStatus.def("IsActivated", (Standard_Boolean (AIS_LocalStatus::*)(const Standard_Integer) const ) &AIS_LocalStatus::IsActivated, "None", py::arg("aSelMode")); - cls_AIS_LocalStatus.def("HilightMode", (Standard_Integer (AIS_LocalStatus::*)() const ) &AIS_LocalStatus::HilightMode, "None"); - cls_AIS_LocalStatus.def("IsSubIntensityOn", (Standard_Boolean (AIS_LocalStatus::*)() const ) &AIS_LocalStatus::IsSubIntensityOn, "None"); - cls_AIS_LocalStatus.def("HilightStyle", (const opencascade::handle & (AIS_LocalStatus::*)() const ) &AIS_LocalStatus::HilightStyle, "None"); - cls_AIS_LocalStatus.def("SetDecomposition", (void (AIS_LocalStatus::*)(const Standard_Boolean)) &AIS_LocalStatus::SetDecomposition, "None", py::arg("astatus")); - cls_AIS_LocalStatus.def("SetTemporary", (void (AIS_LocalStatus::*)(const Standard_Boolean)) &AIS_LocalStatus::SetTemporary, "None", py::arg("astatus")); - cls_AIS_LocalStatus.def("SetDisplayMode", (void (AIS_LocalStatus::*)(const Standard_Integer)) &AIS_LocalStatus::SetDisplayMode, "None", py::arg("aMode")); - cls_AIS_LocalStatus.def("SetFirstDisplay", (void (AIS_LocalStatus::*)(const Standard_Boolean)) &AIS_LocalStatus::SetFirstDisplay, "None", py::arg("aStatus")); - cls_AIS_LocalStatus.def("IsFirstDisplay", (Standard_Boolean (AIS_LocalStatus::*)() const ) &AIS_LocalStatus::IsFirstDisplay, "None"); - cls_AIS_LocalStatus.def("AddSelectionMode", (void (AIS_LocalStatus::*)(const Standard_Integer)) &AIS_LocalStatus::AddSelectionMode, "None", py::arg("aMode")); - cls_AIS_LocalStatus.def("RemoveSelectionMode", (void (AIS_LocalStatus::*)(const Standard_Integer)) &AIS_LocalStatus::RemoveSelectionMode, "None", py::arg("aMode")); - cls_AIS_LocalStatus.def("ClearSelectionModes", (void (AIS_LocalStatus::*)()) &AIS_LocalStatus::ClearSelectionModes, "None"); - cls_AIS_LocalStatus.def("IsSelModeIn", (Standard_Boolean (AIS_LocalStatus::*)(const Standard_Integer) const ) &AIS_LocalStatus::IsSelModeIn, "None", py::arg("aMode")); - cls_AIS_LocalStatus.def("SetHilightMode", (void (AIS_LocalStatus::*)(const Standard_Integer)) &AIS_LocalStatus::SetHilightMode, "None", py::arg("aMode")); - cls_AIS_LocalStatus.def("SetHilightStyle", (void (AIS_LocalStatus::*)(const opencascade::handle &)) &AIS_LocalStatus::SetHilightStyle, "None", py::arg("theStyle")); - cls_AIS_LocalStatus.def("SubIntensityOn", (void (AIS_LocalStatus::*)()) &AIS_LocalStatus::SubIntensityOn, "None"); - cls_AIS_LocalStatus.def("SubIntensityOff", (void (AIS_LocalStatus::*)()) &AIS_LocalStatus::SubIntensityOff, "None"); - cls_AIS_LocalStatus.def("SetPreviousState", (void (AIS_LocalStatus::*)(const opencascade::handle &)) &AIS_LocalStatus::SetPreviousState, "None", py::arg("aStatus")); - cls_AIS_LocalStatus.def("PreviousState", (const opencascade::handle & (AIS_LocalStatus::*)() const ) &AIS_LocalStatus::PreviousState, "None"); - // C:\Miniconda\envs\occt\Library\include\opencascade\AIS_GlobalStatus.hxx py::class_, Standard_Transient> cls_AIS_GlobalStatus(mod, "AIS_GlobalStatus", "Stores information about objects in graphic context: - Status Of Display : in the main viewer hidden in the main viewer - Displayed Modes - Active Selection Modes - is the Interactive Object Current ? - Layer Index"); cls_AIS_GlobalStatus.def(py::init<>());