#include <SMESH_Actor.h>

Public Types | |
| enum | EReperesent { ePoint, eEdge, eSurface } |
| enum | EEntityMode { e0DElements = 0x01, eEdges = 0x02, eFaces = 0x04, eVolumes = 0x08, eAllEntity = 0x0f } |
| 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 } |
Public Member Functions | |
| vtkTypeMacro (SMESH_Actor, SALOME_Actor) | |
| virtual void | SetSufaceColor (vtkFloatingPointType r, vtkFloatingPointType g, vtkFloatingPointType b)=0 |
| virtual void | GetSufaceColor (vtkFloatingPointType &r, vtkFloatingPointType &g, vtkFloatingPointType &b)=0 |
| virtual void | SetBackSufaceColor (vtkFloatingPointType r, vtkFloatingPointType g, vtkFloatingPointType b)=0 |
| virtual void | GetBackSufaceColor (vtkFloatingPointType &r, vtkFloatingPointType &g, vtkFloatingPointType &b)=0 |
| virtual void | SetEdgeColor (vtkFloatingPointType r, vtkFloatingPointType g, vtkFloatingPointType b)=0 |
| virtual void | GetEdgeColor (vtkFloatingPointType &r, vtkFloatingPointType &g, vtkFloatingPointType &b)=0 |
| virtual void | SetNodeColor (vtkFloatingPointType r, vtkFloatingPointType g, vtkFloatingPointType b)=0 |
| virtual void | GetNodeColor (vtkFloatingPointType &r, vtkFloatingPointType &g, vtkFloatingPointType &b)=0 |
| virtual void | Set0DColor (vtkFloatingPointType r, vtkFloatingPointType g, vtkFloatingPointType b)=0 |
| virtual void | Get0DColor (vtkFloatingPointType &r, vtkFloatingPointType &g, vtkFloatingPointType &b)=0 |
| virtual void | SetHighlightColor (vtkFloatingPointType r, vtkFloatingPointType g, vtkFloatingPointType b)=0 |
| virtual void | GetHighlightColor (vtkFloatingPointType &r, vtkFloatingPointType &g, vtkFloatingPointType &b)=0 |
| virtual void | SetPreHighlightColor (vtkFloatingPointType r, vtkFloatingPointType g, vtkFloatingPointType b)=0 |
| virtual void | GetPreHighlightColor (vtkFloatingPointType &r, vtkFloatingPointType &g, vtkFloatingPointType &b)=0 |
| virtual vtkFloatingPointType | GetLineWidth ()=0 |
| virtual void | SetLineWidth (vtkFloatingPointType theVal)=0 |
| virtual void | Set0DSize (vtkFloatingPointType size)=0 |
| virtual vtkFloatingPointType | Get0DSize ()=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 vtkUnstructuredGrid * | GetUnstructuredGrid ()=0 |
| virtual void | SetShrinkFactor (vtkFloatingPointType 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 (vtkFloatingPointType theColor[3])=0 |
| virtual void | GetFacesOrientationColor (vtkFloatingPointType theColor[3])=0 |
| virtual void | SetFacesOrientationScale (vtkFloatingPointType theScale)=0 |
| virtual vtkFloatingPointType | 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 SMESH_ScalarBarActor * | GetScalarBarActor ()=0 |
| virtual void | RemoveAllClippingPlanes ()=0 |
| virtual vtkIdType | GetNumberOfClippingPlanes ()=0 |
| virtual vtkPlane * | GetClippingPlane (vtkIdType theID)=0 |
| virtual vtkIdType | AddClippingPlane (vtkPlane *thePlane)=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 SPlot2d_Histogram * | GetPlot2Histogram ()=0 |
| virtual SPlot2d_Histogram * | UpdatePlot2Histogram ()=0 |
Static Public Member Functions | |
| static SMESH_Actor * | New (TVisualObjPtr theVisualObj, const char *theEntry, const char *theName, int theIsClear) |
Static Private Member Functions | |
| static SMESH_Actor * | New () |
Definition at line 53 of file SMESH_Actor.h.
Definition at line 128 of file SMESH_Actor.h.
{eNone, eLength, eLength2D, eFreeBorders, eFreeEdges, eFreeNodes,
eFreeFaces, eMultiConnection, eArea, eTaper, eAspectRatio,
eMinimumAngle, eWarping, eSkew, eAspectRatio3D, eMultiConnection2D, eVolume3D,
eMaxElementLength2D, eMaxElementLength3D, eBareBorderFace, eBareBorderVolume,
eOverConstrainedFace, eOverConstrainedVolume};
Definition at line 93 of file SMESH_Actor.h.
{ e0DElements = 0x01, eEdges = 0x02, eFaces = 0x04, eVolumes = 0x08, eAllEntity = 0x0f};
Definition at line 95 of file SMESH_Actor.h.
Definition at line 91 of file SMESH_Actor.h.
| virtual vtkIdType SMESH_Actor.AddClippingPlane | ( | vtkPlane * | thePlane | ) | [pure virtual] |
Implemented in SMESH_ActorDef.
| virtual void SMESH_Actor.Get0DColor | ( | vtkFloatingPointType & | r, |
| vtkFloatingPointType & | g, | ||
| vtkFloatingPointType & | b | ||
| ) | [pure virtual] |
Implemented in SMESH_ActorDef.
| virtual vtkFloatingPointType SMESH_Actor.Get0DSize | ( | ) | [pure virtual] |
Implemented in SMESH_ActorDef.
| virtual void SMESH_Actor.GetBackSufaceColor | ( | vtkFloatingPointType & | r, |
| vtkFloatingPointType & | g, | ||
| vtkFloatingPointType & | b | ||
| ) | [pure virtual] |
Implemented in SMESH_ActorDef.
Referenced by SMESHGUI.storeVisualParameters().
| virtual bool SMESH_Actor.GetCellsLabeled | ( | ) | [pure virtual] |
Implemented in SMESH_ActorDef.
Referenced by SMESHGUI_RenumberingDlg.ClickOnApply(), and SMESHGUI_Selection.labeledTypes().
| 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 | ( | vtkFloatingPointType & | r, |
| vtkFloatingPointType & | g, | ||
| vtkFloatingPointType & | b | ||
| ) | [pure virtual] |
Implemented in SMESH_ActorDef.
Referenced by SMESHGUI.storeVisualParameters().
| virtual unsigned int SMESH_Actor.GetEntityMode | ( | ) | const [pure virtual] |
Implemented in SMESH_ActorDef.
Referenced by SMESHGUI_CreatePolyhedralVolumeDlg.ClickOnApply(), SMESHGUI_Selection.entityMode(), SMESHGUI.restoreVisualParameters(), and SMESHGUI.storeVisualParameters().
| virtual bool SMESH_Actor.GetFacesOrientation3DVectors | ( | ) | [pure virtual] |
Implemented in SMESH_ActorDef.
| virtual void SMESH_Actor.GetFacesOrientationColor | ( | vtkFloatingPointType | theColor[3] | ) | [pure virtual] |
Implemented in SMESH_ActorDef.
| virtual vtkFloatingPointType SMESH_Actor.GetFacesOrientationScale | ( | ) | [pure virtual] |
Implemented in SMESH_ActorDef.
| virtual bool SMESH_Actor.GetFacesOriented | ( | ) | [pure virtual] |
Implemented in SMESH_ActorDef.
Referenced by SMESHGUI_Selection.facesOrientationMode(), and SMESH.TElementSimulation.SetPosition().
| virtual SMESH::Controls::FunctorPtr SMESH_Actor.GetFunctor | ( | ) | [pure virtual] |
Implemented in SMESH_ActorDef.
Referenced by PlotDistribution(), and SaveDistribution().
| virtual void SMESH_Actor.GetHighlightColor | ( | vtkFloatingPointType & | r, |
| vtkFloatingPointType & | g, | ||
| vtkFloatingPointType & | b | ||
| ) | [pure virtual] |
Implemented in SMESH_ActorDef.
| virtual vtkFloatingPointType SMESH_Actor.GetLineWidth | ( | ) | [pure virtual] |
Implemented in SMESH_ActorDef.
Referenced by SMESHGUI_CuttingOfQuadsDlg.displayPreview(), and SMESHGUI.storeVisualParameters().
| virtual void SMESH_Actor.GetNodeColor | ( | vtkFloatingPointType & | r, |
| vtkFloatingPointType & | g, | ||
| vtkFloatingPointType & | b | ||
| ) | [pure virtual] |
Implemented in SMESH_ActorDef.
Referenced by SMESHGUI.storeVisualParameters().
| 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_CreatePolyhedralVolumeDlg.displaySimulation(), SMESHGUI_AddQuadraticElementDlg.displaySimulation(), SMESHGUI_AddMeshElementDlg.displaySimulation(), SMESHGUI_Selection.elemTypes(), SMESHGUI_MergeDlg.FindGravityCenter(), SMESHGUI_ExtrusionAlongPathDlg.getSelectedElements(), SMESHGUI_MeshInfoDlg.idChanged(), SMESHGUI_TreeElemInfo.information(), SMESHGUI_SimpleElemInfo.information(), SMESHGUI_VolumesFilter.IsObjValid(), SMESHGUI_FacesFilter.IsObjValid(), SMESHGUI_TriangleFilter.IsObjValid(), SMESHGUI_QuadrangleFilter.IsObjValid(), SMESHGUI_PredicateFilter.IsObjValid(), SMESHGUI_MakeNodeAtPointOp.isValid(), SMESHGUI_VolumesFilter.IsValid(), SMESHGUI_FacesFilter.IsValid(), SMESHGUI_TriangleFilter.IsValid(), SMESHGUI_QuadrangleFilter.IsValid(), SMESHGUI_PredicateFilter.IsValid(), SMESHGUI_AddQuadraticElementDlg.IsValid(), SMESHGUI_ShapeByMeshOp.onElemIdChanged(), SMESHGUI_MultiEditDlg.onListSelectionChanged(), SMESHGUI_MergeDlg.onSelectElementFromGroup(), SMESHGUI_MergeDlg.onSelectGroup(), SMESHGUI_SingleEditDlg.onSelectionDone(), SMESHGUI_MoveNodesDlg.onSelectionDone(), SMESHGUI_MakeNodeAtPointOp.onSelectionDone(), SMESHGUI_WhatIsDlg.onTextChange(), SMESHGUI_TranslationDlg.onTextChange(), SMESHGUI_SymmetryDlg.onTextChange(), SMESHGUI_SmoothingDlg.onTextChange(), SMESHGUI_SingleEditDlg.onTextChange(), SMESHGUI_SewingDlg.onTextChange(), SMESHGUI_ScaleDlg.onTextChange(), SMESHGUI_RotationDlg.onTextChange(), SMESHGUI_RevolutionDlg.onTextChange(), SMESHGUI_RemoveNodesDlg.onTextChange(), SMESHGUI_RemoveElementsDlg.onTextChange(), SMESHGUI_MoveNodesDlg.onTextChange(), SMESHGUI_ExtrusionDlg.onTextChange(), SMESHGUI_ExtrusionAlongPathDlg.onTextChange(), SMESHGUI_CreatePolyhedralVolumeDlg.onTextChange(), SMESHGUI_CopyMeshDlg.onTextChange(), SMESHGUI_AddQuadraticElementDlg.onTextChange(), SMESHGUI_AddMeshElementDlg.onTextChange(), SMESHGUI_SelectionOp.onTextChanged(), SMESHGUI_MeshPatternDlg.onTextChanged(), SMESHGUI_WhatIsDlg.SelectionIntoArgument(), SMESHGUI_TranslationDlg.SelectionIntoArgument(), SMESHGUI_SymmetryDlg.SelectionIntoArgument(), SMESHGUI_ScaleDlg.SelectionIntoArgument(), SMESHGUI_RotationDlg.SelectionIntoArgument(), SMESHGUI_RevolutionDlg.SelectionIntoArgument(), SMESHGUI_ExtrusionDlg.SelectionIntoArgument(), and SMESHGUI_ExtrusionAlongPathDlg.SelectionIntoArgument().
| virtual SPlot2d_Histogram* SMESH_Actor.GetPlot2Histogram | ( | ) | [pure virtual] |
Implemented in SMESH_ActorDef.
Referenced by SMESHGUI_Preferences_ScalarBarDlg.onApply(), and SMESH.ProcessIn2DViewers().
| virtual bool SMESH_Actor.GetPointRepresentation | ( | ) | [pure virtual] |
Implemented in SMESH_ActorDef.
| virtual bool SMESH_Actor.GetPointsLabeled | ( | ) | [pure virtual] |
Implemented in SMESH_ActorDef.
Referenced by SMESHGUI_RenumberingDlg.ClickOnApply(), and SMESHGUI_Selection.labeledTypes().
| virtual void SMESH_Actor.GetPreHighlightColor | ( | vtkFloatingPointType & | r, |
| vtkFloatingPointType & | g, | ||
| vtkFloatingPointType & | b | ||
| ) | [pure virtual] |
Implemented in SMESH_ActorDef.
| virtual EQuadratic2DRepresentation SMESH_Actor.GetQuadratic2DRepresentation | ( | ) | [pure virtual] |
Implemented in SMESH_ActorDef.
Referenced by SMESHGUI_Selection.quadratic2DMode().
| virtual SMESH_ScalarBarActor* SMESH_Actor.GetScalarBarActor | ( | ) | [pure virtual] |
| virtual void SMESH_Actor.GetSufaceColor | ( | vtkFloatingPointType & | r, |
| vtkFloatingPointType & | g, | ||
| vtkFloatingPointType & | b | ||
| ) | [pure virtual] |
Implemented in SMESH_ActorDef.
Referenced by SMESHGUI.storeVisualParameters().
| virtual vtkUnstructuredGrid* SMESH_Actor.GetUnstructuredGrid | ( | ) | [pure virtual] |
Implemented in SMESH_ActorDef.
Referenced by SMESH.TPolySimulation.SetPosition(), and SMESH.TElementSimulation.SetPosition().
| static SMESH_Actor* SMESH_Actor.New | ( | ) | [static, private] |
Reimplemented in SMESH_ActorDef.
Definition at line 55 of file SMESH_Actor.h.
Referenced by SMESH.CreateActor(), and New().
{ return NULL;}
| SMESH_Actor * SMESH_Actor::New | ( | TVisualObjPtr | theVisualObj, |
| const char * | theEntry, | ||
| const char * | theName, | ||
| int | theIsClear | ||
| ) | [static] |
Definition at line 102 of file SMESH_Actor.cxx.
References SMESH_ActorDef.Init(), New(), and SMESH_ActorDef.UpdateScalarBar().
{
SMESH_ActorDef* anActor = NULL;
if(theVisualObj->IsValid() ) {
anActor = SMESH_ActorDef::New();
if(!anActor->Init(theVisualObj,theEntry,theName,theIsClear)){
anActor->Delete();
anActor = NULL;
}
if( anActor )
anActor->UpdateScalarBar();
}
return anActor;
}
| virtual void SMESH_Actor.RemoveAllClippingPlanes | ( | ) | [pure virtual] |
Implemented in SMESH_ActorDef.
Referenced by SMESHGUI.restoreVisualParameters().
| virtual void SMESH_Actor.Set0DColor | ( | vtkFloatingPointType | r, |
| vtkFloatingPointType | g, | ||
| vtkFloatingPointType | b | ||
| ) | [pure virtual] |
Implemented in SMESH_ActorDef.
Referenced by SMESH.CreateActor().
| virtual void SMESH_Actor.Set0DSize | ( | vtkFloatingPointType | size | ) | [pure virtual] |
Implemented in SMESH_ActorDef.
| virtual void SMESH_Actor.SetBackSufaceColor | ( | vtkFloatingPointType | r, |
| vtkFloatingPointType | g, | ||
| vtkFloatingPointType | b | ||
| ) | [pure virtual] |
Implemented in SMESH_ActorDef.
Referenced by SMESHGUI.restoreVisualParameters().
| virtual void SMESH_Actor.SetCellsLabeled | ( | bool | theIsCellsLabeled | ) | [pure virtual] |
Implemented in SMESH_ActorDef.
Referenced by SMESHGUI_RenumberingDlg.ClickOnApply().
| 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 | ( | vtkFloatingPointType | r, |
| vtkFloatingPointType | g, | ||
| vtkFloatingPointType | b | ||
| ) | [pure virtual] |
Implemented in SMESH_ActorDef.
Referenced by SMESH.CreateActor(), and SMESHGUI.restoreVisualParameters().
| virtual void SMESH_Actor.SetEntityMode | ( | unsigned int | theMode | ) | [pure virtual] |
Implemented in SMESH_ActorDef.
Referenced by SMESHGUI_CreatePolyhedralVolumeDlg.ClickOnApply(), and SMESHGUI.restoreVisualParameters().
| virtual void SMESH_Actor.SetFacesOrientation3DVectors | ( | bool | theState | ) | [pure virtual] |
Implemented in SMESH_ActorDef.
| virtual void SMESH_Actor.SetFacesOrientationColor | ( | vtkFloatingPointType | theColor[3] | ) | [pure virtual] |
Implemented in SMESH_ActorDef.
| virtual void SMESH_Actor.SetFacesOrientationScale | ( | vtkFloatingPointType | theScale | ) | [pure virtual] |
Implemented in SMESH_ActorDef.
| virtual void SMESH_Actor.SetFacesOriented | ( | bool | theIsFacesOriented | ) | [pure virtual] |
Implemented in SMESH_ActorDef.
| virtual void SMESH_Actor.SetHighlightColor | ( | vtkFloatingPointType | r, |
| vtkFloatingPointType | g, | ||
| vtkFloatingPointType | b | ||
| ) | [pure virtual] |
Implemented in SMESH_ActorDef.
| virtual void SMESH_Actor.SetLineWidth | ( | vtkFloatingPointType | theVal | ) | [pure virtual] |
Implemented in SMESH_ActorDef.
Referenced by SMESHGUI.restoreVisualParameters().
| virtual void SMESH_Actor.SetNodeColor | ( | vtkFloatingPointType | r, |
| vtkFloatingPointType | g, | ||
| vtkFloatingPointType | b | ||
| ) | [pure virtual] |
Implemented in SMESH_ActorDef.
Referenced by SMESH.CreateActor(), and SMESHGUI.restoreVisualParameters().
| virtual void SMESH_Actor.SetPointRepresentation | ( | bool | theIsPointsVisible | ) | [pure virtual] |
Implemented in SMESH_ActorDef.
Referenced by SMESHGUI_CreatePolyhedralVolumeDlg.ConstructorsClicked(), SMESHGUI_MakeNodeAtPointOp.startOperation(), and SMESHGUI_MakeNodeAtPointOp.stopOperation().
| virtual void SMESH_Actor.SetPointsLabeled | ( | bool | theIsPointsLabeled | ) | [pure virtual] |
Implemented in SMESH_ActorDef.
Referenced by SMESHGUI_RenumberingDlg.ClickOnApply().
| virtual void SMESH_Actor.SetPreHighlightColor | ( | vtkFloatingPointType | r, |
| vtkFloatingPointType | g, | ||
| vtkFloatingPointType | b | ||
| ) | [pure virtual] |
Implemented in SMESH_ActorDef.
| virtual void SMESH_Actor.SetQuadratic2DRepresentation | ( | EQuadratic2DRepresentation | ) | [pure virtual] |
Implemented in SMESH_ActorDef.
| virtual void SMESH_Actor.SetShrinkFactor | ( | vtkFloatingPointType | theValue | ) | [pure virtual] |
Implemented in SMESH_ActorDef.
Referenced by SMESHGUI.restoreVisualParameters().
| virtual void SMESH_Actor.SetSufaceColor | ( | vtkFloatingPointType | r, |
| vtkFloatingPointType | g, | ||
| vtkFloatingPointType | b | ||
| ) | [pure virtual] |
Implemented in SMESH_ActorDef.
Referenced by SMESH.CreateActor(), and SMESHGUI.restoreVisualParameters().
| virtual void SMESH_Actor.UpdateDistribution | ( | ) | [pure virtual] |
Implemented in SMESH_ActorDef.
Referenced by SMESHGUI_Preferences_ScalarBarDlg.onApply().
| virtual SPlot2d_Histogram* SMESH_Actor.UpdatePlot2Histogram | ( | ) | [pure virtual] |
Implemented in SMESH_ActorDef.
Referenced by PlotDistribution(), and SMESH.ProcessIn2DViewers().
| virtual void SMESH_Actor.UpdateScalarBar | ( | ) | [pure virtual] |
Implemented in SMESH_ActorDef.
| SMESH_Actor.vtkTypeMacro | ( | SMESH_Actor | , |
| SALOME_Actor | |||
| ) |