The Export class writes any supported mesh format into a file. More...
#include <FeatureMeshExport.h>
Public Member Functions | |
Export () | |
virtual Base::Type | getTypeId (void) const |
const char * | getViewProviderName (void) const |
returns the type name of the ViewProvider | |
methods override 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 |
App::PropertyString | Format |
App::PropertyLink | Source |
Protected Member Functions | |
virtual const App::PropertyData & | getPropertyData (void) const |
Static Protected Member Functions | |
static const App::PropertyData * | getPropertyDataPtr (void) |
The Export class writes any supported mesh format into a file.
Definition at line 38 of file FeatureMeshExport.h.
Export::Export | ( | void | ) |
Definition at line 42 of file FeatureMeshExport.cpp.
References ADD_PROPERTY.
void * Mesh::Export::create | ( | void | ) | [static] |
Reimplemented from App::PropertyContainer.
Definition at line 40 of file FeatureMeshExport.cpp.
App::DocumentObjectExecReturn * Export::execute | ( | void | ) | [virtual] |
recalculate the Feature
Reimplemented from App::DocumentObject.
Definition at line 62 of file FeatureMeshExport.cpp.
References FileName, App::PropertyString::getValue(), Mesh::PropertyMeshKernel::getValue(), App::PropertyLink::getValue(), App::DocumentObject::isError(), Mesh::Feature::Mesh, Mesh::MeshObject::save(), Source, and App::DocumentObject::StdReturn.
Base::Type Mesh::Export::getClassTypeId | ( | void | ) | [static] |
Reimplemented from App::PropertyContainer.
Definition at line 40 of file FeatureMeshExport.cpp.
const App::PropertyData & Mesh::Export::getPropertyData | ( | void | ) | const [protected, virtual] |
Reimplemented from App::PropertyContainer.
Definition at line 40 of file FeatureMeshExport.cpp.
const App::PropertyData * Mesh::Export::getPropertyDataPtr | ( | void | ) | [static, protected] |
Reimplemented from App::PropertyContainer.
Definition at line 40 of file FeatureMeshExport.cpp.
Base::Type Mesh::Export::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from App::PropertyContainer.
Definition at line 40 of file FeatureMeshExport.cpp.
const char* Mesh::Export::getViewProviderName | ( | void | ) | const [inline, virtual] |
returns the type name of the ViewProvider
Reimplemented from App::DocumentObject.
Definition at line 48 of file FeatureMeshExport.h.
void Mesh::Export::init | ( | void | ) | [static] |
Reimplemented from App::PropertyContainer.
Definition at line 40 of file FeatureMeshExport.cpp.
Referenced by initMesh().
short Export::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 49 of file FeatureMeshExport.cpp.
References FileName, Format, App::PropertyLink::getValue(), App::Property::isTouched(), and Source.
Definition at line 46 of file FeatureMeshExport.h.
Referenced by execute(), and mustExecute().
Definition at line 47 of file FeatureMeshExport.h.
Referenced by mustExecute().
Definition at line 45 of file FeatureMeshExport.h.
Referenced by execute(), and mustExecute().