VTK
|
base class for items that are part of a vtkContextScene. More...
#include <vtkContextItem.h>
Public Types | |
typedef vtkAbstractContextItem | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkContextItem * | NewInstance () const |
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 (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkContextItem () | |
~vtkContextItem () | |
Protected Attributes | |
double | Opacity |
base class for items that are part of a vtkContextScene.
Derive from this class to create custom items that can be added to a vtkContextScene.
Definition at line 33 of file vtkContextItem.h.
Reimplemented from vtkAbstractContextItem.
Reimplemented in vtkAxis, vtkTreeHeatmapItem, vtkPlot, vtkPlotPoints, vtkGraphItem, vtkChart, vtkChartXY, vtkChartXYZ, vtkControlPointsItem, vtkPlot3D, vtkPlotStacked, vtkCompositeControlPointsItem, vtkPlotBar, vtkChartLegend, vtkPiecewiseControlPointsItem, vtkPlotLine3D, vtkPlotPoints3D, vtkScalarsToColorsItem, vtkColorTransferControlPointsItem, vtkPiecewisePointHandleItem, vtkPlotParallelCoordinates, vtkPlotPie, vtkPlotSurface, vtkTooltipItem, vtkChartParallelCoordinates, vtkPlotGrid, vtkChartPie, vtkColorLegend, vtkBlockItem, vtkImageItem, vtkChartHistogram2D, vtkPlotHistogram2D, vtkPlotLine, vtkColorTransferFunctionItem, vtkLookupTableItem, vtkCompositeTransferFunctionItem, and vtkPiecewiseFunctionItem.
Definition at line 36 of file vtkContextItem.h.
vtkContextItem::vtkContextItem | ( | ) | [protected] |
vtkContextItem::~vtkContextItem | ( | ) | [protected] |
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, vtkTreeHeatmapItem, vtkPlot, vtkPlotPoints, vtkGraphItem, vtkChart, vtkChartXY, vtkChartXYZ, vtkControlPointsItem, vtkPlot3D, vtkPlotStacked, vtkCompositeControlPointsItem, vtkPlotBar, vtkChartLegend, vtkPiecewiseControlPointsItem, vtkPlotLine3D, vtkPlotPoints3D, vtkScalarsToColorsItem, vtkColorTransferControlPointsItem, vtkPiecewisePointHandleItem, vtkPlotParallelCoordinates, vtkPlotPie, vtkPlotSurface, vtkTooltipItem, vtkChartParallelCoordinates, vtkPlotGrid, vtkChartPie, vtkColorLegend, vtkBlockItem, vtkImageItem, vtkChartHistogram2D, vtkPlotHistogram2D, vtkPlotLine, vtkColorTransferFunctionItem, vtkLookupTableItem, vtkCompositeTransferFunctionItem, and vtkPiecewiseFunctionItem.
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, vtkTreeHeatmapItem, vtkPlot, vtkPlotPoints, vtkGraphItem, vtkChart, vtkChartXY, vtkChartXYZ, vtkControlPointsItem, vtkPlot3D, vtkPlotStacked, vtkCompositeControlPointsItem, vtkPlotBar, vtkChartLegend, vtkPiecewiseControlPointsItem, vtkPlotLine3D, vtkPlotPoints3D, vtkScalarsToColorsItem, vtkColorTransferControlPointsItem, vtkPiecewisePointHandleItem, vtkPlotParallelCoordinates, vtkPlotPie, vtkPlotSurface, vtkTooltipItem, vtkChartParallelCoordinates, vtkPlotGrid, vtkChartPie, vtkColorLegend, vtkBlockItem, vtkImageItem, vtkChartHistogram2D, vtkPlotHistogram2D, vtkPlotLine, vtkColorTransferFunctionItem, vtkLookupTableItem, vtkCompositeTransferFunctionItem, and vtkPiecewiseFunctionItem.
static vtkContextItem* vtkContextItem::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkAbstractContextItem.
Reimplemented in vtkAxis, vtkTreeHeatmapItem, vtkPlot, vtkPlotPoints, vtkGraphItem, vtkChart, vtkChartXY, vtkChartXYZ, vtkControlPointsItem, vtkPlot3D, vtkPlotStacked, vtkCompositeControlPointsItem, vtkPlotBar, vtkChartLegend, vtkPiecewiseControlPointsItem, vtkPlotLine3D, vtkPlotPoints3D, vtkScalarsToColorsItem, vtkColorTransferControlPointsItem, vtkPiecewisePointHandleItem, vtkPlotParallelCoordinates, vtkPlotPie, vtkPlotSurface, vtkTooltipItem, vtkChartParallelCoordinates, vtkPlotGrid, vtkChartPie, vtkColorLegend, vtkBlockItem, vtkImageItem, vtkChartHistogram2D, vtkPlotHistogram2D, vtkPlotLine, vtkColorTransferFunctionItem, vtkLookupTableItem, vtkCompositeTransferFunctionItem, and vtkPiecewiseFunctionItem.
virtual vtkObjectBase* vtkContextItem::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkAbstractContextItem.
Reimplemented in vtkAxis, vtkTreeHeatmapItem, vtkPlot, vtkPlotPoints, vtkGraphItem, vtkChart, vtkChartXY, vtkChartXYZ, vtkControlPointsItem, vtkPlot3D, vtkPlotStacked, vtkCompositeControlPointsItem, vtkPlotBar, vtkChartLegend, vtkPiecewiseControlPointsItem, vtkPlotLine3D, vtkPlotPoints3D, vtkScalarsToColorsItem, vtkColorTransferControlPointsItem, vtkPiecewisePointHandleItem, vtkPlotParallelCoordinates, vtkPlotPie, vtkPlotSurface, vtkTooltipItem, vtkChartParallelCoordinates, vtkPlotGrid, vtkChartPie, vtkColorLegend, vtkBlockItem, vtkImageItem, vtkChartHistogram2D, vtkPlotHistogram2D, vtkPlotLine, vtkColorTransferFunctionItem, vtkLookupTableItem, vtkCompositeTransferFunctionItem, and vtkPiecewiseFunctionItem.
vtkContextItem* vtkContextItem::NewInstance | ( | ) | const |
Reimplemented from vtkAbstractContextItem.
Reimplemented in vtkAxis, vtkTreeHeatmapItem, vtkPlot, vtkPlotPoints, vtkGraphItem, vtkChart, vtkChartXY, vtkChartXYZ, vtkControlPointsItem, vtkPlot3D, vtkPlotStacked, vtkCompositeControlPointsItem, vtkPlotBar, vtkChartLegend, vtkPiecewiseControlPointsItem, vtkPlotLine3D, vtkPlotPoints3D, vtkScalarsToColorsItem, vtkColorTransferControlPointsItem, vtkPiecewisePointHandleItem, vtkPlotParallelCoordinates, vtkPlotPie, vtkPlotSurface, vtkTooltipItem, vtkChartParallelCoordinates, vtkPlotGrid, vtkChartPie, vtkColorLegend, vtkBlockItem, vtkImageItem, vtkChartHistogram2D, vtkPlotHistogram2D, vtkPlotLine, vtkColorTransferFunctionItem, vtkLookupTableItem, vtkCompositeTransferFunctionItem, and vtkPiecewiseFunctionItem.
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, vtkTreeHeatmapItem, vtkPlot, vtkPlotPoints, vtkGraphItem, vtkChart, vtkChartXY, vtkChartXYZ, vtkControlPointsItem, vtkPlot3D, vtkPlotStacked, vtkCompositeControlPointsItem, vtkPlotBar, vtkChartLegend, vtkPiecewiseControlPointsItem, vtkPlotLine3D, vtkPlotPoints3D, vtkScalarsToColorsItem, vtkColorTransferControlPointsItem, vtkPiecewisePointHandleItem, vtkPlotParallelCoordinates, vtkPlotPie, vtkPlotSurface, vtkTooltipItem, vtkChartParallelCoordinates, vtkPlotGrid, vtkChartPie, vtkColorLegend, vtkBlockItem, vtkImageItem, vtkChartHistogram2D, vtkPlotHistogram2D, vtkPlotLine, vtkColorTransferFunctionItem, vtkLookupTableItem, vtkCompositeTransferFunctionItem, and vtkPiecewiseFunctionItem.
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 54 of file vtkContextItem.h.