#include <ProgressIndicator.h>
◆ 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()
ProgressIndicator::~ProgressIndicator |
( |
| ) |
|
|
virtual |
◆ Show()
Standard_Boolean ProgressIndicator::Show |
( |
const Standard_Boolean |
theForce = Standard_True | ) |
|
|
virtual |
◆ UserBreak()
Standard_Boolean ProgressIndicator::UserBreak |
( |
| ) |
|
|
virtual |
The documentation for this class was generated from the following files:
- FreeCAD/src/Mod/Part/App/ProgressIndicator.h
- FreeCAD/src/Mod/Part/App/ProgressIndicator.cpp