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

VISU_ActorBase Class Reference

This class defines an abstaract interface to manage actors.

#include <VISU_ActorBase.h>

Inheritance diagram for VISU_ActorBase:
Inheritance graph

Public Member Functions

 vtkTypeMacro (VISU_ActorBase, SALOME_Actor)
VISU::TActorFactoryGetFactory ()
virtual void SetFactory (VISU::TActorFactory *theActorFactory)
virtual void UpdateFromFactory ()
virtual void SetTransform (VTKViewer_Transform *theTransform)
virtual void SetLineWidth (vtkFloatingPointType theLineWidth)
virtual vtkFloatingPointType GetLineWidth ()
virtual void SetShrink ()
virtual void UnShrink ()
virtual bool IsShrunkable ()
virtual bool IsShrunk ()
virtual void SetShrinkable (bool theIsShrinkable)
virtual void SetShrinkFactor (vtkFloatingPointType theFactor=0.8)
virtual vtkFloatingPointType GetShrinkFactor ()
virtual void SetRepresentation (int theMode)
virtual void RemoveFromRender (vtkRenderer *theRenderer)
virtual void RemoveFromRender ()
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.

Protected Member Functions

 VISU_ActorBase ()
virtual ~VISU_ActorBase ()

Protected Attributes

VISU::TActorFactorymyActorFactory
vtkTimeStamp myUpdateFromFactoryTime
boost::signal1< void,
VISU_ActorBase * > 
myDestroySignal
boost::signalslib::connection myUpdateActorsConnection
boost::signalslib::connection myRemoveFromRendererConnection
vtkSmartPointer
< VTKViewer_ShrinkFilter > 
myShrinkFilter
bool myIsShrinkable
bool myIsShrunk

Constructor & Destructor Documentation

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

Member Function Documentation

VISU_ActorBase.vtkTypeMacro ( VISU_ActorBase  ,
SALOME_Actor   
)
VISU::TActorFactory * VISU_ActorBase::GetFactory ( )
void VISU_ActorBase::SetFactory ( VISU::TActorFactory theActorFactory) [virtual]

Reimplemented in VISU_GaussPtsAct.

References VISU.TActorFactory.RemoveActor().

void VISU_ActorBase::UpdateFromFactory ( ) [virtual]
void VISU_ActorBase::SetTransform ( VTKViewer_Transform *  theTransform) [virtual]
void VISU_ActorBase::SetLineWidth ( vtkFloatingPointType  theLineWidth) [virtual]

Reimplemented in VISU_Actor, VISU_MeshAct, and VISU_ScalarMapAct.

vtkFloatingPointType VISU_ActorBase::GetLineWidth ( ) [virtual]

Reimplemented in VISU_Actor, VISU_MeshAct, and VISU_ScalarMapAct.

void VISU_ActorBase::SetShrink ( ) [virtual]
void VISU_ActorBase::UnShrink ( ) [virtual]

Reimplemented in VISU_Actor, VISU_MeshAct, and VISU_ScalarMapAct.

References VISU.GetOutput(), and myIsShrunk.

bool VISU_ActorBase::IsShrunkable ( ) [virtual]

Reimplemented in VISU_Actor.

References myIsShrinkable.

bool VISU_ActorBase::IsShrunk ( ) [virtual]

Reimplemented in VISU_Actor.

References myIsShrunk.

void VISU_ActorBase::SetShrinkable ( bool  theIsShrinkable) [virtual]

Reimplemented in VISU_Actor, VISU_MeshAct, and VISU_ScalarMapAct.

References myIsShrinkable.

void VISU_ActorBase::SetShrinkFactor ( vtkFloatingPointType  theFactor = 0.8) [virtual]

Reimplemented in VISU_Actor, VISU_MeshAct, and VISU_ScalarMapAct.

vtkFloatingPointType VISU_ActorBase::GetShrinkFactor ( ) [virtual]

Reimplemented in VISU_Actor.

void VISU_ActorBase::SetRepresentation ( int  theMode) [virtual]

Reimplemented in VISU_Actor, VISU_MeshAct, and VISU_ScalarMapAct.

void VISU_ActorBase::RemoveFromRender ( vtkRenderer *  theRenderer) [virtual]
void VISU_ActorBase::RemoveFromRender ( ) [virtual]

References VISU.GetRenderer().

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

Reimplemented in VISU_VectorsAct.


Field Documentation

vtkTimeStamp VISU_ActorBase.myUpdateFromFactoryTime [protected]
boost::signal1<void,VISU_ActorBase*> VISU_ActorBase.myDestroySignal [protected]
boost::signalslib::connection VISU_ActorBase.myUpdateActorsConnection [protected]
boost::signalslib::connection VISU_ActorBase.myRemoveFromRendererConnection [protected]
vtkSmartPointer<VTKViewer_ShrinkFilter> VISU_ActorBase.myShrinkFilter [protected]

Reimplemented in VISU_Actor.

Reimplemented in VISU_Actor.

bool VISU_ActorBase.myIsShrunk [protected]

Reimplemented in VISU_Actor.

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