Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
GEOM_VTKTrihedron Class Reference

#include <GEOM_VTKTrihedron.hxx>

Inheritance diagram for GEOM_VTKTrihedron:
Inheritance graph

Public Member Functions

 vtkTypeMacro (GEOM_VTKTrihedron, SALOME_Actor)
 
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)
 

Static Public Member Functions

static GEOM_VTKTrihedronNew ()
 

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::GEOM_VTKTrihedron ( )
protected
GEOM_VTKTrihedron::GEOM_VTKTrihedron ( const GEOM_VTKTrihedron )
protected
GEOM_VTKTrihedron::~GEOM_VTKTrihedron ( )
protectedvirtual

References myAxis, and myMapper.

Member Function Documentation

void GEOM_VTKTrihedron::AddToRender ( vtkRenderer *  theRenderer)
virtual

References myAxis.

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

References myColor.

vtkMapper * GEOM_VTKTrihedron::GetMapper ( )
virtual

References myMapper.

virtual double GEOM_VTKTrihedron::GetSize ( )
inlinevirtual
int GEOM_VTKTrihedron::GetVisibleActorCount ( vtkRenderer *  theRenderer)
virtual

References myAxis, and SetCamera().

virtual bool GEOM_VTKTrihedron::hasHighlight ( )
inlinevirtual
void GEOM_VTKTrihedron::Highlight ( bool  theHighlight)
virtual
bool GEOM_VTKTrihedron::IsResizable ( ) const
virtual
bool GEOM_VTKTrihedron::IsSetCamera ( ) const
virtual
static GEOM_VTKTrihedron* GEOM_VTKTrihedron::New ( )
static
bool GEOM_VTKTrihedron::PreHighlight ( vtkInteractorStyle *  theInteractorStyle,
SVTK_SelectionEvent *  theSelectionEvent,
bool  theIsHighlight 
)
virtual
void GEOM_VTKTrihedron::RemoveFromRender ( vtkRenderer *  theRenderer)
virtual

References myAxis.

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

References myAxis.

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

References myAxis.

void GEOM_VTKTrihedron::SetCamera ( vtkCamera *  theCamera)
virtual

References myAxis.

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

References myAxis, and myColor.

void GEOM_VTKTrihedron::SetPlacement ( const Handle(Geom_Axis2Placement)&  thePlc)
void GEOM_VTKTrihedron::SetSize ( double  theSize)
virtual
void GEOM_VTKTrihedron::SetVisibility ( int  theVisibility)
virtual
void GEOM_VTKTrihedron::SetVisibility ( VTKViewer_Trihedron::TVisibility  theVis)
virtual

References myAxis, and SetVisibility().

virtual void GEOM_VTKTrihedron::VisibilityOff ( )
inlinevirtual
virtual void GEOM_VTKTrihedron::VisibilityOn ( )
inlinevirtual
GEOM_VTKTrihedron::vtkTypeMacro ( GEOM_VTKTrihedron  ,
SALOME_Actor   
)

Member Data Documentation

VTKViewer_Axis* GEOM_VTKTrihedron::myAxis[3]
protected
double GEOM_VTKTrihedron::myColor[3]
protected
double GEOM_VTKTrihedron::myDefaultColor[3]
protected
gp_Dir GEOM_VTKTrihedron::myDirX
protected
gp_Dir GEOM_VTKTrihedron::myDirY
protected
gp_Dir GEOM_VTKTrihedron::myDirZ
protected
double GEOM_VTKTrihedron::myHighlightColor[3]
protected
gp_Pnt GEOM_VTKTrihedron::myLocation
protected
vtkPolyDataMapper* GEOM_VTKTrihedron::myMapper
protected
double GEOM_VTKTrihedron::myPreHighlightColor[3]
protected
double GEOM_VTKTrihedron::mySize
protected

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