28#ifndef GEOM_VTKTrihedron_H
29#define GEOM_VTKTrihedron_H
33#include <Geom_Axis2Placement.hxx>
34#include "SALOME_Actor.h"
35#include "VTKViewer_Trihedron.h"
38class vtkPolyDataMapper;
58 virtual double GetSize() {
return mySize;}
60 virtual void SetVisibility(
int theVisibility );
61 virtual void SetVisibility( VTKViewer_Trihedron::TVisibility theVis );
62 virtual void VisibilityOff() { SetVisibility( VTKViewer_Trihedron::eOff ); }
63 virtual void VisibilityOn() { SetVisibility( VTKViewer_Trihedron::eOn ); }
65 virtual void AddToRender( vtkRenderer* theRenderer );
66 virtual void RemoveFromRender( vtkRenderer* theRenderer );
68 virtual int GetVisibleActorCount( vtkRenderer* theRenderer );
70 void SetPlacement(
const Handle(Geom_Axis2Placement)& );
72 virtual vtkMapper* GetMapper();
74 virtual void Render(vtkRenderer *, vtkMapper *);
75 virtual bool IsSetCamera()
const;
76 virtual bool IsResizable()
const;
77 virtual void SetSize(
double );
78 virtual void SetCamera( vtkCamera* );
80 void SetColor(
double r,
double g,
double b );
81 void GetColor(
double& r,
double& g,
double& b );
85 virtual void Highlight(
bool theHighlight );
86 virtual bool PreHighlight( vtkInteractorStyle* theInteractorStyle,
87 SVTK_SelectionEvent* theSelectionEvent,
88 bool theIsHighlight );
91 virtual void ResetAxesColors();
92 virtual void SetAxesColors(
double theColor[3],
bool theIsDiffuse =
false );
101 double myDefaultColor[ 3 ];
102 double myPreHighlightColor[ 3 ];
103 double myHighlightColor[ 3 ];
Handle(TColStd_HSequenceOfTransient) AdvancedEngine_IOperations
Create a T-shape object with specified caracteristics for the main and the incident pipes (radius,...
Definition: AdvancedEngine_IOperations.cxx:1907
#define GEOM_OBJECT_EXPORT
Definition: GEOM_OBJECT_defs.hxx:37
Definition: GEOM_VTKTrihedron.hxx:47
gp_Pnt myLocation
Definition: GEOM_VTKTrihedron.hxx:98
virtual double GetSize()
Definition: GEOM_VTKTrihedron.hxx:58
vtkPolyDataMapper * myMapper
Definition: GEOM_VTKTrihedron.hxx:96
virtual bool hasHighlight()
Definition: GEOM_VTKTrihedron.hxx:83
vtkTypeMacro(GEOM_VTKTrihedron, SALOME_Actor) static GEOM_VTKTrihedron *New()
gp_Dir myDirX
Definition: GEOM_VTKTrihedron.hxx:99
virtual void VisibilityOn()
Definition: GEOM_VTKTrihedron.hxx:63
double mySize
Definition: GEOM_VTKTrihedron.hxx:97
GEOM_VTKTrihedron(const GEOM_VTKTrihedron &)
virtual void VisibilityOff()
Definition: GEOM_VTKTrihedron.hxx:62