#include <SMESH_DeviceActor.h>

Public Types | |
| enum | EReperesent { ePoint , eWireframe , eSurface , eInsideframe , eNoneRepr =-1 } |
Public Member Functions | |
| vtkTypeMacro (SMESH_DeviceActor, vtkLODActor) static SMESH_DeviceActor *New() | |
| void | SetStoreClippingMapping (bool theStoreMapping) |
| void | SetStoreGemetryMapping (bool theStoreMapping) |
| void | SetStoreIDMapping (bool theStoreMapping) |
| virtual vtkIdType | GetNodeObjId (vtkIdType theVtkID) |
| virtual double * | GetNodeCoord (vtkIdType theObjID) |
| virtual vtkIdType | GetNodeVtkId (vtkIdType theObjID) |
| virtual vtkIdType | GetElemObjId (vtkIdType theVtkID) |
| virtual vtkCell * | GetElemCell (vtkIdType theObjID) |
| virtual void | SetTransform (VTKViewer_Transform *theTransform) |
| virtual vtkMTimeType | GetMTime () |
| virtual void | SetFacesOriented (bool theIsFacesOriented) |
| virtual bool | GetFacesOriented () |
| virtual void | SetFacesOrientationColor (double r, double g, double b) |
| virtual void | GetFacesOrientationColor (double &r, double &g, double &b) |
| virtual void | SetFacesOrientationScale (double theScale) |
| virtual double | GetFacesOrientationScale () |
| virtual void | SetFacesOrientation3DVectors (bool theState) |
| virtual bool | GetFacesOrientation3DVectors () |
| virtual void | SetQuadraticArcMode (bool theFlag) |
| Setting for displaying quadratic elements. More... | |
| virtual bool | GetQuadraticArcMode () |
| Return true if 2D quadratic element displayed as arked polygon. More... | |
| virtual void | SetQuadraticArcAngle (double theMaxAngle) |
| Set Max angle for representation 2D quadratic element as arked polygon. More... | |
| virtual double | GetQuadraticArcAngle () |
| Return Max angle of the representation 2D quadratic element as arked polygon. More... | |
| void | UpdateFaceOrientation () |
| double | GetShrinkFactor () |
| void | SetShrinkFactor (double value) |
| bool | IsShrunkable () |
| bool | IsShrunk () |
| void | SetShrink () |
| void | UnShrink () |
| EReperesent | GetRepresentation () |
| void | SetRepresentation (EReperesent theMode) |
| virtual void | SetVisibility (int theMode) |
| virtual int | GetVisibility () |
| virtual void | AddToRender (vtkRenderer *theRenderer) |
| virtual void | RemoveFromRender (vtkRenderer *theRenderer) |
| VTKViewer_ExtractUnstructuredGrid * | GetExtractUnstructuredGrid () |
| vtkUnstructuredGrid * | GetUnstructuredGrid () |
| void | SetPlaneCollection (vtkPlaneCollection *theCollection) |
| void | SetControlMode (SMESH::Controls::FunctorPtr theFunctor, SMESH_ScalarBarActor *theScalarBarActor, vtkLookupTable *theLookupTable) |
| void | SetExtControlMode (SMESH::Controls::FunctorPtr theFunctor, SMESH_ScalarBarActor *theScalarBarActor, vtkLookupTable *theLookupTable) |
| void | SetExtControlMode (SMESH::Controls::FunctorPtr theFunctor) |
| bool | IsHighlited () |
| void | SetHighlited (bool theIsHighlited) |
| virtual void | SetCoincident3DAllowed (bool theIsFeatureEdgesAllowed) |
| virtual bool | IsCoincident3DAllowed () const |
| virtual void | Render (vtkRenderer *, vtkMapper *) |
| void | SetImplicitFunctionUsed (bool theIsImplicitFunctionUsed) |
| bool | IsImplicitFunctionUsed () const |
| void | SetMarkerEnabled (bool) |
| Set point marker enabled. More... | |
| void | SetBallEnabled (bool) |
| Set point marker enabled. More... | |
| void | SetBallScale (double) |
| Set point marker scale factor. More... | |
| void | SetMarkerStd (VTK::MarkerType, VTK::MarkerScale) |
| Set standard point marker. More... | |
| void | SetMarkerTexture (int, VTK::MarkerTexture) |
| Set custom point marker. More... | |
| VTK::MarkerType | GetMarkerType () |
| Get type of the point marker. More... | |
| VTK::MarkerScale | GetMarkerScale () |
| Get scale of the point marker. More... | |
| int | GetMarkerTexture () |
| Get texture identifier of the point marker. More... | |
| double | GetBallScale () |
| Get scale factor of ball element. More... | |
Protected Member Functions | |
| void | Init (TVisualObjPtr theVisualObj, vtkImplicitBoolean *theImplicitBoolean) |
| void | SetUnstructuredGrid (vtkUnstructuredGrid *theGrid) |
| void | SetPolygonOffsetParameters (double factor, double units) |
| void | GetPolygonOffsetParameters (double &factor, double &units) |
| SMESH_DeviceActor () | |
| ~SMESH_DeviceActor () | |
| SMESH_DeviceActor (const SMESH_DeviceActor &) | |
| void | operator= (const SMESH_DeviceActor &) |
Protected Attributes | |
| VTKViewer_PolyDataMapper * | myMapper |
| TVisualObjPtr | myVisualObj |
| vtkSmartPointer< vtkPlaneCollection > | myPlaneCollection |
| vtkProperty * | myProperty |
| EReperesent | myRepresentation |
| SMESH_ExtractGeometry * | myExtractGeometry |
| bool | myIsImplicitFunctionUsed |
| vtkMergeFilter * | myMergeFilter |
| VTKViewer_ExtractUnstructuredGrid * | myExtractUnstructuredGrid |
| bool | myIsFacesOriented |
| SMESH_FaceOrientationFilter * | myFaceOrientationFilter |
| vtkPolyDataMapper * | myFaceOrientationDataMapper |
| vtkActor * | myFaceOrientation |
| bool | myStoreClippingMapping |
| VTKViewer_GeometryFilter * | myGeomFilter |
| vtkTriangleFilter * | myTriangleFilter = nullptr |
| VTKViewer_TransformFilter * | myTransformFilter |
| std::vector< vtkPassThrough * > | myPassFilter |
| vtkShrinkFilter * | myShrinkFilter |
| bool | myIsShrinkable |
| bool | myIsShrunk |
| bool | myIsHighlited |
| double | myPolygonOffsetFactor |
| double | myPolygonOffsetUnits |
Friends | |
| class | SMESH_ActorDef |
|
protected |
|
protected |
|
protected |
|
virtual |
Reimplemented in SMESH_CellLabelActor, and SMESH_NodeLabelActor.
References myFaceOrientation.
Referenced by SMESH_ActorDef::AddToRender(), SMESH_CellLabelActor::AddToRender(), and SMESH_NodeLabelActor::AddToRender().
| double SMESH_DeviceActor::GetBallScale | ( | ) |
Get scale factor of ball element.
References myMapper.
Referenced by SMESH_ActorDef::GetBallScale().
|
virtual |
References MESSAGE, and myVisualObj.
Referenced by SMESH_ActorDef::GetElemCell().
|
virtual |
References SMESH_ExtractGeometry::GetElemObjId(), IsImplicitFunctionUsed(), MESSAGE, myExtractGeometry, myExtractUnstructuredGrid, myGeomFilter, and myVisualObj.
Referenced by SMESH_ActorDef::GetElemObjId().
| VTKViewer_ExtractUnstructuredGrid * SMESH_DeviceActor::GetExtractUnstructuredGrid | ( | ) |
References myExtractUnstructuredGrid.
Referenced by SMESH_ActorDef::SMESH_ActorDef(), SMESH_ActorDef::UpdateFilter(), and SMESH_ActorDef::UpdateHighlight().
|
virtual |
References SMESH_FaceOrientationFilter::Get3dVectors(), and myFaceOrientationFilter.
Referenced by SMESH_ActorDef::GetFacesOrientation3DVectors().
|
virtual |
References myFaceOrientation.
Referenced by SMESH_ActorDef::GetFacesOrientationColor().
|
virtual |
References SMESH_FaceOrientationFilter::GetOrientationScale(), and myFaceOrientationFilter.
Referenced by SMESH_ActorDef::GetFacesOrientationScale().
|
virtual |
References SMESH_ActorDef::myIsFacesOriented.
| VTK::MarkerScale SMESH_DeviceActor::GetMarkerScale | ( | ) |
| int SMESH_DeviceActor::GetMarkerTexture | ( | ) |
Get texture identifier of the point marker.
References myMapper.
| VTK::MarkerType SMESH_DeviceActor::GetMarkerType | ( | ) |
|
virtual |
|
virtual |
References MESSAGE, myMergeFilter, and myVisualObj.
Referenced by SMESH_ActorDef::GetNodeCoord().
|
virtual |
References SMESH_ExtractGeometry::GetNodeObjId(), IsImplicitFunctionUsed(), MESSAGE, myExtractGeometry, and myVisualObj.
Referenced by SMESH_ActorDef::GetNodeObjId().
|
virtual |
References myVisualObj.
Referenced by SMESH_ActorDef::GetNodeVtkId().
|
protected |
Referenced by SMESH_ActorDef::Init().
|
virtual |
Return Max angle of the representation 2D quadratic element as arked polygon.
References myGeomFilter.
|
virtual |
Return true if 2D quadratic element displayed as arked polygon.
References myGeomFilter.
Referenced by SMESH_ActorDef::GetQuadratic2DRepresentation().
| EReperesent SMESH_DeviceActor::GetRepresentation | ( | ) |
| double SMESH_DeviceActor::GetShrinkFactor | ( | ) |
References myShrinkFilter.
Referenced by SMESH_ActorDef::GetShrinkFactor().
| vtkUnstructuredGrid * SMESH_DeviceActor::GetUnstructuredGrid | ( | ) |
References myExtractUnstructuredGrid.
Referenced by SMESH_ActorDef::GetNumberControlEntities(), GetVisibility(), SMESH_ActorDef::IsInfinitive(), and SetVisibility().
|
virtual |
References GetUnstructuredGrid().
|
protected |
References myExtractGeometry, myVisualObj, and SetUnstructuredGrid().
Referenced by SMESH_ActorDef::Init().
|
virtual |
References myGeomFilter.
| bool SMESH_DeviceActor::IsHighlited | ( | ) |
| bool SMESH_DeviceActor::IsImplicitFunctionUsed | ( | ) | const |
Referenced by GetElemObjId(), GetNodeObjId(), and SMESH_ActorDef::IsImplicitFunctionUsed().
| bool SMESH_DeviceActor::IsShrunk | ( | ) |
References SMESH_ActorDef::myIsShrunk.
| bool SMESH_DeviceActor::IsShrunkable | ( | ) |
References SMESH_ActorDef::myIsShrinkable.
|
protected |
|
virtual |
Reimplemented in SMESH_CellLabelActor, and SMESH_NodeLabelActor.
References myFaceOrientation.
Referenced by SMESH_ActorDef::RemoveFromRender(), SMESH_CellLabelActor::RemoveFromRender(), and SMESH_NodeLabelActor::RemoveFromRender().
|
virtual |
References myIsHighlited, myPolygonOffsetFactor, and myPolygonOffsetUnits.
| void SMESH_DeviceActor::SetBallEnabled | ( | bool | theBallEnabled | ) |
Set point marker enabled.
| theBallEnabled | flag to enable/disable ball drawing |
References myMapper.
Referenced by SMESH_ActorDef::SMESH_ActorDef().
| void SMESH_DeviceActor::SetBallScale | ( | double | theBallScale | ) |
Set point marker scale factor.
| theBallScale | double value which specifies a scale factor of ball element |
References myMapper.
Referenced by SMESH_ActorDef::SetBallScale().
|
virtual |
References myGeomFilter.
Referenced by SMESH_ActorDef::SMESH_ActorDef().
| void SMESH_DeviceActor::SetControlMode | ( | SMESH::Controls::FunctorPtr | theFunctor, |
| SMESH_ScalarBarActor * | theScalarBarActor, | ||
| vtkLookupTable * | theLookupTable | ||
| ) |
References myExtractUnstructuredGrid, myMergeFilter, and myVisualObj.
Referenced by SMESH_ActorDef::SetControlMode().
| void SMESH_DeviceActor::SetExtControlMode | ( | SMESH::Controls::FunctorPtr | theFunctor | ) |
| void SMESH_DeviceActor::SetExtControlMode | ( | SMESH::Controls::FunctorPtr | theFunctor, |
| SMESH_ScalarBarActor * | theScalarBarActor, | ||
| vtkLookupTable * | theLookupTable | ||
| ) |
References myExtractUnstructuredGrid, SMESH::Controls::Length2D::Value::myLength, myMergeFilter, SMESH::Controls::Length2D::Value::myPntId, SMESH::Controls::MultiConnection2D::Value::myPntId, SMESH::Controls::Warping3D::Value::myPntIds, myVisualObj, SMESH::Controls::Warping3D::Value::myWarp, and SetUnstructuredGrid().
Referenced by SMESH_ActorDef::SetControlMode().
|
virtual |
References myFaceOrientationFilter, and SMESH_FaceOrientationFilter::Set3dVectors().
Referenced by SMESH_ActorDef::SetFacesOrientation3DVectors().
|
virtual |
References myFaceOrientation.
Referenced by SMESH_ActorDef::SetFacesOrientationColor().
|
virtual |
References myFaceOrientationFilter, and SMESH_FaceOrientationFilter::SetOrientationScale().
Referenced by SMESH_ActorDef::SetFacesOrientationScale().
|
virtual |
References myFaceOrientationFilter, myIsFacesOriented, myTransformFilter, and UpdateFaceOrientation().
Referenced by SMESH_ActorDef::SetFacesOriented().
| void SMESH_DeviceActor::SetHighlited | ( | bool | theIsHighlited | ) |
References myIsHighlited.
Referenced by SMESH_ActorDef::SMESH_ActorDef(), and SMESH_ActorDef::UpdateHighlight().
| void SMESH_DeviceActor::SetImplicitFunctionUsed | ( | bool | theIsImplicitFunctionUsed | ) |
| void SMESH_DeviceActor::SetMarkerEnabled | ( | bool | theMarkerEnabled | ) |
Set point marker enabled.
| theMarkerEnabled | flag to enable/disable point marker |
References myMapper.
Referenced by SetRepresentation().
| void SMESH_DeviceActor::SetMarkerStd | ( | VTK::MarkerType | theMarkerType, |
| VTK::MarkerScale | theMarkerScale | ||
| ) |
Set standard point marker.
| theMarkerType | type of the marker |
References myMapper.
Referenced by SMESH_ActorDef::SetMarkerStd().
| void SMESH_DeviceActor::SetMarkerTexture | ( | int | theMarkerId, |
| VTK::MarkerTexture | theMarkerTexture | ||
| ) |
Set custom point marker.
| theMarkerId | id of the marker texture |
| theMarkerTexture | marker texture |
References myMapper.
Referenced by SMESH_ActorDef::SetMarkerTexture().
| void SMESH_DeviceActor::SetPlaneCollection | ( | vtkPlaneCollection * | theCollection | ) |
References myPlaneCollection.
Referenced by SMESH_ActorDef::SetOpenGLClippingPlane().
|
protected |
References myPolygonOffsetFactor, and myPolygonOffsetUnits.
Referenced by SMESH_ActorDef::Init().
|
virtual |
Set Max angle for representation 2D quadratic element as arked polygon.
References myGeomFilter.
Referenced by SMESH_ActorDef::SMESH_ActorDef().
|
virtual |
Setting for displaying quadratic elements.
On/Off representation 2D quadratic element as arked polygon.
References myGeomFilter.
Referenced by SMESH_ActorDef::SetQuadratic2DRepresentation(), SMESH_ActorDef::SetRepresentation(), and SMESH_ActorDef::SMESH_ActorDef().
| void SMESH_DeviceActor::SetRepresentation | ( | EReperesent | theMode | ) |
References eInsideframe, eNoneRepr, ePoint, eSurface, eWireframe, myGeomFilter, myMapper, myRepresentation, SetMarkerEnabled(), and UpdateFaceOrientation().
Referenced by SMESH_ActorDef::SetRepresentation(), SMESH_ActorDef::SMESH_ActorDef(), and SMESH_ActorDef::UpdateHighlight().
| void SMESH_DeviceActor::SetShrink | ( | ) |
References myIsShrinkable, myIsShrunk, myPassFilter, and myShrinkFilter.
Referenced by SMESH_ActorDef::SetShrink().
| void SMESH_DeviceActor::SetShrinkFactor | ( | double | value | ) |
References myShrinkFilter.
Referenced by SMESH_ActorDef::SetShrinkFactor().
| void SMESH_DeviceActor::SetStoreClippingMapping | ( | bool | theStoreMapping | ) |
References myExtractGeometry, myIsImplicitFunctionUsed, myStoreClippingMapping, and SMESH_ExtractGeometry::SetStoreMapping().
Referenced by SetImplicitFunctionUsed(), and SMESH_ActorDef::SMESH_ActorDef().
| void SMESH_DeviceActor::SetStoreGemetryMapping | ( | bool | theStoreMapping | ) |
References myGeomFilter.
Referenced by SMESH_ActorDef::SMESH_ActorDef().
| void SMESH_DeviceActor::SetStoreIDMapping | ( | bool | theStoreMapping | ) |
References myExtractUnstructuredGrid.
Referenced by SMESH_ActorDef::SMESH_ActorDef().
|
virtual |
References myTransformFilter.
Referenced by SMESH_ActorDef::SetTransform().
|
protected |
References myExtractGeometry, myExtractUnstructuredGrid, myGeomFilter, myIsImplicitFunctionUsed, myIsShrinkable, myMapper, myMergeFilter, myPassFilter, myPlaneCollection, myTransformFilter, myTriangleFilter, and SetImplicitFunctionUsed().
Referenced by SMESH_ActorDef::AddToRender(), SMESH_ActorDef::EnableSelection(), Init(), SetExtControlMode(), and SMESH_ActorDef::SetOpenGLClippingPlane().
|
virtual |
Reimplemented in SMESH_CellLabelActor, and SMESH_NodeLabelActor.
References GetUnstructuredGrid(), myExtractUnstructuredGrid, and UpdateFaceOrientation().
Referenced by SMESH_CellLabelActor::SetVisibility(), SMESH_NodeLabelActor::SetVisibility(), SMESH_ActorDef::SMESH_ActorDef(), and SMESH_ActorDef::UpdateHighlight().
| void SMESH_DeviceActor::UnShrink | ( | ) |
References myIsShrunk, and myPassFilter.
Referenced by SMESH_ActorDef::UnShrink().
| void SMESH_DeviceActor::UpdateFaceOrientation | ( | ) |
References ePoint, myFaceOrientation, myIsFacesOriented, and myRepresentation.
Referenced by SetFacesOriented(), SetRepresentation(), and SetVisibility().
| SMESH_DeviceActor::vtkTypeMacro | ( | SMESH_DeviceActor | , |
| vtkLODActor | |||
| ) |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
Referenced by vtkStandardNewMacro(), and ~SMESH_DeviceActor().
|
protected |
|
protected |
Referenced by GetElemObjId(), GetMTime(), GetQuadraticArcAngle(), GetQuadraticArcMode(), IsCoincident3DAllowed(), SetCoincident3DAllowed(), SetQuadraticArcAngle(), SetQuadraticArcMode(), SetRepresentation(), SetStoreGemetryMapping(), SetUnstructuredGrid(), vtkStandardNewMacro(), and ~SMESH_DeviceActor().
|
protected |
Referenced by SetFacesOriented(), UpdateFaceOrientation(), and vtkStandardNewMacro().
|
protected |
Referenced by Render(), SetHighlited(), and vtkStandardNewMacro().
|
protected |
|
protected |
Referenced by SetShrink(), SetUnstructuredGrid(), and vtkStandardNewMacro().
|
protected |
Referenced by SetShrink(), UnShrink(), and vtkStandardNewMacro().
|
protected |
|
protected |
|
protected |
|
protected |
Referenced by SetPlaneCollection(), SetUnstructuredGrid(), and vtkStandardNewMacro().
|
protected |
Referenced by Render(), SetPolygonOffsetParameters(), and vtkStandardNewMacro().
|
protected |
Referenced by Render(), SetPolygonOffsetParameters(), and vtkStandardNewMacro().
|
protected |
Referenced by vtkStandardNewMacro(), and ~SMESH_DeviceActor().
|
protected |
Referenced by SetRepresentation(), UpdateFaceOrientation(), and vtkStandardNewMacro().
|
protected |
Referenced by GetShrinkFactor(), SetShrink(), SetShrinkFactor(), vtkStandardNewMacro(), and ~SMESH_DeviceActor().
|
protected |
Referenced by SetImplicitFunctionUsed(), SetStoreClippingMapping(), and vtkStandardNewMacro().
|
protected |
Referenced by GetMTime(), SetFacesOriented(), SetTransform(), SetUnstructuredGrid(), vtkStandardNewMacro(), and ~SMESH_DeviceActor().
|
protected |
Referenced by SetUnstructuredGrid(), vtkStandardNewMacro(), and ~SMESH_DeviceActor().
|
protected |
Referenced by GetElemCell(), GetElemObjId(), GetNodeCoord(), GetNodeObjId(), GetNodeVtkId(), Init(), SetControlMode(), and SetExtControlMode().