Version: 9.16.0
SMESH::OrientedPlane Class Reference

#include <SMESHGUI_ClippingDlg.h>

Inheritance diagram for SMESH::OrientedPlane:

Public Member Functions

 vtkTypeMacro (OrientedPlane, vtkPlane) QPointer< SVTK_ViewWindow > myViewWindow
 
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

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
 

Constructor & Destructor Documentation

◆ OrientedPlane() [1/3]

SMESH::OrientedPlane::OrientedPlane ( SVTK_ViewWindow *  theViewWindow)
protected

Constructor of class OrientedPlane.

References Init(), and myActor.

◆ OrientedPlane() [2/3]

SMESH::OrientedPlane::OrientedPlane ( )
protected

Constructor of class OrientedPlane.

References Init().

Referenced by New().

◆ ~OrientedPlane()

SMESH::OrientedPlane::~OrientedPlane ( )
protected

Destructor of class OrientedPlane.

◆ OrientedPlane() [3/3]

SMESH::OrientedPlane::OrientedPlane ( const OrientedPlane &  )
private

Member Function Documentation

◆ GetDistance()

float SMESH::OrientedPlane::GetDistance ( )

◆ GetOrientation()

SMESH::Orientation SMESH::OrientedPlane::GetOrientation ( )

◆ Init()

void SMESH::OrientedPlane::Init ( )
protected

Initialize parameters of class OrientedPlane.

References SMESH::Absolute, SMESH::GetColor(), and SMESH::XY.

Referenced by OrientedPlane().

◆ InvertPlane()

SMESH::OrientedPlane * SMESH::OrientedPlane::InvertPlane ( )

Invert current clipping plane in contrary direction.

References ShallowCopy().

Referenced by SMESHGUI_ClippingDlg::AddPlane(), and SMESHGUI_ClippingDlg::ClickOnApply().

◆ New() [1/2]

◆ New() [2/2]

SMESH::OrientedPlane * SMESH::OrientedPlane::New ( SVTK_ViewWindow *  theViewWindow)
static

Create new object of class OrientedPlane.

◆ operator=()

void SMESH::OrientedPlane::operator= ( const OrientedPlane &  )
private

◆ SetDistance()

void SMESH::OrientedPlane::SetDistance ( float  theDistance)

◆ SetOrientation()

void SMESH::OrientedPlane::SetOrientation ( SMESH::Orientation  theOrientation)

◆ ShallowCopy()

void SMESH::OrientedPlane::ShallowCopy ( SMESH::OrientedPlane *  theOrientedPlane)

◆ vtkTypeMacro()

SMESH::OrientedPlane::vtkTypeMacro ( OrientedPlane  ,
vtkPlane   
)

Field Documentation

◆ Dx

◆ Dy

◆ Dz

◆ IsInvert

◆ IsOpenGLClipping

◆ myAbsoluteOrientation

◆ myActor

◆ myAngle

◆ myDistance

float SMESH::OrientedPlane::myDistance

◆ myMapper

vtkDataSetMapper* SMESH::OrientedPlane::myMapper
private

◆ myPlaneSource

vtkPlaneSource* SMESH::OrientedPlane::myPlaneSource

◆ myRelativeOrientation

◆ PlaneMode

◆ X

◆ Y

◆ Z