#include <SectionCutting.h>
◆ SectionCut()
SectionCut::SectionCut |
( |
QWidget * |
parent = nullptr | ) |
|
References Gui::Application::activeDocument(), App::Color::asValue(), PartGui::Ui_SectionCut::AutoCutfaceColor, draftgeoutils.intersections::connect(), Base::Console(), PartGui::Ui_SectionCut::CutColor, PartGui::Ui_SectionCut::CutTransparency, PartGui::Ui_SectionCut::cutX, PartGui::Ui_SectionCut::cutXHS, PartGui::Ui_SectionCut::cutY, PartGui::Ui_SectionCut::cutYHS, PartGui::Ui_SectionCut::cutZ, PartGui::Ui_SectionCut::cutZHS, Base::ConsoleSingleton::Error(), PartGui::Ui_SectionCut::flipX, PartGui::Ui_SectionCut::flipY, PartGui::Ui_SectionCut::flipZ, Part::PropertyPartShape::getBoundingBox(), App::Document::getObject(), App::Document::getObjects(), Base::Placement::getPosition(), App::PropertyPlacement::getValue(), App::PropertyQuantity::getValue(), Gui::Application::getViewProvider(), PartGui::Ui_SectionCut::groupBoxX, PartGui::Ui_SectionCut::groupBoxY, PartGui::Ui_SectionCut::groupBoxZ, Part::Box::Height, Gui::Application::Instance, Part::Box::Length, Base::BoundBox3< _Precision >::MinX, Base::BoundBox3< _Precision >::MinY, Base::BoundBox3< _Precision >::MinZ, onCutColorclicked(), onCutXHSChanged(), onCutXHSsliderMoved(), onCutXvalueChanged(), onCutYHSChanged(), onCutYHSsliderMoved(), onCutYvalueChanged(), onCutZHSChanged(), onCutZHSsliderMoved(), onCutZvalueChanged(), onFlipXclicked(), onFlipYclicked(), onFlipZclicked(), onGroupBoxXtoggled(), onGroupBoxYtoggled(), onGroupBoxZtoggled(), onRefreshCutPBclicked(), onTransparencyChanged(), onTransparencySliderMoved(), App::GeoFeature::Placement, PartGui::Ui_SectionCut::RefreshCutPB, Gui::ColorButton::setColor(), PartGui::Ui_SectionCut::setupUi(), App::PropertyBool::setValue(), Part::Feature::Shape, App::DocumentObject::Visibility, Part::Box::Width, Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
Referenced by makeDockWidget().
◆ ~SectionCut()
SectionCut::~SectionCut |
( |
| ) |
|
◆ makeDockWidget()
◆ onCutColorclicked
void SectionCut::onCutColorclicked |
( |
| ) |
|
|
protectedslot |
◆ onCutXHSChanged
void SectionCut::onCutXHSChanged |
( |
int |
val | ) |
|
|
protectedslot |
◆ onCutXHSsliderMoved
void SectionCut::onCutXHSsliderMoved |
( |
int |
val | ) |
|
|
protectedslot |
◆ onCutXvalueChanged
void SectionCut::onCutXvalueChanged |
( |
double |
val | ) |
|
|
protectedslot |
References Base::Console(), PartGui::Ui_SectionCut::cutX, PartGui::Ui_SectionCut::cutXHS, PartGui::Ui_SectionCut::cutY, PartGui::Ui_SectionCut::cutZ, Base::ConsoleSingleton::Error(), PartGui::Ui_SectionCut::flipX, App::Document::getObject(), Base::Placement::getPosition(), App::PropertyPlacement::getValue(), App::PropertyQuantity::getValue(), Part::Box::Length, App::GeoFeature::Placement, App::DocumentObject::recomputeFeature(), Base::Placement::setPosition(), App::PropertyPlacement::setValue(), Base::ConsoleSingleton::Warning(), and Base::Vector3< _Precision >::x.
Referenced by SectionCut().
◆ onCutYHSChanged
void SectionCut::onCutYHSChanged |
( |
int |
val | ) |
|
|
protectedslot |
◆ onCutYHSsliderMoved
void SectionCut::onCutYHSsliderMoved |
( |
int |
val | ) |
|
|
protectedslot |
◆ onCutYvalueChanged
void SectionCut::onCutYvalueChanged |
( |
double |
val | ) |
|
|
protectedslot |
References Base::Console(), PartGui::Ui_SectionCut::cutX, PartGui::Ui_SectionCut::cutY, PartGui::Ui_SectionCut::cutYHS, PartGui::Ui_SectionCut::cutZ, Base::ConsoleSingleton::Error(), PartGui::Ui_SectionCut::flipX, PartGui::Ui_SectionCut::flipY, App::Document::getObject(), Base::Placement::getPosition(), App::PropertyPlacement::getValue(), App::PropertyQuantity::getValue(), App::GeoFeature::Placement, App::DocumentObject::recomputeFeature(), Base::Placement::setPosition(), App::PropertyPlacement::setValue(), Base::ConsoleSingleton::Warning(), Part::Box::Width, and Base::Vector3< _Precision >::y.
Referenced by SectionCut().
◆ onCutZHSChanged
void SectionCut::onCutZHSChanged |
( |
int |
val | ) |
|
|
protectedslot |
◆ onCutZHSsliderMoved
void SectionCut::onCutZHSsliderMoved |
( |
int |
val | ) |
|
|
protectedslot |
◆ onCutZvalueChanged
void SectionCut::onCutZvalueChanged |
( |
double |
val | ) |
|
|
protectedslot |
References Base::Console(), PartGui::Ui_SectionCut::cutX, PartGui::Ui_SectionCut::cutY, PartGui::Ui_SectionCut::cutZ, PartGui::Ui_SectionCut::cutZHS, Base::ConsoleSingleton::Error(), PartGui::Ui_SectionCut::flipX, PartGui::Ui_SectionCut::flipY, PartGui::Ui_SectionCut::flipZ, App::Document::getObject(), Base::Placement::getPosition(), App::PropertyPlacement::getValue(), App::PropertyQuantity::getValue(), Part::Box::Height, App::GeoFeature::Placement, App::DocumentObject::recomputeFeature(), Base::Placement::setPosition(), App::PropertyPlacement::setValue(), Base::ConsoleSingleton::Warning(), and Base::Vector3< _Precision >::z.
Referenced by SectionCut().
◆ onFlipXclicked
void SectionCut::onFlipXclicked |
( |
| ) |
|
|
protectedslot |
◆ onFlipYclicked
void SectionCut::onFlipYclicked |
( |
| ) |
|
|
protectedslot |
◆ onFlipZclicked
void SectionCut::onFlipZclicked |
( |
| ) |
|
|
protectedslot |
◆ onGroupBoxXtoggled
void SectionCut::onGroupBoxXtoggled |
( |
| ) |
|
|
protectedslot |
◆ onGroupBoxYtoggled
void SectionCut::onGroupBoxYtoggled |
( |
| ) |
|
|
protectedslot |
◆ onGroupBoxZtoggled
void SectionCut::onGroupBoxZtoggled |
( |
| ) |
|
|
protectedslot |
◆ onRefreshCutPBclicked
void SectionCut::onRefreshCutPBclicked |
( |
| ) |
|
|
protectedslot |
◆ onTransparencyChanged
void SectionCut::onTransparencyChanged |
( |
int |
val | ) |
|
|
protectedslot |
◆ onTransparencySliderMoved
void SectionCut::onTransparencySliderMoved |
( |
int |
val | ) |
|
|
protectedslot |
◆ reject()
void SectionCut::reject |
( |
void |
| ) |
|
The documentation for this class was generated from the following files:
- FreeCAD/src/Mod/Part/Gui/SectionCutting.h
- FreeCAD/src/Mod/Part/Gui/SectionCutting.cpp