Classes | |
struct | ApproxPar |
struct | PickedPoint |
Public Member Functions | |
std::vector< SbVec3f > | convert (const std::vector< Base::Vector3f > &points) const |
void | createGrid () |
Private () | |
bool | projectLineOnMesh (const PickedPoint &pick) |
~Private () | |
Static Public Member Functions | |
static void | vertexCallback (void *ud, SoEventCallback *n) |
Public Attributes | |
bool | approximate |
double | cosAngle |
ViewProviderCurveOnMesh * | curve |
std::list< std::vector< Base::Vector3f > > | cutLines |
double | distance |
QCursor | editcursor |
MeshCore::MeshFacetGrid * | grid |
MeshCore::MeshKernel | kernel |
Gui::ViewProviderDocumentObject * | mesh |
ApproxPar | par |
std::vector< PickedPoint > | pickedPoints |
QPointer< Gui::View3DInventor > | viewer |
bool | wireClosed |
Constructor & Destructor Documentation
◆ Private()
MeshPartGui::CurveOnMeshHandler::Private::Private | ( | ) |
◆ ~Private()
MeshPartGui::CurveOnMeshHandler::Private::~Private | ( | ) |
Member Function Documentation
◆ convert()
std::vector<SbVec3f> MeshPartGui::CurveOnMeshHandler::Private::convert | ( | const std::vector< Base::Vector3f > & | points | ) | const |
◆ createGrid()
void MeshPartGui::CurveOnMeshHandler::Private::createGrid | ( | ) |
References MeshCore::MeshAlgorithm::GetAverageEdgeLength(), Mesh::MeshObject::getKernel(), Gui::ViewProviderDocumentObject::getObject(), Mesh::MeshObject::getTransform(), Mesh::PropertyMeshKernel::getValue(), MeshPartGui::CurveOnMeshHandler::Private::grid, MeshPartGui::CurveOnMeshHandler::Private::kernel, Mesh::Feature::Mesh, MeshPartGui::CurveOnMeshHandler::Private::mesh, and MeshCore::MeshKernel::Transform().
◆ projectLineOnMesh()
bool MeshPartGui::CurveOnMeshHandler::Private::projectLineOnMesh | ( | const PickedPoint & | pick | ) |
References MeshPartGui::CurveOnMeshHandler::Private::cosAngle, MeshPartGui::CurveOnMeshHandler::Private::cutLines, MeshPartGui::CurveOnMeshHandler::Private::PickedPoint::facet, MeshPartGui::CurveOnMeshHandler::Private::grid, MeshPartGui::CurveOnMeshHandler::Private::kernel, MeshPartGui::CurveOnMeshHandler::Private::pickedPoints, MeshPartGui::CurveOnMeshHandler::Private::PickedPoint::point, MeshCore::MeshProjection::projectLineOnMesh(), and MeshPartGui::CurveOnMeshHandler::Private::viewer.
◆ vertexCallback()
|
static |
References MeshPartGui::CurveOnMeshHandler::Private::PickedPoint::facet, Base::Persistence::getClassTypeId(), Gui::ViewProvider::getDetail(), Gui::getMainWindow(), Base::Persistence::getTypeId(), Base::Type::isDerivedFrom(), MeshPartGui::CurveOnMeshHandler::Private::mesh, MeshPartGui::CurveOnMeshHandler::Private::PickedPoint::normal, MeshPartGui::CurveOnMeshHandler::Private::PickedPoint::point, and Gui::MainWindow::showMessage().
Referenced by MeshPartGui::CurveOnMeshHandler::disableCallback(), and MeshPartGui::CurveOnMeshHandler::enableCallback().
Member Data Documentation
◆ approximate
bool MeshPartGui::CurveOnMeshHandler::Private::approximate |
◆ cosAngle
double MeshPartGui::CurveOnMeshHandler::Private::cosAngle |
◆ curve
ViewProviderCurveOnMesh* MeshPartGui::CurveOnMeshHandler::Private::curve |
Referenced by MeshPartGui::CurveOnMeshHandler::Private::~Private().
◆ cutLines
std::list<std::vector<Base::Vector3f> > MeshPartGui::CurveOnMeshHandler::Private::cutLines |
◆ distance
double MeshPartGui::CurveOnMeshHandler::Private::distance |
◆ editcursor
QCursor MeshPartGui::CurveOnMeshHandler::Private::editcursor |
◆ grid
MeshCore::MeshFacetGrid* MeshPartGui::CurveOnMeshHandler::Private::grid |
◆ kernel
MeshCore::MeshKernel MeshPartGui::CurveOnMeshHandler::Private::kernel |
◆ mesh
Gui::ViewProviderDocumentObject* MeshPartGui::CurveOnMeshHandler::Private::mesh |
◆ par
ApproxPar MeshPartGui::CurveOnMeshHandler::Private::par |
◆ pickedPoints
std::vector<PickedPoint> MeshPartGui::CurveOnMeshHandler::Private::pickedPoints |
◆ viewer
QPointer<Gui::View3DInventor> MeshPartGui::CurveOnMeshHandler::Private::viewer |
◆ wireClosed
bool MeshPartGui::CurveOnMeshHandler::Private::wireClosed |
The documentation for this class was generated from the following file:
- src/Mod/MeshPart/Gui/CurveOnMesh.cpp