PartGui::SectionCut Class Reference

#include <SectionCutting.h>

Public Member Functions

void reject ()
 
 SectionCut (QWidget *parent=nullptr)
 
 ~SectionCut ()
 Destroys the object and frees any allocated resources. More...
 

Static Public Member Functions

static SectionCutmakeDockWidget (QWidget *parent=nullptr)
 

Protected Slots

void onCutColorclicked ()
 
void onCutXHSChanged (int)
 
void onCutXHSsliderMoved (int)
 
void onCutXvalueChanged (double)
 
void onCutYHSChanged (int)
 
void onCutYHSsliderMoved (int)
 
void onCutYvalueChanged (double)
 
void onCutZHSChanged (int)
 
void onCutZHSsliderMoved (int)
 
void onCutZvalueChanged (double)
 
void onFlipXclicked ()
 
void onFlipYclicked ()
 
void onFlipZclicked ()
 
void onGroupBoxXtoggled ()
 
void onGroupBoxYtoggled ()
 
void onGroupBoxZtoggled ()
 
void onRefreshCutPBclicked ()
 
void onTransparencyChanged (int)
 
void onTransparencySliderMoved (int)
 

Constructor & Destructor Documentation

◆ 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 ( )

Destroys the object and frees any allocated resources.

References Gui::Application::Instance, and PartGui::Ui_SectionCut::keepOnlyCutCB.

Member Function Documentation

◆ makeDockWidget()

SectionCut * SectionCut::makeDockWidget ( QWidget parent = nullptr)
static

◆ onCutColorclicked

void SectionCut::onCutColorclicked ( )
protectedslot

◆ onCutXHSChanged

void SectionCut::onCutXHSChanged ( int  val)
protectedslot

References onCutXHSsliderMoved().

Referenced by SectionCut().

◆ onCutXHSsliderMoved

void SectionCut::onCutXHSsliderMoved ( int  val)
protectedslot

◆ onCutXvalueChanged

◆ onCutYHSChanged

void SectionCut::onCutYHSChanged ( int  val)
protectedslot

References onCutYHSsliderMoved().

Referenced by SectionCut().

◆ onCutYHSsliderMoved

void SectionCut::onCutYHSsliderMoved ( int  val)
protectedslot

◆ onCutYvalueChanged

◆ onCutZHSChanged

void SectionCut::onCutZHSChanged ( int  val)
protectedslot

References onCutZHSsliderMoved().

Referenced by SectionCut().

◆ onCutZHSsliderMoved

void SectionCut::onCutZHSsliderMoved ( int  val)
protectedslot

◆ onCutZvalueChanged

◆ onFlipXclicked

◆ onFlipYclicked

◆ onFlipZclicked

◆ onGroupBoxXtoggled

void SectionCut::onGroupBoxXtoggled ( )
protectedslot

Referenced by SectionCut().

◆ onGroupBoxYtoggled

void SectionCut::onGroupBoxYtoggled ( )
protectedslot

Referenced by SectionCut().

◆ onGroupBoxZtoggled

void SectionCut::onGroupBoxZtoggled ( )
protectedslot

Referenced by SectionCut().

◆ onRefreshCutPBclicked

◆ onTransparencyChanged

void SectionCut::onTransparencyChanged ( int  val)
protectedslot

References onTransparencySliderMoved().

Referenced by SectionCut().

◆ onTransparencySliderMoved

◆ reject()


The documentation for this class was generated from the following files: