#include <vtkContextItem.h>
Derive from this class to create custom items that can be added to a vtkContextScene.
Definition at line 32 of file vtkContextItem.h.
Public Types | |
typedef vtkAbstractContextItem | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
virtual void | PrintSelf (ostream &os, vtkIndent indent) |
virtual double | GetOpacity () |
virtual void | SetOpacity (double) |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkContextItem * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkContextItem () | |
~vtkContextItem () | |
Protected Attributes | |
double | Opacity |
Reimplemented from vtkAbstractContextItem.
Reimplemented in vtkAxis, vtkBlockItem, vtkChart, vtkChartHistogram2D, vtkChartLegend, vtkChartParallelCoordinates, vtkChartPie, vtkChartXY, vtkColorLegend, vtkColorTransferControlPointsItem, vtkColorTransferFunctionItem, vtkCompositeControlPointsItem, vtkCompositeTransferFunctionItem, vtkControlPointsItem, vtkImageItem, vtkLookupTableItem, vtkPiecewiseControlPointsItem, vtkPiecewiseFunctionItem, vtkPlot, vtkPlotBar, vtkPlotGrid, vtkPlotHistogram2D, vtkPlotLine, vtkPlotParallelCoordinates, vtkPlotPie, vtkPlotPoints, vtkPlotStacked, vtkScalarsToColorsItem, and vtkTooltipItem.
Definition at line 35 of file vtkContextItem.h.
vtkContextItem::vtkContextItem | ( | ) | [protected] |
vtkContextItem::~vtkContextItem | ( | ) | [protected] |
virtual const char* vtkContextItem::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkAbstractContextItem.
Reimplemented in vtkAxis, vtkBlockItem, vtkChart, vtkChartHistogram2D, vtkChartLegend, vtkChartParallelCoordinates, vtkChartPie, vtkChartXY, vtkColorLegend, vtkColorTransferControlPointsItem, vtkColorTransferFunctionItem, vtkCompositeControlPointsItem, vtkCompositeTransferFunctionItem, vtkControlPointsItem, vtkImageItem, vtkLookupTableItem, vtkPiecewiseControlPointsItem, vtkPiecewiseFunctionItem, vtkPlot, vtkPlotBar, vtkPlotGrid, vtkPlotHistogram2D, vtkPlotLine, vtkPlotParallelCoordinates, vtkPlotPie, vtkPlotPoints, vtkPlotStacked, vtkScalarsToColorsItem, and vtkTooltipItem.
static int vtkContextItem::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkAbstractContextItem.
Reimplemented in vtkAxis, vtkBlockItem, vtkChart, vtkChartHistogram2D, vtkChartLegend, vtkChartParallelCoordinates, vtkChartPie, vtkChartXY, vtkColorLegend, vtkColorTransferControlPointsItem, vtkColorTransferFunctionItem, vtkCompositeControlPointsItem, vtkCompositeTransferFunctionItem, vtkControlPointsItem, vtkImageItem, vtkLookupTableItem, vtkPiecewiseControlPointsItem, vtkPiecewiseFunctionItem, vtkPlot, vtkPlotBar, vtkPlotGrid, vtkPlotHistogram2D, vtkPlotLine, vtkPlotParallelCoordinates, vtkPlotPie, vtkPlotPoints, vtkPlotStacked, vtkScalarsToColorsItem, and vtkTooltipItem.
virtual int vtkContextItem::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkAbstractContextItem.
Reimplemented in vtkAxis, vtkBlockItem, vtkChart, vtkChartHistogram2D, vtkChartLegend, vtkChartParallelCoordinates, vtkChartPie, vtkChartXY, vtkColorLegend, vtkColorTransferControlPointsItem, vtkColorTransferFunctionItem, vtkCompositeControlPointsItem, vtkCompositeTransferFunctionItem, vtkControlPointsItem, vtkImageItem, vtkLookupTableItem, vtkPiecewiseControlPointsItem, vtkPiecewiseFunctionItem, vtkPlot, vtkPlotBar, vtkPlotGrid, vtkPlotHistogram2D, vtkPlotLine, vtkPlotParallelCoordinates, vtkPlotPie, vtkPlotPoints, vtkPlotStacked, vtkScalarsToColorsItem, and vtkTooltipItem.
static vtkContextItem* vtkContextItem::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkAbstractContextItem.
Reimplemented in vtkAxis, vtkBlockItem, vtkChart, vtkChartHistogram2D, vtkChartLegend, vtkChartParallelCoordinates, vtkChartPie, vtkChartXY, vtkColorLegend, vtkColorTransferControlPointsItem, vtkColorTransferFunctionItem, vtkCompositeControlPointsItem, vtkCompositeTransferFunctionItem, vtkControlPointsItem, vtkImageItem, vtkLookupTableItem, vtkPiecewiseControlPointsItem, vtkPiecewiseFunctionItem, vtkPlot, vtkPlotBar, vtkPlotGrid, vtkPlotHistogram2D, vtkPlotLine, vtkPlotParallelCoordinates, vtkPlotPie, vtkPlotPoints, vtkPlotStacked, vtkScalarsToColorsItem, and vtkTooltipItem.
virtual void vtkContextItem::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkAbstractContextItem.
Reimplemented in vtkAxis, vtkBlockItem, vtkChart, vtkChartHistogram2D, vtkChartLegend, vtkChartParallelCoordinates, vtkChartPie, vtkChartXY, vtkColorLegend, vtkColorTransferControlPointsItem, vtkColorTransferFunctionItem, vtkCompositeControlPointsItem, vtkCompositeTransferFunctionItem, vtkControlPointsItem, vtkImageItem, vtkLookupTableItem, vtkPiecewiseControlPointsItem, vtkPiecewiseFunctionItem, vtkPlot, vtkPlotBar, vtkPlotGrid, vtkPlotHistogram2D, vtkPlotLine, vtkPlotParallelCoordinates, vtkPlotPie, vtkPlotPoints, vtkPlotStacked, vtkScalarsToColorsItem, and vtkTooltipItem.
virtual double vtkContextItem::GetOpacity | ( | ) | [virtual] |
Get the opacity of the item.
virtual void vtkContextItem::SetOpacity | ( | double | ) | [virtual] |
Set the opacity of the item. 1.0 by default.
double vtkContextItem::Opacity [protected] |
Definition at line 53 of file vtkContextItem.h.