The Curvature class calculates the curvature values of a related mesh feature. More...
#include <FeatureMeshCurvature.h>
Public Member Functions | |
| Curvature () | |
| virtual Base::Type | getTypeId (void) const |
methods overide Feature | |
| App::DocumentObjectExecReturn * | execute (void) |
| recalculate the Feature | |
| const char * | getViewProviderName (void) const |
| returns the type name of the ViewProvider | |
| 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 | |
| PropertyCurvatureList | CurvInfo |
| App::PropertyLink | Source |
Protected Member Functions | |
| virtual const App::PropertyData & | getPropertyData (void) const |
Static Protected Member Functions | |
| static const App::PropertyData * | getPropertyDataPtr (void) |
The Curvature class calculates the curvature values of a related mesh feature.
Definition at line 41 of file FeatureMeshCurvature.h.
| Curvature::Curvature | ( | void | ) |
Definition at line 48 of file FeatureMeshCurvature.cpp.
References ADD_PROPERTY.
| void * Mesh::Curvature::create | ( | void | ) | [static] |
Reimplemented from App::PropertyContainer.
Definition at line 45 of file FeatureMeshCurvature.cpp.
| App::DocumentObjectExecReturn * Curvature::execute | ( | void | ) | [virtual] |
recalculate the Feature
Reimplemented from App::DocumentObject.
Definition at line 63 of file FeatureMeshCurvature.cpp.
References ci, Mesh::CurvatureInfo::cMaxCurvDir, Mesh::CurvatureInfo::cMinCurvDir, MeshCore::MeshKernel::CountFacets(), MeshCore::MeshKernel::CountPoints(), CurvInfo, Mesh::CurvatureInfo::fMaxCurvature, Mesh::CurvatureInfo::fMinCurvature, MeshCore::MeshKernel::GetFacets(), Mesh::MeshObject::getKernel(), Wm4::MeshCurvature< Real >::GetMaxCurvatures(), Wm4::MeshCurvature< Real >::GetMaxDirections(), Wm4::MeshCurvature< Real >::GetMinCurvatures(), Wm4::MeshCurvature< Real >::GetMinDirections(), Mesh::PropertyMeshKernel::getValue(), App::PropertyLink::getValue(), MeshCore::MeshPointIterator::Init(), App::DocumentObject::isError(), Mesh::Feature::Mesh, MeshCore::MeshPointIterator::More(), MeshCore::MeshPointIterator::Next(), Mesh::PropertyCurvatureList::setValues(), Source, and App::DocumentObject::StdReturn.
| Base::Type Mesh::Curvature::getClassTypeId | ( | void | ) | [static] |
Reimplemented from App::PropertyContainer.
Definition at line 45 of file FeatureMeshCurvature.cpp.
Referenced by CmdMeshVertexCurvatureInfo::isActive().
| const App::PropertyData & Mesh::Curvature::getPropertyData | ( | void | ) | const [protected, virtual] |
Reimplemented from App::PropertyContainer.
Definition at line 45 of file FeatureMeshCurvature.cpp.
| const App::PropertyData * Mesh::Curvature::getPropertyDataPtr | ( | void | ) | [static, protected] |
Reimplemented from App::PropertyContainer.
Definition at line 45 of file FeatureMeshCurvature.cpp.
| Base::Type Mesh::Curvature::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from App::PropertyContainer.
Definition at line 45 of file FeatureMeshCurvature.cpp.
| const char* Mesh::Curvature::getViewProviderName | ( | void | ) | const [inline, virtual] |
returns the type name of the ViewProvider
Reimplemented from App::DocumentObject.
Definition at line 57 of file FeatureMeshCurvature.h.
| void Mesh::Curvature::init | ( | void | ) | [static] |
Reimplemented from App::PropertyContainer.
Definition at line 45 of file FeatureMeshCurvature.cpp.
Referenced by initMesh().
| short Curvature::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 54 of file FeatureMeshCurvature.cpp.
References App::PropertyLink::getValue(), App::DocumentObject::isTouched(), App::Property::isTouched(), and Source.
Definition at line 49 of file FeatureMeshCurvature.h.
Referenced by execute().
Definition at line 48 of file FeatureMeshCurvature.h.
Referenced by execute(), and mustExecute().
1.6.1