The FeaturePointsImportAscii class reads the STL Points format into the FreeCAD workspace. More...
#include <FeaturePointsImportAscii.h>
Public Member Functions | |
virtual Base::Type | getTypeId (void) const |
ImportAscii () | |
methods overide Feature | |
App::DocumentObjectExecReturn * | execute (void) |
recalculate the Feature | |
short | mustExecute () const |
mustExecute We call this method to check if the object was modified to be invoked. | |
Static Public Member Functions | |
static void * | create (void) |
static Base::Type | getClassTypeId (void) |
static void | init (void) |
Public Attributes | |
App::PropertyString | FileName |
Protected Member Functions | |
virtual const App::PropertyData & | getPropertyData (void) const |
Static Protected Member Functions | |
static const App::PropertyData * | getPropertyDataPtr (void) |
The FeaturePointsImportAscii class reads the STL Points format into the FreeCAD workspace.
Definition at line 40 of file FeaturePointsImportAscii.h.
ImportAscii::ImportAscii | ( | void | ) |
Definition at line 41 of file FeaturePointsImportAscii.cpp.
References ADD_PROPERTY.
void * Points::ImportAscii::create | ( | void | ) | [static] |
Reimplemented from Points::Feature.
Definition at line 39 of file FeaturePointsImportAscii.cpp.
App::DocumentObjectExecReturn * ImportAscii::execute | ( | void | ) | [virtual] |
recalculate the Feature
Reimplemented from Points::Feature.
Definition at line 53 of file FeaturePointsImportAscii.cpp.
References draftlibs::dxfReader::error(), FileName, App::PropertyString::getValue(), Points::PointsAlgos::Load(), Points::Feature::Points, Points::PropertyPointKernel::setValue(), and App::DocumentObject::StdReturn.
Base::Type Points::ImportAscii::getClassTypeId | ( | void | ) | [static] |
Reimplemented from Points::Feature.
Definition at line 39 of file FeaturePointsImportAscii.cpp.
const App::PropertyData & Points::ImportAscii::getPropertyData | ( | void | ) | const [protected, virtual] |
Reimplemented from Points::Feature.
Definition at line 39 of file FeaturePointsImportAscii.cpp.
const App::PropertyData * Points::ImportAscii::getPropertyDataPtr | ( | void | ) | [static, protected] |
Reimplemented from Points::Feature.
Definition at line 39 of file FeaturePointsImportAscii.cpp.
Base::Type Points::ImportAscii::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from Points::Feature.
Definition at line 39 of file FeaturePointsImportAscii.cpp.
void Points::ImportAscii::init | ( | void | ) | [static] |
Reimplemented from Points::Feature.
Definition at line 39 of file FeaturePointsImportAscii.cpp.
Referenced by initPoints().
short ImportAscii::mustExecute | ( | ) | const [virtual] |
mustExecute We call this method to check if the object was modified to be invoked.
If the object label or an argument is modified. If we must recompute the object - to call the method execute(). 0: no recompution is needed 1: recompution needed -1: the document examine all links of this object and if one is touched -> recompute
Reimplemented from App::DocumentObject.
Definition at line 46 of file FeaturePointsImportAscii.cpp.
References FileName, and App::Property::isTouched().
Definition at line 47 of file FeaturePointsImportAscii.h.
Referenced by execute(), and mustExecute().