#include <SMESH_CellLabelActor.h>
Public Types | |
enum | EReperesent { ePoint, eWireframe, eSurface, eInsideframe } |
Public Member Functions | |
vtkTypeMacro (SMESH_CellLabelActor, SMESH_DeviceActor) | |
virtual void | SetCellsLabeled (bool theIsCellsLabeled) |
virtual bool | GetCellsLabeled () |
virtual void | SetVisibility (int theMode) |
virtual void | AddToRender (vtkRenderer *theRenderer) |
virtual void | RemoveFromRender (vtkRenderer *theRenderer) |
virtual void | SetFontProperties (SMESH::LabelFont family, int size, bool bold, bool italic, bool shadow, double r, double g, double b) |
void | UpdateLabels () |
vtkTypeMacro (SMESH_DeviceActor, vtkLODActor) | |
void | SetStoreClippingMapping (bool theStoreMapping) |
void | SetStoreGemetryMapping (bool theStoreMapping) |
void | SetStoreIDMapping (bool theStoreMapping) |
virtual int | GetNodeObjId (int theVtkID) |
virtual double * | GetNodeCoord (int theObjID) |
virtual int | GetElemObjId (int theVtkID) |
virtual vtkCell * | GetElemCell (int 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 int | GetVisibility () |
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... | |
Static Public Member Functions | |
static SMESH_CellLabelActor * | New () |
static void | ProcessEvents (vtkObject *theObject, unsigned long theEvent, void *theClientData, void *theCallData) |
Protected Member Functions | |
SMESH_CellLabelActor () | |
Constructor. More... | |
~SMESH_CellLabelActor () | |
Destructor. More... | |
SMESH_CellLabelActor (const SMESH_CellLabelActor &) | |
void | operator= (const SMESH_CellLabelActor &) |
void | Init (TVisualObjPtr theVisualObj, vtkImplicitBoolean *theImplicitBoolean) |
void | SetUnstructuredGrid (vtkUnstructuredGrid *theGrid) |
void | SetPolygonOffsetParameters (double factor, double units) |
void | GetPolygonOffsetParameters (double &factor, double &units) |
|
inherited |
|
protected |
Constructor.
References myCellCenters, myCellsLabels, myCellsNumDataSet, myClsLabeledDataMapper, myClsMaskPoints, myClsSelectVisiblePoints, myClsTextProp, myIsCellsLabeled, SMESH_DeviceActor::myTransformFilter, and ProcessEvents().
|
protected |
Destructor.
References myCellCenters, myCellsLabels, myCellsNumDataSet, myClsLabeledDataMapper, myClsMaskPoints, myClsSelectVisiblePoints, and myClsTextProp.
|
protected |
|
virtual |
Reimplemented from SMESH_DeviceActor.
References SMESH_DeviceActor::AddToRender(), myCellsLabels, and myClsSelectVisiblePoints.
Referenced by SMESH_ActorDef::AddToRender().
|
inherited |
Get scale factor of ball element.
Referenced by SMESH_ActorDef::GetBallScale().
|
virtual |
Referenced by SMESH_ActorDef::GetCellsLabeled().
|
virtualinherited |
References MESSAGE.
Referenced by SMESH_ActorDef::GetElemCell().
References MESSAGE.
Referenced by SMESH_ActorDef::GetElemObjId().
|
inherited |
|
virtualinherited |
Referenced by SMESH_ActorDef::GetFacesOrientation3DVectors().
|
virtualinherited |
Referenced by SMESH_ActorDef::GetFacesOrientationColor().
|
virtualinherited |
Referenced by SMESH_ActorDef::GetFacesOrientationScale().
|
virtualinherited |
References SMESH_ActorDef::myIsFacesOriented.
|
inherited |
Get scale of the point marker.
|
inherited |
Get texture identifier of the point marker.
|
inherited |
Get type of the point marker.
|
virtualinherited |
|
virtualinherited |
References MESSAGE.
Referenced by SMESH_ActorDef::GetNodeCoord().
References MESSAGE.
Referenced by SMESH_ActorDef::GetNodeObjId().
|
protectedinherited |
Referenced by SMESH_ActorDef::Init().
|
virtualinherited |
Return Max angle of the representation 2D quadratic element as arked polygon.
|
virtualinherited |
Return true if 2D quadratic element displayed as arked polygon.
Referenced by SMESH_ActorDef::GetQuadratic2DRepresentation().
|
inherited |
|
inherited |
Referenced by SMESH_ActorDef::GetShrinkFactor().
|
inherited |
Referenced by SMESH_ActorDef::GetNumberControlEntities(), and SMESH_ActorDef::IsInfinitive().
|
virtualinherited |
Referenced by SetCellsLabeled(), and SMESH_NodeLabelActor::SetPointsLabeled().
|
protectedinherited |
Referenced by SMESH_ActorDef::Init().
|
virtualinherited |
|
inherited |
|
inherited |
Referenced by SMESH_ActorDef::IsImplicitFunctionUsed(), and SetCellsLabeled().
|
inherited |
References SMESH_ActorDef::myIsShrunk.
|
inherited |
References SMESH_ActorDef::myIsShrinkable.
|
static |
Referenced by SMESH_ActorDef::SMESH_ActorDef().
|
protected |
|
static |
References UpdateLabels().
Referenced by SMESH_CellLabelActor().
|
virtual |
Reimplemented from SMESH_DeviceActor.
References myCellsLabels, and SMESH_DeviceActor::RemoveFromRender().
Referenced by SMESH_ActorDef::RemoveFromRender().
|
virtualinherited |
|
inherited |
Set point marker enabled.
theBallEnabled | flag to enable/disable ball drawing |
Referenced by SMESH_ActorDef::SMESH_ActorDef().
|
inherited |
Set point marker scale factor.
theBallScale | double value which specifies a scale factor of ball element |
Referenced by SMESH_ActorDef::SetBallScale().
|
virtual |
References SMESH_ExtractGeometry::GetElemObjId(), SMESH_DeviceActor::GetVisibility(), SMESH_DeviceActor::IsImplicitFunctionUsed(), myCellCenters, myCellsLabels, myCellsNumDataSet, SMESH_DeviceActor::myExtractGeometry, SMESH_DeviceActor::myExtractUnstructuredGrid, myIsCellsLabeled, SMESH_DeviceActor::myTransformFilter, and SMESH_DeviceActor::myVisualObj.
Referenced by SMESH_ActorDef::SetCellsLabeled(), and UpdateLabels().
|
virtualinherited |
Referenced by SMESH_ActorDef::SMESH_ActorDef().
|
inherited |
Referenced by SMESH_ActorDef::SetControlMode().
|
inherited |
|
inherited |
References SMESH::Controls::FreeEdges::Border::myPntId, and SMDSAbs_Node.
|
virtualinherited |
Referenced by SMESH_ActorDef::SetFacesOrientation3DVectors().
|
virtualinherited |
Referenced by SMESH_ActorDef::SetFacesOrientationColor().
|
virtualinherited |
Referenced by SMESH_ActorDef::SetFacesOrientationScale().
|
virtualinherited |
Referenced by SMESH_ActorDef::SetFacesOriented().
|
virtual |
References SMESH::FntArial, SMESH::FntCourier, SMESH::FntTimes, and myClsTextProp.
Referenced by SMESH_ActorDef::SetCellsFontProperties(), and SMESH_ActorDef::SMESH_ActorDef().
|
inherited |
Referenced by SMESH_ActorDef::SMESH_ActorDef(), and SMESH_ActorDef::UpdateHighlight().
|
inherited |
Referenced by SMESH_ActorDef::SetImplicitFunctionUsed().
|
inherited |
Set point marker enabled.
theMarkerEnabled | flag to enable/disable point marker |
|
inherited |
Set standard point marker.
theMarkerType | type of the marker |
Referenced by SMESH_ActorDef::SetMarkerStd().
|
inherited |
Set custom point marker.
theMarkerId | id of the marker texture |
theMarkerTexture | marker texture |
Referenced by SMESH_ActorDef::SetMarkerTexture().
|
inherited |
Referenced by SMESH_ActorDef::SetOpenGLClippingPlane().
|
protectedinherited |
Referenced by SMESH_ActorDef::Init().
|
virtualinherited |
Set Max angle for representation 2D quadratic element as arked polygon.
Referenced by SMESH_ActorDef::SMESH_ActorDef().
|
virtualinherited |
Setting for displaying quadratic elements.
On/Off representation 2D quadratic element as arked polygon.
Referenced by SMESH_ActorDef::SetQuadratic2DRepresentation(), SMESH_ActorDef::SetRepresentation(), and SMESH_ActorDef::SMESH_ActorDef().
|
inherited |
|
inherited |
Referenced by SMESH_ActorDef::SetShrink().
|
inherited |
Referenced by SMESH_ActorDef::SetShrinkFactor().
|
inherited |
Referenced by SMESH_ActorDef::SMESH_ActorDef().
|
inherited |
Referenced by SMESH_ActorDef::SMESH_ActorDef().
|
inherited |
Referenced by SMESH_ActorDef::SMESH_ActorDef().
|
virtualinherited |
Referenced by SMESH_ActorDef::SetTransform().
|
protectedinherited |
|
virtual |
Reimplemented from SMESH_DeviceActor.
References myCellsLabels, myIsCellsLabeled, and SMESH_DeviceActor::SetVisibility().
Referenced by SMESH_ActorDef::SMESH_ActorDef().
|
inherited |
Referenced by SMESH_ActorDef::UnShrink().
|
inherited |
void SMESH_CellLabelActor::UpdateLabels | ( | ) |
References myIsCellsLabeled, and SetCellsLabeled().
Referenced by ProcessEvents(), SMESH_ActorDef::SetVisibility(), and SMESH_ActorDef::Update().
SMESH_CellLabelActor::vtkTypeMacro | ( | SMESH_CellLabelActor | , |
SMESH_DeviceActor | |||
) |
|
inherited |
|
protected |
|
protected |
Referenced by SetCellsLabeled(), SMESH_CellLabelActor(), and ~SMESH_CellLabelActor().
|
protected |
Referenced by AddToRender(), RemoveFromRender(), SetCellsLabeled(), SetVisibility(), SMESH_CellLabelActor(), and ~SMESH_CellLabelActor().
|
protected |
Referenced by SetCellsLabeled(), SMESH_CellLabelActor(), and ~SMESH_CellLabelActor().
|
protected |
Referenced by SMESH_CellLabelActor(), and ~SMESH_CellLabelActor().
|
protected |
Referenced by SMESH_CellLabelActor(), and ~SMESH_CellLabelActor().
|
protected |
Referenced by AddToRender(), SMESH_CellLabelActor(), and ~SMESH_CellLabelActor().
|
protected |
Referenced by SetFontProperties(), SMESH_CellLabelActor(), and ~SMESH_CellLabelActor().
|
protectedinherited |
Referenced by SetCellsLabeled().
|
protectedinherited |
Referenced by SMESH_ActorDef::EnableSelection(), and SetCellsLabeled().
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
Referenced by SMESH_ActorDef::SetEntityMode().
|
protected |
Referenced by SetCellsLabeled(), SetVisibility(), SMESH_CellLabelActor(), and UpdateLabels().
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
Referenced by SetCellsLabeled(), and SMESH_NodeLabelActor::SetPointsLabeled().