#include <deviation.h>
Public Member Functions | |
bool | Compute () |
Deviation () | |
bool | GenNormals () |
void | ImportGeometry (const TopoDS_Shape &aShape, const MeshCore::MeshKernel &aMesh) |
void | WriteOutput (const QString &dateiname) |
~Deviation () | |
Public Attributes | |
TopoDS_Shape | m_Cad |
MeshCore::MeshKernel | m_Mesh |
input-mesh | |
MeshCore::MeshKernel | m_MeshCad |
std::vector< Base::Vector3f > | m_nlvec |
std::vector< Base::Vector3f > | m_pnts |
Definition at line 34 of file deviation.h.
Deviation::Deviation | ( | ) |
Definition at line 45 of file deviation.cpp.
Deviation::~Deviation | ( | ) |
Definition at line 48 of file deviation.cpp.
bool Deviation::Compute | ( | ) |
Definition at line 149 of file deviation.cpp.
References Base::Builder3D::addSingleArrow(), MeshCore::MeshPointIterator::Begin(), GenNormals(), KDL::log(), m_Cad, m_Mesh, m_MeshCad, m_nlvec, m_pnts, MeshCore::MeshPointIterator::More(), MeshCore::MeshAlgorithm::NearestFacetOnRay(), MeshCore::MeshPointIterator::Next(), Base::Builder3D::saveToFile(), and best_fit::Tesselate_Shape().
Referenced by CamGui::Cutting::on_deviation_go_button_clicked().
bool Deviation::GenNormals | ( | ) |
Definition at line 57 of file deviation.cpp.
References Base::Builder3D::addSingleArrow(), MeshCore::MeshKernel::CountPoints(), MeshCore::MeshKernel::GetPoints(), MeshPnt::index, KDL::log(), m_Cad, m_MeshCad, m_nlvec, m_pnts, SpringbackCorrection::MeshMap, MeshPnt::pnt, Base::Builder3D::saveToFile(), SpringbackCorrection::TransferFaceTriangulationtoFreeCAD(), Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
Referenced by Compute().
void Deviation::ImportGeometry | ( | const TopoDS_Shape & | aShape, | |
const MeshCore::MeshKernel & | aMesh | |||
) |
Definition at line 51 of file deviation.cpp.
Referenced by CamGui::Cutting::on_deviation_go_button_clicked().
void Deviation::WriteOutput | ( | const QString & | dateiname | ) |
Definition at line 209 of file deviation.cpp.
References m_nlvec, and m_pnts.
Referenced by CamGui::Cutting::on_deviation_go_button_clicked().
TopoDS_Shape Deviation::m_Cad |
Definition at line 45 of file deviation.h.
Referenced by Compute(), GenNormals(), and ImportGeometry().
input-mesh
Reimplemented from SpringbackCorrection.
Definition at line 47 of file deviation.h.
Referenced by Compute(), and ImportGeometry().
Definition at line 46 of file deviation.h.
Referenced by Compute(), and GenNormals().
std::vector<Base::Vector3f> Deviation::m_nlvec |
Definition at line 49 of file deviation.h.
Referenced by Compute(), GenNormals(), and WriteOutput().
std::vector<Base::Vector3f> Deviation::m_pnts |
Definition at line 49 of file deviation.h.
Referenced by Compute(), GenNormals(), and WriteOutput().