Version: 9.12.0
GEOM_VTKTrihedron Class Reference

#include <GEOM_VTKTrihedron.hxx>

Inheritance diagram for GEOM_VTKTrihedron:
Inheritance graph

Public Member Functions

 vtkTypeMacro (GEOM_VTKTrihedron, SALOME_Actor) static GEOM_VTKTrihedron *New()
 
virtual double GetSize ()
 
virtual void SetVisibility (int theVisibility)
 
virtual void SetVisibility (VTKViewer_Trihedron::TVisibility theVis)
 
virtual void VisibilityOff ()
 
virtual void VisibilityOn ()
 
virtual void AddToRender (vtkRenderer *theRenderer)
 
virtual void RemoveFromRender (vtkRenderer *theRenderer)
 
virtual int GetVisibleActorCount (vtkRenderer *theRenderer)
 
void SetPlacement (const Handle(Geom_Axis2Placement)&)
 
virtual vtkMapper * GetMapper ()
 
virtual void Render (vtkRenderer *, vtkMapper *)
 
virtual bool IsSetCamera () const
 
virtual bool IsResizable () const
 
virtual void SetSize (double)
 
virtual void SetCamera (vtkCamera *)
 
void SetColor (double r, double g, double b)
 
void GetColor (double &r, double &g, double &b)
 
virtual bool hasHighlight ()
 
virtual void Highlight (bool theHighlight)
 
virtual bool PreHighlight (vtkInteractorStyle *theInteractorStyle, SVTK_SelectionEvent *theSelectionEvent, bool theIsHighlight)
 

Protected Member Functions

 GEOM_VTKTrihedron ()
 
 GEOM_VTKTrihedron (const GEOM_VTKTrihedron &)
 
virtual ~GEOM_VTKTrihedron ()
 
virtual void ResetAxesColors ()
 
virtual void SetAxesColors (double theColor[3], bool theIsDiffuse=false)
 

Protected Attributes

VTKViewer_AxismyAxis [3]
 
vtkPolyDataMapper * myMapper
 
double mySize
 
gp_Pnt myLocation
 
gp_Dir myDirX
 
gp_Dir myDirY
 
gp_Dir myDirZ
 
double myColor [3]
 
double myDefaultColor [3]
 
double myPreHighlightColor [3]
 
double myHighlightColor [3]
 

Constructor & Destructor Documentation

◆ GEOM_VTKTrihedron() [1/2]

GEOM_VTKTrihedron::GEOM_VTKTrihedron ( )
protected

◆ GEOM_VTKTrihedron() [2/2]

GEOM_VTKTrihedron::GEOM_VTKTrihedron ( const GEOM_VTKTrihedron )
protected

◆ ~GEOM_VTKTrihedron()

GEOM_VTKTrihedron::~GEOM_VTKTrihedron ( )
protectedvirtual

References myAxis, and myMapper.

Member Function Documentation

◆ AddToRender()

void GEOM_VTKTrihedron::AddToRender ( vtkRenderer *  theRenderer)
virtual

References myAxis.

◆ GetColor()

void GEOM_VTKTrihedron::GetColor ( double &  r,
double &  g,
double &  b 
)

References myColor.

◆ GetMapper()

vtkMapper * GEOM_VTKTrihedron::GetMapper ( )
virtual

References myMapper.

◆ GetSize()

virtual double GEOM_VTKTrihedron::GetSize ( )
inlinevirtual

◆ GetVisibleActorCount()

int GEOM_VTKTrihedron::GetVisibleActorCount ( vtkRenderer *  theRenderer)
virtual

References myAxis, and SetCamera().

◆ hasHighlight()

virtual bool GEOM_VTKTrihedron::hasHighlight ( )
inlinevirtual

◆ Highlight()

void GEOM_VTKTrihedron::Highlight ( bool  theHighlight)
virtual

◆ IsResizable()

bool GEOM_VTKTrihedron::IsResizable ( ) const
virtual

◆ IsSetCamera()

bool GEOM_VTKTrihedron::IsSetCamera ( ) const
virtual

◆ PreHighlight()

bool GEOM_VTKTrihedron::PreHighlight ( vtkInteractorStyle *  theInteractorStyle,
SVTK_SelectionEvent *  theSelectionEvent,
bool  theIsHighlight 
)
virtual

◆ RemoveFromRender()

void GEOM_VTKTrihedron::RemoveFromRender ( vtkRenderer *  theRenderer)
virtual

References myAxis.

◆ Render()

void GEOM_VTKTrihedron::Render ( vtkRenderer *  r,
vtkMapper *   
)
virtual

References myAxis.

◆ ResetAxesColors()

void GEOM_VTKTrihedron::ResetAxesColors ( )
protectedvirtual

◆ SetAxesColors()

void GEOM_VTKTrihedron::SetAxesColors ( double  theColor[3],
bool  theIsDiffuse = false 
)
protectedvirtual

References myAxis.

◆ SetCamera()

void GEOM_VTKTrihedron::SetCamera ( vtkCamera *  theCamera)
virtual

References myAxis.

◆ SetColor()

void GEOM_VTKTrihedron::SetColor ( double  r,
double  g,
double  b 
)

References myAxis, and myColor.

◆ SetPlacement()

void GEOM_VTKTrihedron::SetPlacement ( const Handle(Geom_Axis2Placement)&  thePlc)

◆ SetSize()

void GEOM_VTKTrihedron::SetSize ( double  theSize)
virtual

◆ SetVisibility() [1/2]

void GEOM_VTKTrihedron::SetVisibility ( int  theVisibility)
virtual

◆ SetVisibility() [2/2]

void GEOM_VTKTrihedron::SetVisibility ( VTKViewer_Trihedron::TVisibility  theVis)
virtual

References myAxis, and SetVisibility().

◆ VisibilityOff()

virtual void GEOM_VTKTrihedron::VisibilityOff ( )
inlinevirtual

◆ VisibilityOn()

virtual void GEOM_VTKTrihedron::VisibilityOn ( )
inlinevirtual

◆ vtkTypeMacro()

GEOM_VTKTrihedron::vtkTypeMacro ( GEOM_VTKTrihedron  ,
SALOME_Actor   
)

Member Data Documentation

◆ myAxis

VTKViewer_Axis* GEOM_VTKTrihedron::myAxis[3]
protected

◆ myColor

double GEOM_VTKTrihedron::myColor[3]
protected

◆ myDefaultColor

double GEOM_VTKTrihedron::myDefaultColor[3]
protected

◆ myDirX

gp_Dir GEOM_VTKTrihedron::myDirX
protected

◆ myDirY

gp_Dir GEOM_VTKTrihedron::myDirY
protected

◆ myDirZ

gp_Dir GEOM_VTKTrihedron::myDirZ
protected

◆ myHighlightColor

double GEOM_VTKTrihedron::myHighlightColor[3]
protected

◆ myLocation

gp_Pnt GEOM_VTKTrihedron::myLocation
protected

◆ myMapper

vtkPolyDataMapper* GEOM_VTKTrihedron::myMapper
protected

◆ myPreHighlightColor

double GEOM_VTKTrihedron::myPreHighlightColor[3]
protected

◆ mySize

double GEOM_VTKTrihedron::mySize
protected

The documentation for this class was generated from the following files: