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

VISU_ScalarBarCtrl Class Reference

#include <VISU_ScalarBarCtrl.hxx>

Inheritance diagram for VISU_ScalarBarCtrl:
Inheritance graph

Public Types

enum  EMode { eSimple, eGlobal, eLocal }

Public Member Functions

 vtkTypeMacro (VISU_ScalarBarCtrl, vtkObject)
void SetMode (EMode theMode)
EMode GetMode () const
void SetRangeGlobal (vtkFloatingPointType theMin, vtkFloatingPointType theMax)
void SetRangeGlobal (vtkFloatingPointType *theRange)
void SetGlobalRangeIsDefined (bool theIsDefined)
void SetRangeLocal (vtkFloatingPointType theMin, vtkFloatingPointType theMax)
void SetRangeLocal (vtkFloatingPointType *theRange)
VISU_ScalarBarActorGetLocalBar ()
VISU_LookupTableGetLocalTable ()
VISU_ScalarBarActorGetGlobalBar ()
VISU_LookupTableGetGlobalTable ()
void AddToRender (vtkRenderer *theRenderer)
void RemoveFromRender (vtkRenderer *theRenderer)
void SetVisibility (int theFlag)
int GetVisibility () const
void SetCtrlVisibility (int theFlag)
int GetCtrlVisibility () const
void Update ()
void SetWidth (const vtkFloatingPointType theWidth)
vtkFloatingPointType GetWidth () const
void SetHeight (const vtkFloatingPointType theHeight)
vtkFloatingPointType GetHeight () const
void SetPosition (const vtkFloatingPointType *thePosition)
const vtkFloatingPointType * GetPosition () const
void SetSpacing (const vtkFloatingPointType theSpacing)
vtkFloatingPointType GetSpacing () const
bool GetBicolor () const
void SetBicolor (const bool theBicolor)
void SetMarkValue (const vtkFloatingPointType theValue)
vtkFloatingPointType GetMarkValue () const
void SetIsMarked (const bool theFlag)
bool GetIsMarked () const

Static Public Member Functions

static VISU_ScalarBarCtrlNew ()

Protected Member Functions

 VISU_ScalarBarCtrl ()
virtual ~VISU_ScalarBarCtrl ()
void UpdateForBicolor ()
void UpdateForColor ()
void UpdateMarkValue ()
void PrepareTables ()
void PrepareTables (VISU_ScalarBarActor *theScalarBarActor, VISU_LookupTable *theLookupTable, vtkIdType theId)

Protected Attributes

EMode myMode
bool myGlobalRangeIsDefined
vtkFloatingPointType myDistance
vtkFloatingPointType myPosition [2]
bool myBicolor
int myCtrlVisibility
unsigned char myBlack [3]
unsigned char myGrey [3]
bool myMarked
vtkFloatingPointType myMarkedValue
VISU_ScalarBarActormyGlobalScalarBar
VISU_LookupTablemyGlobalLookupTable
VISU_ScalarBarActormyLocalScalarBar
VISU_LookupTablemyLocalLookupTable

Member Enumeration Documentation

Enumerator:
eSimple 
eGlobal 
eLocal 

Constructor & Destructor Documentation

VISU_ScalarBarCtrl::VISU_ScalarBarCtrl ( ) [protected]
VISU_ScalarBarCtrl::~VISU_ScalarBarCtrl ( ) [protected, virtual]

Member Function Documentation

VISU_ScalarBarCtrl.vtkTypeMacro ( VISU_ScalarBarCtrl  ,
vtkObject   
)
static VISU_ScalarBarCtrl* VISU_ScalarBarCtrl.New ( ) [static]
void VISU_ScalarBarCtrl::SetMode ( VISU_ScalarBarCtrl::EMode  theMode)
VISU_ScalarBarCtrl::EMode VISU_ScalarBarCtrl::GetMode ( ) const
void VISU_ScalarBarCtrl::SetRangeGlobal ( vtkFloatingPointType  theMin,
vtkFloatingPointType  theMax 
)
void VISU_ScalarBarCtrl::SetRangeGlobal ( vtkFloatingPointType *  theRange)
void VISU_ScalarBarCtrl::SetGlobalRangeIsDefined ( bool  theIsDefined)
void VISU_ScalarBarCtrl::SetRangeLocal ( vtkFloatingPointType  theMin,
vtkFloatingPointType  theMax 
)
void VISU_ScalarBarCtrl::SetRangeLocal ( vtkFloatingPointType *  theRange)
VISU_ScalarBarActor * VISU_ScalarBarCtrl::GetLocalBar ( )
VISU_LookupTable * VISU_ScalarBarCtrl::GetLocalTable ( )
VISU_ScalarBarActor * VISU_ScalarBarCtrl::GetGlobalBar ( )
VISU_LookupTable * VISU_ScalarBarCtrl::GetGlobalTable ( )
void VISU_ScalarBarCtrl::AddToRender ( vtkRenderer *  theRenderer)
void VISU_ScalarBarCtrl::RemoveFromRender ( vtkRenderer *  theRenderer)
void VISU_ScalarBarCtrl::SetVisibility ( int  theFlag)
int VISU_ScalarBarCtrl::GetVisibility ( ) const
void VISU_ScalarBarCtrl::SetCtrlVisibility ( int  theFlag)
int VISU_ScalarBarCtrl::GetCtrlVisibility ( ) const
void VISU_ScalarBarCtrl::Update ( )
void VISU_ScalarBarCtrl::SetWidth ( const vtkFloatingPointType  theWidth)
vtkFloatingPointType VISU_ScalarBarCtrl::GetWidth ( ) const
void VISU_ScalarBarCtrl::SetHeight ( const vtkFloatingPointType  theHeight)
vtkFloatingPointType VISU_ScalarBarCtrl::GetHeight ( ) const
void VISU_ScalarBarCtrl::SetPosition ( const vtkFloatingPointType *  thePosition)
const vtkFloatingPointType * VISU_ScalarBarCtrl::GetPosition ( ) const

References myPosition.

void VISU_ScalarBarCtrl::SetSpacing ( const vtkFloatingPointType  theSpacing)
vtkFloatingPointType VISU_ScalarBarCtrl::GetSpacing ( ) const
bool VISU_ScalarBarCtrl::GetBicolor ( ) const
void VISU_ScalarBarCtrl::SetBicolor ( const bool  theBicolor)
void VISU_ScalarBarCtrl::SetMarkValue ( const vtkFloatingPointType  theValue)
vtkFloatingPointType VISU_ScalarBarCtrl::GetMarkValue ( ) const
void VISU_ScalarBarCtrl::SetIsMarked ( const bool  theFlag)
bool VISU_ScalarBarCtrl::GetIsMarked ( ) const
void VISU_ScalarBarCtrl::UpdateForBicolor ( ) [protected]
void VISU_ScalarBarCtrl::UpdateForColor ( ) [protected]
void VISU_ScalarBarCtrl::UpdateMarkValue ( ) [protected]
void VISU_ScalarBarCtrl::PrepareTables ( ) [protected]
void VISU_ScalarBarCtrl::PrepareTables ( VISU_ScalarBarActor theScalarBarActor,
VISU_LookupTable theLookupTable,
vtkIdType  theId 
) [protected]

Field Documentation

vtkFloatingPointType VISU_ScalarBarCtrl.myDistance [protected]
vtkFloatingPointType VISU_ScalarBarCtrl.myPosition[2] [protected]
bool VISU_ScalarBarCtrl.myBicolor [protected]
unsigned char VISU_ScalarBarCtrl.myBlack[3] [protected]
unsigned char VISU_ScalarBarCtrl.myGrey[3] [protected]
bool VISU_ScalarBarCtrl.myMarked [protected]
vtkFloatingPointType VISU_ScalarBarCtrl.myMarkedValue [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