Version: 8.3.0
SMESH_Actor Class Referenceabstract

#include <SMESH_Actor.h>

Inheritance diagram for SMESH_Actor:

Public Types

enum  EReperesent { ePoint, eEdge, eSurface }
 
enum  EEntityMode {
  e0DElements = 0x01, eEdges = 0x02, eFaces = 0x04, eVolumes = 0x08,
  eBallElem = 0x10, eAllEntity = 0x1f
}
 
enum  EQuadratic2DRepresentation { eLines = 0x01, eArcs = 0x02 }
 
enum  eControl {
  eNone, eLength, eLength2D, eFreeBorders,
  eFreeEdges, eFreeNodes, eFreeFaces, eMultiConnection,
  eArea, eTaper, eAspectRatio, eMinimumAngle,
  eWarping, eSkew, eAspectRatio3D, eMultiConnection2D,
  eVolume3D, eMaxElementLength2D, eMaxElementLength3D, eBareBorderFace,
  eBareBorderVolume, eOverConstrainedFace, eOverConstrainedVolume, eCoincidentNodes,
  eCoincidentElems1D, eCoincidentElems2D, eCoincidentElems3D, eNodeConnectivityNb
}
 

Public Member Functions

 vtkTypeMacro (SMESH_Actor, SALOME_Actor)
 
virtual void SetSufaceColor (double r, double g, double b, int delta)=0
 
virtual void GetSufaceColor (double &r, double &g, double &b, int &delta)=0
 
virtual void SetVolumeColor (double r, double g, double b, int delta)=0
 
virtual void GetVolumeColor (double &r, double &g, double &b, int &delta)=0
 
virtual void SetEdgeColor (double r, double g, double b)=0
 
virtual void GetEdgeColor (double &r, double &g, double &b)=0
 
virtual void SetNodeColor (double r, double g, double b)=0
 
virtual void GetNodeColor (double &r, double &g, double &b)=0
 
virtual void SetOutlineColor (double r, double g, double b)=0
 
virtual void GetOutlineColor (double &r, double &g, double &b)=0
 
virtual void Set0DColor (double r, double g, double b)=0
 
virtual void Get0DColor (double &r, double &g, double &b)=0
 
virtual void SetBallColor (double r, double g, double b)=0
 
virtual void GetBallColor (double &r, double &g, double &b)=0
 
virtual void SetHighlightColor (double r, double g, double b)=0
 
virtual void GetHighlightColor (double &r, double &g, double &b)=0
 
virtual void SetPreHighlightColor (double r, double g, double b)=0
 
virtual void GetPreHighlightColor (double &r, double &g, double &b)=0
 
virtual double GetLineWidth ()=0
 
virtual void SetLineWidth (double theVal)=0
 
virtual double GetOutlineWidth ()=0
 
virtual void SetOutlineWidth (double theVal)=0
 
virtual void Set0DSize (double size)=0
 
virtual double Get0DSize ()=0
 
virtual void SetBallSize (double size)=0
 
virtual double GetBallSize ()=0
 
virtual void SetBallScale (double size)=0
 
virtual double GetBallScale ()=0
 
virtual void SetEntityMode (unsigned int theMode)=0
 
virtual unsigned int GetEntityMode () const =0
 
virtual void SetQuadratic2DRepresentation (EQuadratic2DRepresentation)=0
 
virtual EQuadratic2DRepresentation GetQuadratic2DRepresentation ()=0
 
virtual void SetPointRepresentation (bool theIsPointsVisible)=0
 
virtual bool GetPointRepresentation ()=0
 
virtual vtkUnstructuredGridGetUnstructuredGrid ()=0
 
virtual void SetShrinkFactor (double theValue)=0
 
virtual void SetPointsLabeled (bool theIsPointsLabeled)=0
 
virtual bool GetPointsLabeled ()=0
 
virtual void SetCellsLabeled (bool theIsCellsLabeled)=0
 
virtual bool GetCellsLabeled ()=0
 
virtual void SetFacesOriented (bool theIsFacesOriented)=0
 
virtual bool GetFacesOriented ()=0
 
virtual void SetFacesOrientationColor (double r, double g, double b)=0
 
virtual void GetFacesOrientationColor (double &r, double &g, double &b)=0
 
virtual void SetFacesOrientationScale (double theScale)=0
 
virtual double GetFacesOrientationScale ()=0
 
virtual void SetFacesOrientation3DVectors (bool theState)=0
 
virtual bool GetFacesOrientation3DVectors ()=0
 
virtual void SetControlMode (eControl theMode)=0
 
virtual eControl GetControlMode ()=0
 
virtual SMESH::Controls::FunctorPtr GetFunctor ()=0
 
virtual int GetNumberControlEntities ()=0
 
virtual SMESH_ScalarBarActorGetScalarBarActor ()=0
 
virtual void RemoveAllClippingPlanes ()=0
 
virtual vtkIdType GetNumberOfClippingPlanes ()=0
 
virtual vtkPlaneGetClippingPlane (vtkIdType theID)=0
 
virtual vtkIdType AddClippingPlane (vtkPlane *thePlane)=0
 
virtual void AddOpenGLClippingPlane (vtkPlane *thePlane)=0
 
virtual void SetOpenGLClippingPlane ()=0
 
virtual TVisualObjPtr GetObject ()=0
 
virtual void SetControlsPrecision (const long)=0
 
virtual long GetControlsPrecision () const =0
 
virtual void UpdateScalarBar ()=0
 
virtual void UpdateDistribution ()=0
 
virtual void SetPointsFontProperties (SMESH::LabelFont family, int size, bool bold, bool italic, bool shadow, double r, double g, double b)=0
 
virtual void SetCellsFontProperties (SMESH::LabelFont family, int size, bool bold, bool italic, bool shadow, double r, double g, double b)=0
 
virtual SPlot2d_Histogram * GetPlot2Histogram ()=0
 
virtual SPlot2d_Histogram * UpdatePlot2Histogram ()=0
 

Static Public Member Functions

static SMESH_ActorNew (TVisualObjPtr theVisualObj, const char *theEntry, const char *theName, int theIsClear)
 

Static Private Member Functions

static SMESH_ActorNew ()
 

Member Enumeration Documentation

Enumerator
eNone 
eLength 
eLength2D 
eFreeBorders 
eFreeEdges 
eFreeNodes 
eFreeFaces 
eMultiConnection 
eArea 
eTaper 
eAspectRatio 
eMinimumAngle 
eWarping 
eSkew 
eAspectRatio3D 
eMultiConnection2D 
eVolume3D 
eMaxElementLength2D 
eMaxElementLength3D 
eBareBorderFace 
eBareBorderVolume 
eOverConstrainedFace 
eOverConstrainedVolume 
eCoincidentNodes 
eCoincidentElems1D 
eCoincidentElems2D 
eCoincidentElems3D 
eNodeConnectivityNb 
Enumerator
e0DElements 
eEdges 
eFaces 
eVolumes 
eBallElem 
eAllEntity 
Enumerator
eLines 
eArcs 
Enumerator
ePoint 
eEdge 
eSurface 

Member Function Documentation

virtual vtkIdType SMESH_Actor::AddClippingPlane ( vtkPlane thePlane)
pure virtual

Implemented in SMESH_ActorDef.

virtual void SMESH_Actor::AddOpenGLClippingPlane ( vtkPlane thePlane)
pure virtual

Implemented in SMESH_ActorDef.

virtual void SMESH_Actor::Get0DColor ( double &  r,
double &  g,
double &  b 
)
pure virtual

Implemented in SMESH_ActorDef.

Referenced by SMESHGUI::storeVisualParameters().

virtual double SMESH_Actor::Get0DSize ( )
pure virtual

Implemented in SMESH_ActorDef.

Referenced by SMESHGUI::storeVisualParameters().

virtual void SMESH_Actor::GetBallColor ( double &  r,
double &  g,
double &  b 
)
pure virtual

Implemented in SMESH_ActorDef.

Referenced by SMESHGUI::storeVisualParameters().

virtual double SMESH_Actor::GetBallScale ( )
pure virtual
virtual double SMESH_Actor::GetBallSize ( )
pure virtual

Implemented in SMESH_ActorDef.

Referenced by SMESHGUI::storeVisualParameters().

virtual bool SMESH_Actor::GetCellsLabeled ( )
pure virtual
virtual vtkPlane* SMESH_Actor::GetClippingPlane ( vtkIdType  theID)
pure virtual

Implemented in SMESH_ActorDef.

virtual eControl SMESH_Actor::GetControlMode ( )
pure virtual
virtual long SMESH_Actor::GetControlsPrecision ( ) const
pure virtual

Implemented in SMESH_ActorDef.

virtual void SMESH_Actor::GetEdgeColor ( double &  r,
double &  g,
double &  b 
)
pure virtual
virtual bool SMESH_Actor::GetFacesOrientation3DVectors ( )
pure virtual

Implemented in SMESH_ActorDef.

Referenced by SMESHGUI::storeVisualParameters().

virtual void SMESH_Actor::GetFacesOrientationColor ( double &  r,
double &  g,
double &  b 
)
pure virtual

Implemented in SMESH_ActorDef.

Referenced by SMESHGUI::storeVisualParameters().

virtual double SMESH_Actor::GetFacesOrientationScale ( )
pure virtual

Implemented in SMESH_ActorDef.

Referenced by SMESHGUI::storeVisualParameters().

virtual bool SMESH_Actor::GetFacesOriented ( )
pure virtual
virtual SMESH::Controls::FunctorPtr SMESH_Actor::GetFunctor ( )
pure virtual

Implemented in SMESH_ActorDef.

virtual void SMESH_Actor::GetHighlightColor ( double &  r,
double &  g,
double &  b 
)
pure virtual

Implemented in SMESH_ActorDef.

virtual double SMESH_Actor::GetLineWidth ( )
pure virtual
virtual void SMESH_Actor::GetNodeColor ( double &  r,
double &  g,
double &  b 
)
pure virtual
virtual int SMESH_Actor::GetNumberControlEntities ( )
pure virtual

Implemented in SMESH_ActorDef.

virtual vtkIdType SMESH_Actor::GetNumberOfClippingPlanes ( )
pure virtual

Implemented in SMESH_ActorDef.

virtual TVisualObjPtr SMESH_Actor::GetObject ( )
pure virtual

Implemented in SMESH_ActorDef.

Referenced by SMESHGUI_CreatePolyhedralVolumeDlg::checkEditLine(), SMESHGUI_CuttingOfQuadsDlg::displayPreview(), SMESHGUI_AddMeshElementDlg::displaySimulation(), SMESHGUI_AddQuadraticElementDlg::displaySimulation(), SMESHGUI_CreatePolyhedralVolumeDlg::displaySimulation(), SMESHGUI_Selection::elemTypes(), SMESHGUI_MergeDlg::FindGravityCenter(), SMESH::GetEdgeNodes(), SMESHGUI_MeshInfoDlg::idChanged(), SMESHGUI_SimpleElemInfo::information(), SMESHGUI_TreeElemInfo::information(), SMESHGUI_PredicateFilter::IsObjValid(), SMESHGUI_QuadrangleFilter::IsObjValid(), SMESHGUI_TriangleFilter::IsObjValid(), SMESHGUI_FacesFilter::IsObjValid(), SMESHGUI_VolumesFilter::IsObjValid(), SMESHGUI_VolumeShapeFilter::IsObjValid(), SMESHGUI_ReorientFacesOp::isValid(), SMESHGUI_MakeNodeAtPointOp::isValid(), SMESHGUI_AddQuadraticElementDlg::IsValid(), SMESHGUI_PredicateFilter::IsValid(), SMESHGUI_QuadrangleFilter::IsValid(), SMESHGUI_TriangleFilter::IsValid(), SMESHGUI_FacesFilter::IsValid(), SMESHGUI_VolumesFilter::IsValid(), SMESHGUI_VolumeShapeFilter::IsValid(), SMESHGUI_ShapeByMeshOp::onElemIdChanged(), SMESHGUI_MultiEditDlg::onListSelectionChanged(), SMESHGUI_MergeDlg::onSelectElementFromGroup(), SMESHGUI_MergeDlg::onSelectGroup(), SMESHGUI_SingleEditDlg::onSelectionDone(), SMESHGUI_MakeNodeAtPointOp::onSelectionDone(), SMESHGUI_SingleEditDlg::onTextChange(), SMESHGUI_MakeNodeAtPointOp::onTextChange(), SMESHGUI_3TypesSelector::onTextChange(), SMESHGUI_RemoveElementsDlg::onTextChange(), SMESHGUI_RemoveNodesDlg::onTextChange(), SMESHGUI_CopyMeshDlg::onTextChange(), SMESHGUI_AddMeshElementDlg::onTextChange(), SMESHGUI_AddQuadraticElementDlg::onTextChange(), SMESHGUI_SmoothingDlg::onTextChange(), SMESHGUI_CreatePolyhedralVolumeDlg::onTextChange(), SMESHGUI_ExtrusionAlongPathDlg::onTextChange(), SMESHGUI_ScaleDlg::onTextChange(), SMESHGUI_TranslationDlg::onTextChange(), SMESHGUI_RotationDlg::onTextChange(), SMESHGUI_SymmetryDlg::onTextChange(), SMESHGUI_SewingDlg::onTextChange(), SMESHGUI_MeshPatternDlg::onTextChanged(), SMESHGUI_SelectionOp::onTextChanged(), SMESHGUI_ExtrusionAlongPathDlg::SelectionIntoArgument(), SMESHGUI_ScaleDlg::SelectionIntoArgument(), SMESHGUI_TranslationDlg::SelectionIntoArgument(), SMESHGUI_RotationDlg::SelectionIntoArgument(), SMESHGUI_RevolutionDlg::SelectionIntoArgument(), SMESHGUI_SymmetryDlg::SelectionIntoArgument(), SMESHGUI_ExtrusionDlg::SelectionIntoArgument(), SMESHGUI_SplitVolumesDlg::showFacetByElement(), SMESHGUI_MeshInfoDlg::showItemInfo(), and SMESHGUI_DisplayEntitiesDlg::SMESHGUI_DisplayEntitiesDlg().

virtual void SMESH_Actor::GetOutlineColor ( double &  r,
double &  g,
double &  b 
)
pure virtual

Implemented in SMESH_ActorDef.

Referenced by SMESHGUI::storeVisualParameters().

virtual double SMESH_Actor::GetOutlineWidth ( )
pure virtual

Implemented in SMESH_ActorDef.

Referenced by SMESHGUI::storeVisualParameters().

virtual SPlot2d_Histogram* SMESH_Actor::GetPlot2Histogram ( )
pure virtual
virtual bool SMESH_Actor::GetPointRepresentation ( )
pure virtual

Implemented in SMESH_ActorDef.

virtual bool SMESH_Actor::GetPointsLabeled ( )
pure virtual
virtual void SMESH_Actor::GetPreHighlightColor ( double &  r,
double &  g,
double &  b 
)
pure virtual

Implemented in SMESH_ActorDef.

virtual EQuadratic2DRepresentation SMESH_Actor::GetQuadratic2DRepresentation ( )
pure virtual

Implemented in SMESH_ActorDef.

Referenced by SMESHGUI_Selection::quadratic2DMode().

virtual void SMESH_Actor::GetSufaceColor ( double &  r,
double &  g,
double &  b,
int delta 
)
pure virtual
virtual void SMESH_Actor::GetVolumeColor ( double &  r,
double &  g,
double &  b,
int delta 
)
pure virtual
static SMESH_Actor* SMESH_Actor::New ( )
staticprivate
SMESH_Actor * SMESH_Actor::New ( TVisualObjPtr  theVisualObj,
const char *  theEntry,
const char *  theName,
int  theIsClear 
)
static
virtual void SMESH_Actor::RemoveAllClippingPlanes ( )
pure virtual

Implemented in SMESH_ActorDef.

Referenced by SMESHGUI::restoreVisualParameters().

virtual void SMESH_Actor::Set0DColor ( double  r,
double  g,
double  b 
)
pure virtual
virtual void SMESH_Actor::Set0DSize ( double  size)
pure virtual

Implemented in SMESH_ActorDef.

Referenced by SMESHGUI::restoreVisualParameters().

virtual void SMESH_Actor::SetBallColor ( double  r,
double  g,
double  b 
)
pure virtual
virtual void SMESH_Actor::SetBallScale ( double  size)
pure virtual

Implemented in SMESH_ActorDef.

Referenced by SMESHGUI::restoreVisualParameters().

virtual void SMESH_Actor::SetBallSize ( double  size)
pure virtual

Implemented in SMESH_ActorDef.

Referenced by SMESHGUI::restoreVisualParameters().

virtual void SMESH_Actor::SetCellsFontProperties ( SMESH::LabelFont  family,
int  size,
bool  bold,
bool  italic,
bool  shadow,
double  r,
double  g,
double  b 
)
pure virtual

Implemented in SMESH_ActorDef.

virtual void SMESH_Actor::SetCellsLabeled ( bool  theIsCellsLabeled)
pure virtual
virtual void SMESH_Actor::SetControlMode ( eControl  theMode)
pure virtual

Implemented in SMESH_ActorDef.

virtual void SMESH_Actor::SetControlsPrecision ( const long  )
pure virtual

Implemented in SMESH_ActorDef.

virtual void SMESH_Actor::SetEdgeColor ( double  r,
double  g,
double  b 
)
pure virtual
virtual void SMESH_Actor::SetFacesOrientation3DVectors ( bool  theState)
pure virtual

Implemented in SMESH_ActorDef.

Referenced by SMESHGUI::restoreVisualParameters().

virtual void SMESH_Actor::SetFacesOrientationColor ( double  r,
double  g,
double  b 
)
pure virtual

Implemented in SMESH_ActorDef.

Referenced by SMESHGUI::restoreVisualParameters().

virtual void SMESH_Actor::SetFacesOrientationScale ( double  theScale)
pure virtual

Implemented in SMESH_ActorDef.

Referenced by SMESHGUI::restoreVisualParameters().

virtual void SMESH_Actor::SetFacesOriented ( bool  theIsFacesOriented)
pure virtual

Implemented in SMESH_ActorDef.

virtual void SMESH_Actor::SetHighlightColor ( double  r,
double  g,
double  b 
)
pure virtual

Implemented in SMESH_ActorDef.

virtual void SMESH_Actor::SetLineWidth ( double  theVal)
pure virtual

Implemented in SMESH_ActorDef.

Referenced by SMESHGUI::restoreVisualParameters().

virtual void SMESH_Actor::SetNodeColor ( double  r,
double  g,
double  b 
)
pure virtual
virtual void SMESH_Actor::SetOpenGLClippingPlane ( )
pure virtual

Implemented in SMESH_ActorDef.

virtual void SMESH_Actor::SetOutlineColor ( double  r,
double  g,
double  b 
)
pure virtual

Implemented in SMESH_ActorDef.

Referenced by SMESHGUI::restoreVisualParameters().

virtual void SMESH_Actor::SetOutlineWidth ( double  theVal)
pure virtual

Implemented in SMESH_ActorDef.

Referenced by SMESHGUI::restoreVisualParameters().

virtual void SMESH_Actor::SetPointsFontProperties ( SMESH::LabelFont  family,
int  size,
bool  bold,
bool  italic,
bool  shadow,
double  r,
double  g,
double  b 
)
pure virtual

Implemented in SMESH_ActorDef.

virtual void SMESH_Actor::SetPointsLabeled ( bool  theIsPointsLabeled)
pure virtual
virtual void SMESH_Actor::SetPreHighlightColor ( double  r,
double  g,
double  b 
)
pure virtual

Implemented in SMESH_ActorDef.

virtual void SMESH_Actor::SetQuadratic2DRepresentation ( EQuadratic2DRepresentation  )
pure virtual

Implemented in SMESH_ActorDef.

virtual void SMESH_Actor::SetShrinkFactor ( double  theValue)
pure virtual

Implemented in SMESH_ActorDef.

Referenced by SMESHGUI::restoreVisualParameters().

virtual void SMESH_Actor::SetSufaceColor ( double  r,
double  g,
double  b,
int  delta 
)
pure virtual
virtual void SMESH_Actor::SetVolumeColor ( double  r,
double  g,
double  b,
int  delta 
)
pure virtual
virtual void SMESH_Actor::UpdateDistribution ( )
pure virtual
virtual SPlot2d_Histogram* SMESH_Actor::UpdatePlot2Histogram ( )
pure virtual

Implemented in SMESH_ActorDef.

Referenced by SMESH::ProcessIn2DViewers().

virtual void SMESH_Actor::UpdateScalarBar ( )
pure virtual

Implemented in SMESH_ActorDef.

SMESH_Actor::vtkTypeMacro ( SMESH_Actor  ,
SALOME_Actor   
)