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

GEOM_VTKTrihedron Class Reference

#include <GEOM_VTKTrihedron.hxx>

Inheritance diagram for GEOM_VTKTrihedron:
Inheritance graph

Public Member Functions

 vtkTypeMacro (GEOM_VTKTrihedron, SALOME_Actor)
virtual vtkFloatingPointType 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 (vtkFloatingPointType)
virtual void SetCamera (vtkCamera *)
void SetColor (vtkFloatingPointType r, vtkFloatingPointType g, vtkFloatingPointType b)
void GetColor (vtkFloatingPointType &r, vtkFloatingPointType &g, vtkFloatingPointType &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 (vtkFloatingPointType theColor[3], bool theIsDiffuse=false)

Protected Attributes

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

Constructor & Destructor Documentation

GEOM_VTKTrihedron::GEOM_VTKTrihedron ( ) [protected]
GEOM_VTKTrihedron.GEOM_VTKTrihedron ( const GEOM_VTKTrihedron ) [protected]
GEOM_VTKTrihedron::~GEOM_VTKTrihedron ( ) [protected, virtual]

Member Function Documentation

GEOM_VTKTrihedron.vtkTypeMacro ( GEOM_VTKTrihedron  ,
SALOME_Actor   
)
static GEOM_VTKTrihedron* GEOM_VTKTrihedron.New ( ) [static]
virtual vtkFloatingPointType GEOM_VTKTrihedron.GetSize ( ) [virtual]
void GEOM_VTKTrihedron::SetVisibility ( int  theVisibility) [virtual]
void GEOM_VTKTrihedron::SetVisibility ( VTKViewer_Trihedron::TVisibility  theVis) [virtual]
virtual void GEOM_VTKTrihedron.VisibilityOff ( ) [virtual]
virtual void GEOM_VTKTrihedron.VisibilityOn ( ) [virtual]
void GEOM_VTKTrihedron::AddToRender ( vtkRenderer *  theRenderer) [virtual]

References PAL_MESH_030_geometry.i, and myAxis.

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

References PAL_MESH_030_geometry.i, and myAxis.

int GEOM_VTKTrihedron::GetVisibleActorCount ( vtkRenderer *  theRenderer) [virtual]
void GEOM_VTKTrihedron::SetPlacement ( const Handle(Geom_Axis2Placement)&  thePlc)
vtkMapper * GEOM_VTKTrihedron::GetMapper ( ) [virtual]

References myMapper.

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

References myAxis.

bool GEOM_VTKTrihedron::IsSetCamera ( ) const [virtual]
bool GEOM_VTKTrihedron::IsResizable ( ) const [virtual]
void GEOM_VTKTrihedron::SetSize ( vtkFloatingPointType  theSize) [virtual]
void GEOM_VTKTrihedron::SetCamera ( vtkCamera *  theCamera) [virtual]

References PAL_MESH_030_geometry.i, and myAxis.

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

References myAxis, and myColor.

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

References myColor.

virtual bool GEOM_VTKTrihedron.hasHighlight ( ) [virtual]
void GEOM_VTKTrihedron::Highlight ( bool  theHighlight) [virtual]
bool GEOM_VTKTrihedron::PreHighlight ( vtkInteractorStyle *  theInteractorStyle,
SVTK_SelectionEvent *  theSelectionEvent,
bool  theIsHighlight 
) [virtual]
void GEOM_VTKTrihedron::ResetAxesColors ( ) [protected, virtual]
void GEOM_VTKTrihedron::SetAxesColors ( vtkFloatingPointType  theColor[3],
bool  theIsDiffuse = false 
) [protected, virtual]

References myAxis.


Field Documentation

vtkPolyDataMapper* GEOM_VTKTrihedron.myMapper [protected]
vtkFloatingPointType GEOM_VTKTrihedron.mySize [protected]
gp_Pnt GEOM_VTKTrihedron.myLocation [protected]
gp_Dir GEOM_VTKTrihedron.myDirX [protected]
gp_Dir GEOM_VTKTrihedron.myDirY [protected]
gp_Dir GEOM_VTKTrihedron.myDirZ [protected]
vtkFloatingPointType GEOM_VTKTrihedron.myColor[3] [protected]
vtkFloatingPointType GEOM_VTKTrihedron.myDefaultColor[3] [protected]
vtkFloatingPointType GEOM_VTKTrihedron.myPreHighlightColor[3] [protected]
vtkFloatingPointType GEOM_VTKTrihedron.myHighlightColor[3] [protected]
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