Version: 6.3.1
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes

VISU_DataSetActor Class Reference

#include <VISU_DataSetActor.h>

Inheritance diagram for VISU_DataSetActor:
Inheritance graph

Public Types

enum  EQuadratic2DRepresentation { eLines = 0, eArcs }

Public Member Functions

 vtkTypeMacro (VISU_DataSetActor, VISU_Actor)
virtual void ShallowCopyPL (VISU_PipeLine *thePipeLine)
virtual vtkDataSetMapper * GetDataSetMapper ()
virtual void RemoveAllClippingPlanes ()
virtual vtkIdType GetNumberOfClippingPlanes ()
virtual bool AddClippingPlane (vtkPlane *thePlane)
virtual vtkPlaneGetClippingPlane (vtkIdType theID)
virtual
vtkImplicitFunctionCollection * 
GetClippingPlanes ()
 vtkTypeMacro (VISU_Actor, VISU_ActorBase)
 vtkTypeMacro (VISU_ActorBase, SALOME_Actor)
virtual void DeepCopy (VISU_Actor *theActor)
 Copies all properties from the given actor.
virtual void setIO (const Handle(SALOME_InteractiveObject)&theIO)
VISU::Prs3d_iGetPrs3d ()
virtual void SetPrs3d (VISU::Prs3d_i *thePrs3d)
virtual void SetVisibility (int theMode)
bool ShouldBeDisplayed ()
 Gets know whether the actor should be displayed or not.
virtual void SetPosition (double thePosition[3])
virtual void SetPosition (double theX, double theY, double theZ)
virtual VISU_PipeLineGetPipeLine ()
virtual void SetPipeLine (VISU_PipeLine *thePipeLine)
virtual void SetRepresentation (int theMode)
virtual bool IsShrunkable ()
virtual bool IsShrunk ()
virtual void SetShrink ()
virtual void UnShrink ()
virtual void SetShrinkable (bool theIsShrinkable)
virtual void SetShrinkFactor (vtkFloatingPointType theFactor=0.8)
virtual vtkFloatingPointType GetShrinkFactor ()
virtual bool IsFeatureEdgesAllowed ()
virtual void SetFeatureEdgesAllowed (bool theIsFeatureEdgesAllowed)
virtual bool IsFeatureEdgesEnabled ()
virtual void SetFeatureEdgesEnabled (bool theIsFeatureEdgesEnabled)
virtual vtkFloatingPointType GetFeatureEdgesAngle ()
virtual void SetFeatureEdgesAngle (vtkFloatingPointType theAngle=30.0)
virtual void GetFeatureEdgesFlags (bool &theIsFeatureEdges, bool &theIsBoundaryEdges, bool &theIsManifoldEdges, bool &theIsNonManifoldEdges)
virtual void SetFeatureEdgesFlags (bool theIsFeatureEdges, bool theIsBoundaryEdges, bool theIsManifoldEdges, bool theIsNonManifoldEdges)
virtual bool GetFeatureEdgesColoring ()
virtual void SetFeatureEdgesColoring (bool theIsColoring)
virtual void SetOpacity (vtkFloatingPointType theValue)
virtual vtkFloatingPointType GetOpacity ()
virtual void SetLineWidth (vtkFloatingPointType theLineWidth)
virtual vtkFloatingPointType GetLineWidth ()
virtual void AddToRender (vtkRenderer *)
virtual void RemoveFromRender (vtkRenderer *)
virtual void RemoveFromRender ()
virtual void highlight (bool theHighlight)
 Just to update visibility of the highlight devices.
virtual bool PreHighlight (vtkInteractorStyle *theInteractorStyle, SVTK_SelectionEvent *theSelectionEvent, bool theIsHighlight)
 To process prehighlight (called from #SVTK_InteractorStyle)
virtual bool Highlight (vtkInteractorStyle *theInteractorStyle, SVTK_SelectionEvent *theSelectionEvent, bool theIsHighlight)
 To process highlight (called from #SVTK_InteractorStyle)
virtual void Highlight (bool theIsHighlight)
 Internal highlight.
virtual void SetVTKMapping (bool theIsVTKMapping)
virtual bool IsVTKMapping () const
virtual vtkDataSet * GetInput ()
virtual unsigned long int GetMemorySize ()
 Gets memory size used by the instance (bytes).
virtual vtkIdType GetNodeObjId (vtkIdType theID)
virtual vtkIdType GetNodeVTKID (vtkIdType theID)
virtual vtkFloatingPointType * GetNodeCoord (vtkIdType theObjID)
virtual vtkIdType GetElemObjId (vtkIdType theID)
virtual vtkIdType GetElemVTKID (vtkIdType theID)
virtual vtkCell * GetElemCell (vtkIdType theObjID)
void UpdatePickingSettings ()
 Apply the picking settings on the actor.
virtual void SetValuesLabeled (const bool theIsValLabeled)
 Methods for values labeling.
virtual bool GetValuesLabeled () const
virtual vtkDataSet * GetValLabelsInput ()
vtkTextProperty * GetsValLabelsProps () const
virtual EQuadratic2DRepresentation GetQuadratic2DRepresentation () const
virtual void SetQuadratic2DRepresentation (EQuadratic2DRepresentation theMode)
VISU::TActorFactoryGetFactory ()
virtual void SetFactory (VISU::TActorFactory *theActorFactory)
virtual void UpdateFromFactory ()
virtual void SetTransform (VTKViewer_Transform *theTransform)
virtual void ConnectToFactory (boost::signal0< void > &, boost::signal0< void > &)
virtual vtkDataSet * GetHighlightedDataSet ()
 Return pointer to the dataset, which used to calculation of the bounding box of the actor Redefined from VTKViewer_Actor.

Static Public Member Functions

static VISU_DataSetActorNew ()

Protected Member Functions

 VISU_DataSetActor ()
virtual ~VISU_DataSetActor ()
virtual void SetMapperInput (vtkDataSet *theDataSet)
virtual VISU_PipeLineGetCurrentPL ()
bool isSubElementsHighlighted ()

Static Protected Member Functions

static void ProcessEvents (vtkObject *theObject, unsigned long theEvent, void *theClientData, void *theCallData)
 Main process VTK event method.

Protected Attributes

vtkSmartPointer
< VTKViewer_DataSetMapper > 
myMapper
vtkSmartPointer
< SALOME_ExtractGeometry
myExtractor
vtkSmartPointer
< SALOME_ExtractPolyDataGeometry
myPolyDataExtractor
vtkSmartPointer
< vtkImplicitBoolean > 
myFunction
vtkSmartPointer
< vtkCallbackCommand > 
myEventCallbackCommand
vtkFloatingPointType myPriority
bool myIsVTKMapping
VISU::Prs3d_imyPrs3d
vtkSmartPointer< VISU_PipeLinemyPipeLine
vtkSmartPointer
< VTKViewer_ShrinkFilter > 
myShrinkFilter
bool myIsShrinkable
bool myIsShrunk
vtkSmartPointer< vtkTextMapper > myAnnotationMapper
vtkSmartPointer< vtkTextActor > myAnnotationActor
vtkSmartPointer
< VTKViewer_FramedTextActor > 
myTextActor
vtkSmartPointer< vtkFeatureEdges > myFeatureEdges
bool myIsFeatureEdgesAllowed
bool myIsFeatureEdgesEnabled
Selection_Mode myLastSelectionMode
bool myIsSubElementsHighlighted
bool myIsValLabeled
vtkDataSet * myValLblDataSet
vtkActor2DmyValLabels
vtkMaskPoints * myValMaskPoints
VTKViewer_CellCenters * myValCellCenters
VISU_UsedPointsFiltermyValUsedPoints
vtkLabeledDataMapper * myValLabeledDataMapper
VISU_SelectVisiblePointsmyValSelectVisiblePoints
VISU::TActorFactorymyActorFactory
vtkTimeStamp myUpdateFromFactoryTime
boost::signal1< void,
VISU_ActorBase * > 
myDestroySignal
boost::signalslib::connection myUpdateActorsConnection
boost::signalslib::connection myRemoveFromRendererConnection

Member Enumeration Documentation

Enumerator:
eLines 
eArcs 

Constructor & Destructor Documentation

VISU_DataSetActor::VISU_DataSetActor ( ) [protected]

References MESSAGE, and MYDEBUG.

VISU_DataSetActor::~VISU_DataSetActor ( ) [protected, virtual]

References MESSAGE, and MYDEBUG.


Member Function Documentation

VISU_DataSetActor.vtkTypeMacro ( VISU_DataSetActor  ,
VISU_Actor   
)
static VISU_DataSetActor* VISU_DataSetActor.New ( ) [static]
void VISU_DataSetActor::ShallowCopyPL ( VISU_PipeLine thePipeLine) [virtual]

Reimplemented from VISU_Actor.

Reimplemented in VISU_ScalarMapAct.

References VISU.CopyDataSetMapper().

vtkDataSetMapper * VISU_DataSetActor::GetDataSetMapper ( ) [virtual]
void VISU_DataSetActor::RemoveAllClippingPlanes ( ) [virtual]

Reimplemented from VISU_Actor.

vtkIdType VISU_DataSetActor::GetNumberOfClippingPlanes ( ) [virtual]

Reimplemented from VISU_Actor.

bool VISU_DataSetActor::AddClippingPlane ( vtkPlane thePlane) [virtual]

Reimplemented from VISU_Actor.

vtkPlane * VISU_DataSetActor::GetClippingPlane ( vtkIdType  theID) [virtual]

Reimplemented from VISU_Actor.

vtkImplicitFunctionCollection * VISU_DataSetActor::GetClippingPlanes ( ) [virtual]

Reimplemented from VISU_Actor.

void VISU_DataSetActor::SetMapperInput ( vtkDataSet *  theDataSet) [protected, virtual]

Implements VISU_Actor.

Reimplemented in VISU_MeshAct, and VISU_ScalarMapAct.

VISU_Actor.vtkTypeMacro ( VISU_Actor  ,
VISU_ActorBase   
) [inherited]
VISU_ActorBase.vtkTypeMacro ( VISU_ActorBase  ,
SALOME_Actor   
) [inherited]
void VISU_Actor::DeepCopy ( VISU_Actor theActor) [virtual, inherited]
void VISU_Actor::setIO ( const Handle(SALOME_InteractiveObject)&  theIO) [virtual, inherited]
VISU::Prs3d_i * VISU_Actor::GetPrs3d ( ) [inherited]
void VISU_Actor::SetPrs3d ( VISU::Prs3d_i thePrs3d) [virtual, inherited]
void VISU_Actor::SetVisibility ( int  theMode) [virtual, inherited]
bool VISU_Actor::ShouldBeDisplayed ( ) [inherited]
void VISU_Actor::SetPosition ( double  thePosition[3]) [virtual, inherited]
void VISU_Actor::SetPosition ( double  theX,
double  theY,
double  theZ 
) [virtual, inherited]
VISU_PipeLine * VISU_Actor::GetPipeLine ( ) [virtual, inherited]
void VISU_Actor::SetPipeLine ( VISU_PipeLine thePipeLine) [virtual, inherited]
void VISU_Actor::SetRepresentation ( int  theMode) [virtual, inherited]

Reimplemented from VISU_ActorBase.

Reimplemented in VISU_MeshAct, and VISU_ScalarMapAct.

References SVTK.Representation.FeatureEdges.

bool VISU_Actor::IsShrunkable ( ) [virtual, inherited]

Reimplemented from VISU_ActorBase.

bool VISU_Actor::IsShrunk ( ) [virtual, inherited]

Reimplemented from VISU_ActorBase.

void VISU_Actor::SetShrink ( ) [virtual, inherited]

Reimplemented from VISU_ActorBase.

Reimplemented in VISU_MeshAct, and VISU_ScalarMapAct.

References VISU.GetOutput().

void VISU_Actor::UnShrink ( ) [virtual, inherited]

Reimplemented from VISU_ActorBase.

Reimplemented in VISU_MeshAct, and VISU_ScalarMapAct.

References VISU.GetOutput().

void VISU_Actor::SetShrinkable ( bool  theIsShrinkable) [virtual, inherited]

Reimplemented from VISU_ActorBase.

Reimplemented in VISU_MeshAct, and VISU_ScalarMapAct.

void VISU_Actor::SetShrinkFactor ( vtkFloatingPointType  theFactor = 0.8) [virtual, inherited]

Reimplemented from VISU_ActorBase.

Reimplemented in VISU_MeshAct, and VISU_ScalarMapAct.

vtkFloatingPointType VISU_Actor::GetShrinkFactor ( ) [virtual, inherited]

Reimplemented from VISU_ActorBase.

bool VISU_Actor::IsFeatureEdgesAllowed ( ) [virtual, inherited]
void VISU_Actor::SetFeatureEdgesAllowed ( bool  theIsFeatureEdgesAllowed) [virtual, inherited]

Reimplemented in VISU_MeshAct, and VISU_ScalarMapAct.

bool VISU_Actor::IsFeatureEdgesEnabled ( ) [virtual, inherited]
void VISU_Actor::SetFeatureEdgesEnabled ( bool  theIsFeatureEdgesEnabled) [virtual, inherited]

Reimplemented in VISU_MeshAct, and VISU_ScalarMapAct.

vtkFloatingPointType VISU_Actor::GetFeatureEdgesAngle ( ) [virtual, inherited]
void VISU_Actor::SetFeatureEdgesAngle ( vtkFloatingPointType  theAngle = 30.0) [virtual, inherited]

Reimplemented in VISU_MeshAct, and VISU_ScalarMapAct.

void VISU_Actor::GetFeatureEdgesFlags ( bool &  theIsFeatureEdges,
bool &  theIsBoundaryEdges,
bool &  theIsManifoldEdges,
bool &  theIsNonManifoldEdges 
) [virtual, inherited]
void VISU_Actor::SetFeatureEdgesFlags ( bool  theIsFeatureEdges,
bool  theIsBoundaryEdges,
bool  theIsManifoldEdges,
bool  theIsNonManifoldEdges 
) [virtual, inherited]

Reimplemented in VISU_MeshAct, and VISU_ScalarMapAct.

bool VISU_Actor::GetFeatureEdgesColoring ( ) [virtual, inherited]
void VISU_Actor::SetFeatureEdgesColoring ( bool  theIsColoring) [virtual, inherited]

Reimplemented in VISU_MeshAct, and VISU_ScalarMapAct.

void VISU_Actor::SetOpacity ( vtkFloatingPointType  theValue) [virtual, inherited]
vtkFloatingPointType VISU_Actor::GetOpacity ( ) [virtual, inherited]

Reimplemented in VISU_MeshAct, and VISU_ScalarMapAct.

void VISU_Actor::SetLineWidth ( vtkFloatingPointType  theLineWidth) [virtual, inherited]

Reimplemented from VISU_ActorBase.

Reimplemented in VISU_MeshAct, and VISU_ScalarMapAct.

vtkFloatingPointType VISU_Actor::GetLineWidth ( ) [virtual, inherited]

Reimplemented from VISU_ActorBase.

Reimplemented in VISU_MeshAct, and VISU_ScalarMapAct.

void VISU_Actor::AddToRender ( vtkRenderer *  theRenderer) [virtual, inherited]
void VISU_Actor::RemoveFromRender ( vtkRenderer *  theRenderer) [virtual, inherited]
void VISU_ActorBase::RemoveFromRender ( ) [virtual, inherited]

References VISU.GetRenderer().

void VISU_Actor::highlight ( bool  theIsHighlight) [virtual, inherited]

Updates visibility of the highlight devices

References ChangeZoom(), VISU_PickingSettings.Get(), and VISU.GetRenderer().

bool VISU_Actor::PreHighlight ( vtkInteractorStyle *  theInteractorStyle,
SVTK_SelectionEvent *  theSelectionEvent,
bool  theIsHighlight 
) [virtual, inherited]

To process prehighlight (called from SVTK_InteractorStyle)

Reimplemented in VISU_GaussPtsAct.

References VISU.GetElemCell(), and VISU.GetNodeCoord().

bool VISU_Actor::Highlight ( vtkInteractorStyle *  theInteractorStyle,
SVTK_SelectionEvent *  theSelectionEvent,
bool  theIsHighlight 
) [virtual, inherited]

To process highlight (called from SVTK_InteractorStyle)

Reimplemented in VISU_GaussPtsAct.

void VISU_Actor::Highlight ( bool  theIsHighlight) [virtual, inherited]
void VISU_Actor::SetVTKMapping ( bool  theIsVTKMapping) [virtual, inherited]
bool VISU_Actor::IsVTKMapping ( ) const [virtual, inherited]
vtkDataSet * VISU_Actor::GetInput ( ) [virtual, inherited]

Reimplemented in VISU_GaussPtsAct, and VISU_VectorsAct.

References VISU.GetInput().

unsigned long int VISU_Actor::GetMemorySize ( ) [virtual, inherited]
vtkIdType VISU_Actor::GetNodeObjId ( vtkIdType  theID) [virtual, inherited]
vtkIdType VISU_Actor::GetNodeVTKID ( vtkIdType  theID) [virtual, inherited]
vtkFloatingPointType * VISU_Actor::GetNodeCoord ( vtkIdType  theObjID) [virtual, inherited]
vtkIdType VISU_Actor::GetElemObjId ( vtkIdType  theID) [virtual, inherited]
vtkIdType VISU_Actor::GetElemVTKID ( vtkIdType  theID) [virtual, inherited]
vtkCell * VISU_Actor::GetElemCell ( vtkIdType  theObjID) [virtual, inherited]
void VISU_Actor::UpdatePickingSettings ( ) [inherited]

Reimplemented in VISU_GaussPtsAct.

References VISU_PickingSettings.Get().

void VISU_Actor::SetValuesLabeled ( const bool  theIsValLabeled) [virtual, inherited]
bool VISU_Actor::GetValuesLabeled ( ) const [virtual, inherited]
vtkDataSet * VISU_Actor::GetValLabelsInput ( ) [virtual, inherited]
vtkTextProperty * VISU_Actor::GetsValLabelsProps ( ) const [inherited]
VISU_Actor::EQuadratic2DRepresentation VISU_Actor::GetQuadratic2DRepresentation ( ) const [virtual, inherited]

Reimplemented in VISU_MeshAct, and VISU_ScalarMapAct.

References VISU_Actor.eArcs, and VISU_Actor.eLines.

void VISU_Actor::SetQuadratic2DRepresentation ( EQuadratic2DRepresentation  theMode) [virtual, inherited]

Reimplemented in VISU_MeshAct, and VISU_ScalarMapAct.

References VISU_Actor.eArcs, and VISU_Actor.eLines.

VISU_PipeLine * VISU_Actor::GetCurrentPL ( ) [protected, virtual, inherited]

Reimplemented in VISU_GaussPtsAct.

bool VISU_Actor::isSubElementsHighlighted ( ) [protected, inherited]
static void VISU_Actor.ProcessEvents ( vtkObject theObject,
unsigned long  theEvent,
void *  theClientData,
void *  theCallData 
) [static, protected, inherited]

Reimplemented in VISU_GaussPtsAct, and VISU_GaussPtsAct1.

VISU::TActorFactory * VISU_ActorBase::GetFactory ( ) [inherited]
void VISU_ActorBase::SetFactory ( VISU::TActorFactory theActorFactory) [virtual, inherited]

Reimplemented in VISU_GaussPtsAct.

References VISU.TActorFactory.RemoveActor().

void VISU_ActorBase::UpdateFromFactory ( ) [virtual, inherited]
void VISU_ActorBase::SetTransform ( VTKViewer_Transform *  theTransform) [virtual, inherited]
void VISU_ActorBase::ConnectToFactory ( boost::signal0< void > &  theUpdateActorSignal,
boost::signal0< void > &  theRemoveFromRendererSignal 
) [virtual, inherited]
vtkDataSet * VISU_ActorBase::GetHighlightedDataSet ( ) [virtual, inherited]

Reimplemented in VISU_VectorsAct.


Field Documentation

vtkSmartPointer<VTKViewer_DataSetMapper> VISU_DataSetActor.myMapper [protected]
vtkSmartPointer<vtkImplicitBoolean> VISU_DataSetActor.myFunction [protected]
vtkSmartPointer<vtkCallbackCommand> VISU_Actor.myEventCallbackCommand [protected, inherited]

Reimplemented in VISU_GaussPtsAct.

vtkFloatingPointType VISU_Actor.myPriority [protected, inherited]

Reimplemented in VISU_GaussPtsAct.

bool VISU_Actor.myIsVTKMapping [protected, inherited]
VISU::Prs3d_i* VISU_Actor.myPrs3d [protected, inherited]
vtkSmartPointer<VISU_PipeLine> VISU_Actor.myPipeLine [protected, inherited]
vtkSmartPointer<VTKViewer_ShrinkFilter> VISU_Actor.myShrinkFilter [protected, inherited]

Reimplemented from VISU_ActorBase.

bool VISU_Actor.myIsShrinkable [protected, inherited]

Reimplemented from VISU_ActorBase.

bool VISU_Actor.myIsShrunk [protected, inherited]

Reimplemented from VISU_ActorBase.

vtkSmartPointer<vtkTextMapper> VISU_Actor.myAnnotationMapper [protected, inherited]
vtkSmartPointer<vtkTextActor> VISU_Actor.myAnnotationActor [protected, inherited]
vtkSmartPointer<VTKViewer_FramedTextActor> VISU_Actor.myTextActor [protected, inherited]
vtkSmartPointer<vtkFeatureEdges> VISU_Actor.myFeatureEdges [protected, inherited]
bool VISU_Actor.myIsFeatureEdgesAllowed [protected, inherited]
bool VISU_Actor.myIsFeatureEdgesEnabled [protected, inherited]
Selection_Mode VISU_Actor.myLastSelectionMode [protected, inherited]
bool VISU_Actor.myIsSubElementsHighlighted [protected, inherited]
bool VISU_Actor.myIsValLabeled [protected, inherited]
vtkDataSet* VISU_Actor.myValLblDataSet [protected, inherited]
vtkActor2D* VISU_Actor.myValLabels [protected, inherited]
vtkMaskPoints* VISU_Actor.myValMaskPoints [protected, inherited]
VTKViewer_CellCenters* VISU_Actor.myValCellCenters [protected, inherited]
vtkLabeledDataMapper* VISU_Actor.myValLabeledDataMapper [protected, inherited]
vtkTimeStamp VISU_ActorBase.myUpdateFromFactoryTime [protected, inherited]
boost::signal1<void,VISU_ActorBase*> VISU_ActorBase.myDestroySignal [protected, inherited]
boost::signalslib::connection VISU_ActorBase.myUpdateActorsConnection [protected, inherited]
boost::signalslib::connection VISU_ActorBase.myRemoveFromRendererConnection [protected, inherited]
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS