27 #ifndef SALOME_ACTOR_H
28 #define SALOME_ACTOR_H
44 #include <vtkSmartPointer.h>
46 class vtkAbstractPicker;
49 class vtkOutlineSource;
63 #pragma warning ( disable:4251 )
109 SetPosition(
double _arg1,
116 SetPosition(
double _arg[3]);
122 SetVisibility(
int );
169 Highlight(
bool theHighlight);
177 bool theIsHighlight);
184 bool theIsHighlight);
190 IsDisplayNameActor()
const;
195 SetIsDisplayNameActor(
bool theIsDisplayNameActor);
200 SetNameActorText(
const char* theText);
205 SetNameActorOffset(
double theOffset[2]);
210 GetNameActorSize(vtkRenderer* theRenderer,
double theSize[2])
const;
246 SetPointPicker(vtkPointPicker* thePointPicker);
250 SetCellPicker(vtkCellPicker* theCellPicker);
262 double* GetGravityCenter(
int );
267 SetPreHighlightProperty(vtkProperty* theProperty);
271 SetHighlightProperty(vtkProperty* theProperty);
317 #pragma warning ( default:4251 )
Handle(TDocStd_Application) CAF_Application
Get OCAF application.
Definition: CAF_Application.cxx:97
int SALOME_LINE_WIDTH
Definition: SALOME_Actor.cxx:82
int SALOME_POINT_SIZE
Definition: SALOME_Actor.cxx:81
Selection_Mode
Definition: SALOME_Selection.h:27
#define SVTK_EXPORT
Definition: SVTK.h:37
The class is a basic one for all SALOME VTK presentation.
Definition: SALOME_Actor.h:73
Handle(SALOME_InteractiveObject) myIO
vtkSmartPointer< SVTK_Actor > myHighlightActor
Definition: SALOME_Actor.h:296
vtkSmartPointer< SVTK_AreaPicker > myCellAreaPicker
Definition: SALOME_Actor.h:293
bool myIsDisplayNameActor
Definition: SALOME_Actor.h:301
vtkSmartPointer< VTKViewer_Actor > myOutlineActor
Definition: SALOME_Actor.h:298
vtkSmartPointer< VTKViewer_FramedTextActor > myNameActor
Definition: SALOME_Actor.h:302
vtkSmartPointer< vtkCellPicker > myCellPicker
Definition: SALOME_Actor.h:290
vtkSmartPointer< SVTK_Selector > mySelector
Definition: SALOME_Actor.h:285
Selection_Mode mySelectionMode
Definition: SALOME_Actor.h:284
vtkSmartPointer< SVTK_Actor > myPreHighlightActor
Definition: SALOME_Actor.h:295
static SALOME_Actor * New()
vtkRenderer * myRenderer
Definition: SALOME_Actor.h:276
vtkSmartPointer< SVTK_AreaPicker > myPointAreaPicker
Definition: SALOME_Actor.h:292
vtkSmartPointer< vtkOutlineSource > myOutline
Definition: SALOME_Actor.h:299
vtkRenderWindowInteractor * myInteractor
Definition: SALOME_Actor.h:275
vtkSmartPointer< vtkPointPicker > myPointPicker
Definition: SALOME_Actor.h:289
vtkTypeMacro(SALOME_Actor, VTKViewer_Actor) virtual Standard_Boolean hasIO()
To check, if the SALOME_Actor has a reference to SALOME_InteractiveObject.
virtual const Handle(SALOME_InteractiveObject) &getIO()
Get correspoinding reference to SALOME_InteractiveObject.
Definition: SALOME_Actor.h:308
vtkAbstractPicker * myPicker
Definition: SALOME_Actor.h:309
This class used for internal SVTK package purpose (highlight and prehighlight)
Definition: SVTK_Actor.h:47
Rectangular picker class.
Definition: SVTK_AreaPicker.h:55
Introduce SALOME way of user interaction.
Definition: SVTK_InteractorStyle.h:158
Define an abstract interface for selection in SVTK package.
Definition: SVTK_Selector.h:58
Definition: VTKViewer_Actor.h:79
virtual void AddToRender(vtkRenderer *theRendere)
To publish the actor an all its internal devices.
Definition: VTKViewer_Actor.cxx:129
virtual void highlight(bool theHighlight)
Just to update visibility of the highlight devices.
Definition: VTKViewer_Actor.cxx:731
virtual void RemoveFromRender(vtkRenderer *theRendere)
To remove the actor an all its internal devices.
Definition: VTKViewer_Actor.cxx:139
virtual void setName(const char *theName)
Name the VTKViewer_Actor.
Definition: VTKViewer_Actor.cxx:119
virtual void SetTransform(VTKViewer_Transform *theTransform)
Apply view transformation.
Definition: VTKViewer_Actor.cxx:158
Definition: VTKViewer_FramedTextActor.h:38
Definition: SALOME_Actor.cxx:148
int MarkerType
Type of standard marker for advanced rendering of vtk points.
Definition: VTKViewer_MarkerDef.h:30
int MarkerScale
Scale of standard marker for advanced rendering of vtk points.
Definition: VTKViewer_MarkerDef.h:44
std::list< unsigned short > MarkerTexture
Definition: VTKViewer_MarkerDef.h:60
The structure is used for passing all infromation necessary for claculation of the selection.
Definition: SVTK_SelectionEvent.h:41