Version: 8.3.0
SMESH::OrientedPlane Class Reference

#include <SMESHGUI_ClippingDlg.h>

Inheritance diagram for SMESH::OrientedPlane:

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...
 
OrientedPlaneInvertPlane ()
 Invert current clipping plane in contrary direction. More...
 

Static Public Member Functions

static OrientedPlaneNew ()
 Create new object of class OrientedPlane. More...
 
static OrientedPlaneNew (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_ActormyActor
 

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

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

Constructor of class OrientedPlane.

References Init(), myActor, and myViewWindow.

SMESH::OrientedPlane::OrientedPlane ( )
protected

Constructor of class OrientedPlane.

References Init().

Referenced by New().

SMESH::OrientedPlane::~OrientedPlane ( )
protected

Destructor of class OrientedPlane.

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

Member Function Documentation

float SMESH::OrientedPlane::GetDistance ( )
SMESH::Orientation SMESH::OrientedPlane::GetOrientation ( )
void SMESH::OrientedPlane::Init ( )
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().

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

Create new object of class OrientedPlane.

void SMESH::OrientedPlane::operator= ( const OrientedPlane )
private
void SMESH::OrientedPlane::SetDistance ( float  theDistance)
void SMESH::OrientedPlane::SetOrientation ( SMESH::Orientation  theOrientation)
void SMESH::OrientedPlane::ShallowCopy ( SMESH::OrientedPlane theOrientedPlane)
SMESH::OrientedPlane::vtkTypeMacro ( OrientedPlane  ,
vtkPlane   
)

Field Documentation

float SMESH::OrientedPlane::myDistance
vtkDataSetMapper* SMESH::OrientedPlane::myMapper
private
vtkPlaneSource* SMESH::OrientedPlane::myPlaneSource
QPointer<SVTK_ViewWindow> SMESH::OrientedPlane::myViewWindow