#include <SMESH_ScalarBarActor.h>
Static Public Member Functions | |
static SMESH_ScalarBarActor * | New () |
Protected Member Functions | |
SMESH_ScalarBarActor () | |
~SMESH_ScalarBarActor () | |
virtual void | AllocateAndSizeLabels (int *labelSize, int *size, vtkViewport *viewport, double *range) |
Protected Attributes | |
vtkScalarsToColors * | LookupTable |
vtkTextProperty * | TitleTextProperty |
vtkTextProperty * | LabelTextProperty |
int | MaximumNumberOfColors |
int | NumberOfLabels |
int | NumberOfLabelsBuilt |
int | Orientation |
char * | Title |
char * | LabelFormat |
vtkTextMapper ** | TextMappers |
Private Member Functions | |
void | SizeTitle (int *titleSize, int *size, vtkViewport *viewport) |
SMESH_ScalarBarActor (const SMESH_ScalarBarActor &) | |
void | operator= (const SMESH_ScalarBarActor &) |
Private Attributes | |
vtkTextMapper * | TitleMapper |
vtkActor2D * | TitleActor |
vtkActor2D ** | TextActors |
vtkPolyData * | ScalarBar |
vtkPolyDataMapper2D * | ScalarBarMapper |
vtkActor2D * | ScalarBarActor |
vtkTimeStamp | BuildTime |
int | LastSize [2] |
int | LastOrigin [2] |
vtkPolyData * | myDistribution |
vtkActor2D * | myDistributionActor |
vtkPolyDataMapper2D * | myDistributionMapper |
std::vector< int > | myNbValues |
int | myDistributionColoringType |
bool | myTitleOnlyVisibility |
|
protected |
References LabelFormat, LabelTextProperty, LastOrigin, LastSize, LookupTable, MaximumNumberOfColors, myDistribution, myDistributionActor, myDistributionColoringType, myDistributionMapper, myTitleOnlyVisibility, NumberOfLabels, NumberOfLabelsBuilt, Orientation, ScalarBar, ScalarBarActor, ScalarBarMapper, SMESH_MONOCOLOR_TYPE, TextActors, TextMappers, Title, TitleActor, TitleMapper, TitleTextProperty, and VTK_ORIENT_VERTICAL.
|
protected |
|
private |
|
protectedvirtual |
References GetDistributionVisibility(), LabelFormat, LabelTextProperty, LookupTable, MaximumNumberOfColors, myNbValues, NumberOfLabels, Orientation, TextActors, TextMappers, and VTK_ORIENT_VERTICAL.
Referenced by RenderOpaqueGeometry().
void SMESH_ScalarBarActor::GetDistributionColor | ( | double | rgb[3] | ) |
int SMESH_ScalarBarActor::GetDistributionColoringType | ( | ) |
|
virtual |
bool SMESH_ScalarBarActor::GetTitleOnlyVisibility | ( | ) |
References myTitleOnlyVisibility.
|
static |
Referenced by SMESH_ActorDef::SMESH_ActorDef().
|
private |
void SMESH_ScalarBarActor::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
virtual |
References myDistributionActor, NumberOfLabelsBuilt, ScalarBarActor, TextActors, TextMappers, and TitleActor.
int SMESH_ScalarBarActor::RenderOpaqueGeometry | ( | vtkViewport * | viewport | ) |
References AllocateAndSizeLabels(), BuildTime, GetDistributionVisibility(), LabelTextProperty, LastOrigin, LastSize, LookupTable, MaximumNumberOfColors, myDistribution, myDistributionActor, myDistributionColoringType, myNbValues, NumberOfLabels, NumberOfLabelsBuilt, Orientation, ScalarBar, ScalarBarActor, SHRINK_COEF, SizeTitle(), SMESH_MONOCOLOR_TYPE, SMESH_MULTICOLOR_TYPE, TextActors, TextMappers, Title, TitleActor, TitleMapper, TitleTextProperty, and VTK_ORIENT_VERTICAL.
int SMESH_ScalarBarActor::RenderOverlay | ( | vtkViewport * | viewport | ) |
References myDistributionActor, myTitleOnlyVisibility, NumberOfLabels, ScalarBarActor, TextActors, Title, and TitleActor.
int SMESH_ScalarBarActor::RenderTranslucentGeometry | ( | vtkViewport * | ) |
|
virtual |
References myNbValues.
Referenced by SMESH_ActorDef::UpdateDistribution().
void SMESH_ScalarBarActor::SetDistributionColor | ( | double | rgb[3] | ) |
References myDistributionActor.
Referenced by SMESHGUI_Preferences_ScalarBarDlg::onApply(), and SMESH_ActorDef::UpdateScalarBar().
void SMESH_ScalarBarActor::SetDistributionColoringType | ( | int | theDistributionColoringType | ) |
Referenced by SMESHGUI_Preferences_ScalarBarDlg::onApply(), and SMESH_ActorDef::UpdateScalarBar().
|
virtual |
References myDistributionActor.
Referenced by SMESHGUI_Preferences_ScalarBarDlg::onApply(), and SMESH_ActorDef::UpdateScalarBar().
|
virtual |
|
virtual |
Referenced by ShallowCopy(), SMESH_ActorDef::SMESH_ActorDef(), and ~SMESH_ScalarBarActor().
void SMESH_ScalarBarActor::SetOrientationToHorizontal | ( | ) |
References VTK_ORIENT_HORIZONTAL.
Referenced by SMESHGUI_Preferences_ScalarBarDlg::onApply(), and SMESH_ActorDef::UpdateScalarBar().
void SMESH_ScalarBarActor::SetOrientationToVertical | ( | ) |
References VTK_ORIENT_VERTICAL.
Referenced by SMESHGUI_Preferences_ScalarBarDlg::onApply(), and SMESH_ActorDef::UpdateScalarBar().
void SMESH_ScalarBarActor::SetTitleOnlyVisibility | ( | bool | theTitleOnlyVisibility | ) |
References myTitleOnlyVisibility.
Referenced by SMESH_ActorDef::SetControlMode().
|
virtual |
void SMESH_ScalarBarActor::ShallowCopy | ( | vtkProp * | prop | ) |
References SetLabelTextProperty(), SetLookupTable(), and SetTitleTextProperty().
|
private |
References GetDistributionVisibility(), MaximumNumberOfColors, myNbValues, Orientation, Title, TitleMapper, and VTK_ORIENT_VERTICAL.
Referenced by RenderOpaqueGeometry().
SMESH_ScalarBarActor::vtkGetMacro | ( | MaximumNumberOfColors | , |
int | |||
) |
SMESH_ScalarBarActor::vtkGetMacro | ( | NumberOfLabels | , |
int | |||
) |
SMESH_ScalarBarActor::vtkGetMacro | ( | Orientation | , |
int | |||
) |
SMESH_ScalarBarActor::vtkGetObjectMacro | ( | LookupTable | , |
vtkScalarsToColors | |||
) |
SMESH_ScalarBarActor::vtkGetObjectMacro | ( | TitleTextProperty | , |
vtkTextProperty | |||
) |
SMESH_ScalarBarActor::vtkGetObjectMacro | ( | LabelTextProperty | , |
vtkTextProperty | |||
) |
SMESH_ScalarBarActor::vtkGetStringMacro | ( | LabelFormat | ) |
SMESH_ScalarBarActor::vtkGetStringMacro | ( | Title | ) |
SMESH_ScalarBarActor::vtkSetClampMacro | ( | MaximumNumberOfColors | , |
int | , | ||
2 | , | ||
VTK_INT_MAX | |||
) |
SMESH_ScalarBarActor::vtkSetClampMacro | ( | NumberOfLabels | , |
int | , | ||
0 | , | ||
64 | |||
) |
SMESH_ScalarBarActor::vtkSetClampMacro | ( | Orientation | , |
int | , | ||
0 | , | ||
1 | |||
) |
SMESH_ScalarBarActor::vtkSetStringMacro | ( | LabelFormat | ) |
SMESH_ScalarBarActor::vtkSetStringMacro | ( | Title | ) |
SMESH_ScalarBarActor::vtkTypeMacro | ( | SMESH_ScalarBarActor | , |
vtkActor2D | |||
) |
|
private |
Referenced by RenderOpaqueGeometry().
|
protected |
Referenced by AllocateAndSizeLabels(), PrintSelf(), SMESH_ScalarBarActor(), and ~SMESH_ScalarBarActor().
|
protected |
Referenced by AllocateAndSizeLabels(), PrintSelf(), RenderOpaqueGeometry(), and SMESH_ScalarBarActor().
|
private |
Referenced by RenderOpaqueGeometry(), and SMESH_ScalarBarActor().
|
private |
Referenced by RenderOpaqueGeometry(), and SMESH_ScalarBarActor().
|
protected |
Referenced by AllocateAndSizeLabels(), PrintSelf(), RenderOpaqueGeometry(), and SMESH_ScalarBarActor().
|
protected |
Referenced by AllocateAndSizeLabels(), PrintSelf(), RenderOpaqueGeometry(), SizeTitle(), and SMESH_ScalarBarActor().
|
private |
Referenced by RenderOpaqueGeometry(), SMESH_ScalarBarActor(), and ~SMESH_ScalarBarActor().
|
private |
|
private |
Referenced by RenderOpaqueGeometry(), and SMESH_ScalarBarActor().
|
private |
Referenced by SMESH_ScalarBarActor(), and ~SMESH_ScalarBarActor().
|
private |
Referenced by AllocateAndSizeLabels(), RenderOpaqueGeometry(), SetDistribution(), and SizeTitle().
|
private |
Referenced by GetTitleOnlyVisibility(), RenderOverlay(), SetTitleOnlyVisibility(), and SMESH_ScalarBarActor().
|
protected |
Referenced by AllocateAndSizeLabels(), PrintSelf(), RenderOpaqueGeometry(), RenderOverlay(), and SMESH_ScalarBarActor().
|
protected |
Referenced by PrintSelf(), ReleaseGraphicsResources(), RenderOpaqueGeometry(), SMESH_ScalarBarActor(), and ~SMESH_ScalarBarActor().
|
protected |
Referenced by AllocateAndSizeLabels(), PrintSelf(), RenderOpaqueGeometry(), SizeTitle(), and SMESH_ScalarBarActor().
|
private |
Referenced by RenderOpaqueGeometry(), SMESH_ScalarBarActor(), and ~SMESH_ScalarBarActor().
|
private |
Referenced by ReleaseGraphicsResources(), RenderOpaqueGeometry(), RenderOverlay(), SMESH_ScalarBarActor(), and ~SMESH_ScalarBarActor().
|
private |
Referenced by SMESH_ScalarBarActor(), and ~SMESH_ScalarBarActor().
|
private |
|
protected |
|
protected |
Referenced by PrintSelf(), RenderOpaqueGeometry(), RenderOverlay(), SizeTitle(), SMESH_ScalarBarActor(), and ~SMESH_ScalarBarActor().
|
private |
Referenced by ReleaseGraphicsResources(), RenderOpaqueGeometry(), RenderOverlay(), SMESH_ScalarBarActor(), and ~SMESH_ScalarBarActor().
|
private |
Referenced by RenderOpaqueGeometry(), SizeTitle(), SMESH_ScalarBarActor(), and ~SMESH_ScalarBarActor().
|
protected |
Referenced by PrintSelf(), RenderOpaqueGeometry(), and SMESH_ScalarBarActor().