#include <SMESH_DeviceActor.h>
Public Types | |
enum | EReperesent { ePoint, eWireframe, eSurface, eInsideframe } |
Public Member Functions | |
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 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... | |
Static Public Member Functions | |
static SMESH_DeviceActor * | New () |
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 |
VTKViewer_TransformFilter * | myTransformFilter |
std::vector < vtkPassThroughFilter * > | myPassFilter |
vtkShrinkFilter * | myShrinkFilter |
bool | myIsShrinkable |
bool | myIsShrunk |
bool | myIsHighlited |
double | myPolygonOffsetFactor |
double | myPolygonOffsetUnits |
Friends | |
class | SMESH_ActorDef |
|
protected |
References SMESH::GetColor(), MESSAGE, SMESH_ExtractGeometry::New(), and SMESH_FaceOrientationFilter::New().
|
protected |
References MESSAGE.
|
protected |
|
virtual |
Reimplemented in SMESH_CellLabelActor, and SMESH_NodeLabelActor.
Referenced by SMESH_NodeLabelActor::AddToRender(), SMESH_CellLabelActor::AddToRender(), and SMESH_ActorDef::AddToRender().
double SMESH_DeviceActor::GetBallScale | ( | ) |
Get scale factor of ball element.
Referenced by SMESH_ActorDef::GetBallScale().
|
virtual |
References MESSAGE.
Referenced by SMESH_ActorDef::GetElemCell().
References MESSAGE.
Referenced by SMESH_ActorDef::GetElemObjId().
VTKViewer_ExtractUnstructuredGrid * SMESH_DeviceActor::GetExtractUnstructuredGrid | ( | ) |
|
virtual |
Referenced by SMESH_ActorDef::GetFacesOrientation3DVectors().
|
virtual |
Referenced by SMESH_ActorDef::GetFacesOrientationColor().
|
virtual |
Referenced by SMESH_ActorDef::GetFacesOrientationScale().
|
virtual |
References SMESH_ActorDef::myIsFacesOriented.
VTK::MarkerScale SMESH_DeviceActor::GetMarkerScale | ( | ) |
Get scale of the point marker.
int SMESH_DeviceActor::GetMarkerTexture | ( | ) |
Get texture identifier of the point marker.
VTK::MarkerType SMESH_DeviceActor::GetMarkerType | ( | ) |
Get type of the point marker.
|
virtual |
|
virtual |
References MESSAGE.
Referenced by SMESH_ActorDef::GetNodeCoord().
References MESSAGE.
Referenced by SMESH_ActorDef::GetNodeObjId().
|
protected |
Referenced by SMESH_ActorDef::Init().
|
virtual |
Return Max angle of the representation 2D quadratic element as arked polygon.
|
virtual |
Return true if 2D quadratic element displayed as arked polygon.
Referenced by SMESH_ActorDef::GetQuadratic2DRepresentation().
EReperesent SMESH_DeviceActor::GetRepresentation | ( | ) |
double SMESH_DeviceActor::GetShrinkFactor | ( | ) |
Referenced by SMESH_ActorDef::GetShrinkFactor().
vtkUnstructuredGrid * SMESH_DeviceActor::GetUnstructuredGrid | ( | ) |
Referenced by SMESH_ActorDef::GetNumberControlEntities(), and SMESH_ActorDef::IsInfinitive().
|
virtual |
Referenced by SMESH_CellLabelActor::SetCellsLabeled(), and SMESH_NodeLabelActor::SetPointsLabeled().
|
protected |
Referenced by SMESH_ActorDef::Init().
|
virtual |
bool SMESH_DeviceActor::IsHighlited | ( | ) |
bool SMESH_DeviceActor::IsImplicitFunctionUsed | ( | ) | const |
Referenced by SMESH_ActorDef::IsImplicitFunctionUsed(), and SMESH_CellLabelActor::SetCellsLabeled().
bool SMESH_DeviceActor::IsShrunk | ( | ) |
References SMESH_ActorDef::myIsShrunk.
bool SMESH_DeviceActor::IsShrunkable | ( | ) |
References SMESH_ActorDef::myIsShrinkable.
|
static |
Referenced by SMESH_ActorDef::SMESH_ActorDef().
|
protected |
|
virtual |
Reimplemented in SMESH_CellLabelActor, and SMESH_NodeLabelActor.
Referenced by SMESH_NodeLabelActor::RemoveFromRender(), SMESH_CellLabelActor::RemoveFromRender(), and SMESH_ActorDef::RemoveFromRender().
|
virtual |
void SMESH_DeviceActor::SetBallEnabled | ( | bool | theBallEnabled | ) |
Set point marker enabled.
theBallEnabled | flag to enable/disable ball drawing |
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 |
Referenced by SMESH_ActorDef::SetBallScale().
|
virtual |
Referenced by SMESH_ActorDef::SMESH_ActorDef().
void SMESH_DeviceActor::SetControlMode | ( | SMESH::Controls::FunctorPtr | theFunctor, |
SMESH_ScalarBarActor * | theScalarBarActor, | ||
vtkLookupTable * | theLookupTable | ||
) |
Referenced by SMESH_ActorDef::SetControlMode().
void SMESH_DeviceActor::SetExtControlMode | ( | SMESH::Controls::FunctorPtr | theFunctor, |
SMESH_ScalarBarActor * | theScalarBarActor, | ||
vtkLookupTable * | theLookupTable | ||
) |
void SMESH_DeviceActor::SetExtControlMode | ( | SMESH::Controls::FunctorPtr | theFunctor | ) |
References SMESH::Controls::FreeEdges::Border::myPntId, and SMDSAbs_Node.
|
virtual |
Referenced by SMESH_ActorDef::SetFacesOrientation3DVectors().
|
virtual |
Referenced by SMESH_ActorDef::SetFacesOrientationColor().
|
virtual |
Referenced by SMESH_ActorDef::SetFacesOrientationScale().
|
virtual |
Referenced by SMESH_ActorDef::SetFacesOriented().
void SMESH_DeviceActor::SetHighlited | ( | bool | theIsHighlited | ) |
Referenced by SMESH_ActorDef::SMESH_ActorDef(), and SMESH_ActorDef::UpdateHighlight().
void SMESH_DeviceActor::SetImplicitFunctionUsed | ( | bool | theIsImplicitFunctionUsed | ) |
Referenced by SMESH_ActorDef::SetImplicitFunctionUsed().
void SMESH_DeviceActor::SetMarkerEnabled | ( | bool | theMarkerEnabled | ) |
Set point marker enabled.
theMarkerEnabled | flag to enable/disable point marker |
void SMESH_DeviceActor::SetMarkerStd | ( | VTK::MarkerType | theMarkerType, |
VTK::MarkerScale | theMarkerScale | ||
) |
Set standard point marker.
theMarkerType | type of the marker |
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 |
Referenced by SMESH_ActorDef::SetMarkerTexture().
void SMESH_DeviceActor::SetPlaneCollection | ( | vtkPlaneCollection * | theCollection | ) |
Referenced by SMESH_ActorDef::SetOpenGLClippingPlane().
|
protected |
Referenced by SMESH_ActorDef::Init().
|
virtual |
Set Max angle for representation 2D quadratic element as arked polygon.
Referenced by SMESH_ActorDef::SMESH_ActorDef().
|
virtual |
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().
void SMESH_DeviceActor::SetRepresentation | ( | EReperesent | theMode | ) |
void SMESH_DeviceActor::SetShrink | ( | ) |
Referenced by SMESH_ActorDef::SetShrink().
void SMESH_DeviceActor::SetShrinkFactor | ( | double | value | ) |
Referenced by SMESH_ActorDef::SetShrinkFactor().
void SMESH_DeviceActor::SetStoreClippingMapping | ( | bool | theStoreMapping | ) |
Referenced by SMESH_ActorDef::SMESH_ActorDef().
void SMESH_DeviceActor::SetStoreGemetryMapping | ( | bool | theStoreMapping | ) |
Referenced by SMESH_ActorDef::SMESH_ActorDef().
void SMESH_DeviceActor::SetStoreIDMapping | ( | bool | theStoreMapping | ) |
Referenced by SMESH_ActorDef::SMESH_ActorDef().
|
virtual |
Referenced by SMESH_ActorDef::SetTransform().
|
protected |
|
virtual |
Reimplemented in SMESH_CellLabelActor, and SMESH_NodeLabelActor.
Referenced by SMESH_NodeLabelActor::SetVisibility(), SMESH_CellLabelActor::SetVisibility(), SMESH_ActorDef::SMESH_ActorDef(), and SMESH_ActorDef::UpdateHighlight().
void SMESH_DeviceActor::UnShrink | ( | ) |
Referenced by SMESH_ActorDef::UnShrink().
void SMESH_DeviceActor::UpdateFaceOrientation | ( | ) |
SMESH_DeviceActor::vtkTypeMacro | ( | SMESH_DeviceActor | , |
vtkLODActor | |||
) |
|
friend |
|
protected |
Referenced by SMESH_CellLabelActor::SetCellsLabeled().
|
protected |
Referenced by SMESH_ActorDef::EnableSelection(), and SMESH_CellLabelActor::SetCellsLabeled().
|
protected |
|
protected |
|
protected |
|
protected |
Referenced by SMESH_ActorDef::SetEntityMode().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Referenced by SMESH_CellLabelActor::SetCellsLabeled(), and SMESH_NodeLabelActor::SetPointsLabeled().