#include <SMESHGUI_ClippingDlg.h>
Public Member Functions | |
vtkTypeMacro (OrientedPlane, vtkPlane) | |
void | SetOrientation (SMESH::Orientation theOrientation) |
SMESH::Orientation | GetOrientation () |
void | SetDistance (float theDistance) |
float | GetDistance () |
void | ShallowCopy (OrientedPlane *theOrientedPlane) |
Copy the object of class OrientedPlane. More... | |
OrientedPlane * | InvertPlane () |
Invert current clipping plane in contrary direction. More... | |
Static Public Member Functions | |
static OrientedPlane * | New () |
Create new object of class OrientedPlane. More... | |
static OrientedPlane * | New (SVTK_ViewWindow *theViewWindow) |
Create new object of class OrientedPlane. More... | |
Data Fields | |
QPointer< SVTK_ViewWindow > | myViewWindow |
SMESH::Orientation | myRelativeOrientation |
float | myDistance |
double | myAngle [2] |
double | X |
double | Y |
double | Z |
double | Dx |
double | Dy |
double | Dz |
int | myAbsoluteOrientation |
bool | IsInvert |
bool | IsOpenGLClipping |
Mode | PlaneMode |
vtkPlaneSource * | myPlaneSource |
SALOME_Actor * | myActor |
Protected Member Functions | |
OrientedPlane (SVTK_ViewWindow *theViewWindow) | |
Constructor of class OrientedPlane. More... | |
OrientedPlane () | |
Constructor of class OrientedPlane. More... | |
void | Init () |
Initialize parameters of class OrientedPlane. More... | |
~OrientedPlane () | |
Destructor of class OrientedPlane. More... | |
Private Member Functions | |
OrientedPlane (const OrientedPlane &) | |
void | operator= (const OrientedPlane &) |
Private Attributes | |
vtkDataSetMapper * | myMapper |
|
protected |
Constructor of class OrientedPlane.
References Init(), myActor, and myViewWindow.
|
protected |
|
protected |
Destructor of class OrientedPlane.
|
private |
float SMESH::OrientedPlane::GetDistance | ( | ) |
References myDistance.
Referenced by SMESHGUI_ClippingDlg::onSelectPlane(), ShallowCopy(), and SMESHGUI::storeVisualParameters().
SMESH::Orientation SMESH::OrientedPlane::GetOrientation | ( | ) |
References myRelativeOrientation.
Referenced by SMESHGUI_ClippingDlg::onSelectPlane(), and ShallowCopy().
|
protected |
Initialize parameters of class OrientedPlane.
References SMESH::Absolute, SMESH::GetColor(), and SMESH::XY.
Referenced by OrientedPlane().
SMESH::OrientedPlane * SMESH::OrientedPlane::InvertPlane | ( | ) |
Invert current clipping plane in contrary direction.
References ShallowCopy().
Referenced by SMESHGUI_ClippingDlg::ClickOnApply().
|
static |
Create new object of class OrientedPlane.
References OrientedPlane().
Referenced by SMESHGUI_ClippingDlg::ClickOnApply(), SMESHGUI_ClippingDlg::ClickOnNew(), SMESHGUI_ClippingDlg::initializePlaneData(), and SMESHGUI::restoreVisualParameters().
|
static |
Create new object of class OrientedPlane.
|
private |
void SMESH::OrientedPlane::SetDistance | ( | float | theDistance | ) |
References myDistance.
Referenced by SMESHGUI_ClippingDlg::SetCurrentPlaneParam().
void SMESH::OrientedPlane::SetOrientation | ( | SMESH::Orientation | theOrientation | ) |
References myRelativeOrientation.
Referenced by SMESHGUI_ClippingDlg::SetCurrentPlaneParam().
void SMESH::OrientedPlane::ShallowCopy | ( | SMESH::OrientedPlane * | theOrientedPlane | ) |
Copy the object of class OrientedPlane.
References Dx, Dy, Dz, GetDistance(), GetOrientation(), IsOpenGLClipping, myAbsoluteOrientation, myAngle, myPlaneSource, PlaneMode, X, Y, and Z.
Referenced by SMESHGUI_ClippingDlg::ClickOnApply(), SMESHGUI_ClippingDlg::initializePlaneData(), and InvertPlane().
SMESH::OrientedPlane::vtkTypeMacro | ( | OrientedPlane | , |
vtkPlane | |||
) |
double SMESH::OrientedPlane::Dx |
double SMESH::OrientedPlane::Dy |
double SMESH::OrientedPlane::Dz |
bool SMESH::OrientedPlane::IsInvert |
Referenced by SMESHGUI_ClippingDlg::onInvert(), and SMESHGUI_ClippingDlg::onSelectAbsoluteOrientation().
bool SMESH::OrientedPlane::IsOpenGLClipping |
int SMESH::OrientedPlane::myAbsoluteOrientation |
SALOME_Actor* SMESH::OrientedPlane::myActor |
Referenced by SMESHGUI_ClippingDlg::ClickOnNew(), SMESHGUI_ClippingDlg::OnPreviewToggle(), and OrientedPlane().
double SMESH::OrientedPlane::myAngle[2] |
float SMESH::OrientedPlane::myDistance |
Referenced by GetDistance(), SMESHGUI::restoreVisualParameters(), and SetDistance().
|
private |
vtkPlaneSource* SMESH::OrientedPlane::myPlaneSource |
Referenced by SMESHGUI_ClippingDlg::SetCurrentPlaneParam(), and ShallowCopy().
SMESH::Orientation SMESH::OrientedPlane::myRelativeOrientation |
Referenced by GetOrientation(), SMESHGUI::restoreVisualParameters(), SetOrientation(), and SMESHGUI::storeVisualParameters().
QPointer<SVTK_ViewWindow> SMESH::OrientedPlane::myViewWindow |
Referenced by OrientedPlane(), and SMESHGUI::restoreVisualParameters().
Mode SMESH::OrientedPlane::PlaneMode |
double SMESH::OrientedPlane::X |
double SMESH::OrientedPlane::Y |
double SMESH::OrientedPlane::Z |