Part::ProgressIndicator Class Reference
#include <ProgressIndicator.h>
Public Member Functions | |
ProgressIndicator (int theMaxVal=100) | |
virtual Standard_Boolean Show (const Standard_Boolean theForce=Standard_True) | |
virtual Standard_Boolean UserBreak () | |
virtual ~ProgressIndicator () | |
Constructor & Destructor Documentation
◆ ProgressIndicator()
ProgressIndicator::ProgressIndicator | ( | int | theMaxVal = 100 | ) |
#include <XSControl_WorkSession.hxx>
#include <Transfer_TransientProcess.hxx>
STEPControl_Reader aReader;
pi->NewScope(20, "Loading STEP file...");
pi->Show();
aReader.ReadFile("myfile.stp");
pi->EndScope();
Handle(StepData_StepModel) Model = aReader.StepModel();
pi->NewScope(80, "Translating...");
pi->Show();
aReader.WS()->MapReader()->SetProgress(pi);
Standard_Integer nbr = aReader.NbRootsForTransfer();
for ( Standard_Integer n = 1; n<= nbr; n++) {
...
}
pi->EndScope();
◆ ~ProgressIndicator()
|
virtual |
Member Function Documentation
◆ Show()
|
virtual |
◆ UserBreak()
|
virtual |
The documentation for this class was generated from the following files:
- src/Mod/Part/App/ProgressIndicator.h
- src/Mod/Part/App/ProgressIndicator.cpp
ProgressIndicator(int theMaxVal=100)
Definition: ProgressIndicator.cpp:57