#include <Edge2TracObject.h>
Public Member Functions | |
Edge2TracObject (void) | |
Constructor. | |
virtual App::DocumentObjectExecReturn * | execute (void) |
get called by the document to recompute this feature Normaly this method get called in the processing of Document::recompute(). | |
virtual Base::Type | getTypeId (void) const |
virtual const char * | getViewProviderName (void) const |
returns the type name of the ViewProvider | |
virtual | ~Edge2TracObject () |
Static Public Member Functions | |
static void * | create (void) |
static Base::Type | getClassTypeId (void) |
static void | init (void) |
Public Attributes | |
int | NbrOfCluster |
set by execute with the number of clusters found | |
int | NbrOfEdges |
set by execute with the number of all edges | |
App::PropertyFloatConstraint | SegValue |
App::PropertyLinkSub | Source |
App::PropertyBool | UseRotation |
Protected Member Functions | |
virtual const App::PropertyData & | getPropertyData (void) const |
virtual void | onChanged (const App::Property *prop) |
get called by the container when a property has changed | |
Static Protected Member Functions | |
static const App::PropertyData * | getPropertyDataPtr (void) |
Definition at line 38 of file Edge2TracObject.h.
Edge2TracObject::Edge2TracObject | ( | void | ) |
Constructor.
Definition at line 51 of file Edge2TracObject.cpp.
References ADD_PROPERTY_TYPE, and App::Prop_None.
Edge2TracObject::~Edge2TracObject | ( | ) | [virtual] |
Definition at line 61 of file Edge2TracObject.cpp.
void * Robot::Edge2TracObject::create | ( | void | ) | [static] |
Reimplemented from Robot::TrajectoryObject.
Definition at line 48 of file Edge2TracObject.cpp.
App::DocumentObjectExecReturn * Edge2TracObject::execute | ( | void | ) | [virtual] |
get called by the document to recompute this feature Normaly this method get called in the processing of Document::recompute().
In execute() the outpupt properties get recomputed with the data from linked objects and objects own properties.
Reimplemented from Robot::TrajectoryObject.
Definition at line 65 of file Edge2TracObject.cpp.
References Robot::Trajectory::addWaypoint(), Sketcher::end, Part::Feature::getClassTypeId(), Part::Edgecluster::GetClusters(), Part::TopoShape::getSubShape(), App::PropertyLinkSub::getSubValuesStartsWith(), App::PropertyContainer::getTypeId(), App::PropertyFloat::getValue(), App::PropertyBool::getValue(), App::PropertyLinkSub::getValue(), Base::Type::isDerivedFrom(), Base::Length, NbrOfCluster, NbrOfEdges, Base::SequencerLauncher::next(), SegValue, Part::Feature::Shape, Source, App::DocumentObject::StdReturn, boost::numeric::bindings::atlas::swap(), and UseRotation.
Referenced by RobotGui::TaskDlgEdge2Trac::clicked(), RobotGui::TaskDlgEdge2Trac::open(), and RobotGui::TaskDlgEdge2Trac::reject().
Base::Type Robot::Edge2TracObject::getClassTypeId | ( | void | ) | [static] |
Reimplemented from Robot::TrajectoryObject.
Definition at line 48 of file Edge2TracObject.cpp.
const App::PropertyData & Robot::Edge2TracObject::getPropertyData | ( | void | ) | const [protected, virtual] |
Reimplemented from Robot::TrajectoryObject.
Definition at line 48 of file Edge2TracObject.cpp.
const App::PropertyData * Robot::Edge2TracObject::getPropertyDataPtr | ( | void | ) | [static, protected] |
Reimplemented from Robot::TrajectoryObject.
Definition at line 48 of file Edge2TracObject.cpp.
Base::Type Robot::Edge2TracObject::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from Robot::TrajectoryObject.
Definition at line 48 of file Edge2TracObject.cpp.
virtual const char* Robot::Edge2TracObject::getViewProviderName | ( | void | ) | const [inline, virtual] |
returns the type name of the ViewProvider
Reimplemented from Robot::TrajectoryObject.
Definition at line 57 of file Edge2TracObject.h.
void Robot::Edge2TracObject::init | ( | void | ) | [static] |
Reimplemented from Robot::TrajectoryObject.
Definition at line 48 of file Edge2TracObject.cpp.
Referenced by initRobot().
void Edge2TracObject::onChanged | ( | const App::Property * | prop | ) | [protected, virtual] |
get called by the container when a property has changed
Reimplemented from Robot::TrajectoryObject.
Definition at line 277 of file Edge2TracObject.cpp.
set by execute with the number of clusters found
Definition at line 52 of file Edge2TracObject.h.
Referenced by RobotGui::TaskDlgEdge2Trac::clicked(), execute(), and RobotGui::TaskDlgEdge2Trac::open().
set by execute with the number of all edges
Definition at line 54 of file Edge2TracObject.h.
Referenced by RobotGui::TaskDlgEdge2Trac::clicked(), execute(), and RobotGui::TaskDlgEdge2Trac::open().
Definition at line 48 of file Edge2TracObject.h.
Referenced by execute().
Definition at line 47 of file Edge2TracObject.h.
Referenced by execute(), RobotGui::TaskEdge2TracParameter::setHideShowObject(), and RobotGui::TaskDlgEdge2Trac::TaskDlgEdge2Trac().
Definition at line 49 of file Edge2TracObject.h.
Referenced by execute().