VTK
|
create a pie chart from an array More...
#include <vtkPieChartActor.h>
Public Member Functions | |
virtual vtkDataObject * | GetInput () |
virtual int | HasTranslucentPolygonalGeometry () |
void | ReleaseGraphicsResources (vtkWindow *) |
virtual void | SetInputData (vtkDataObject *) |
virtual void | SetInputConnection (vtkAlgorithmOutput *) |
virtual void | SetTitleVisibility (int) |
virtual int | GetTitleVisibility () |
virtual void | TitleVisibilityOn () |
virtual void | TitleVisibilityOff () |
virtual void | SetTitle (const char *) |
virtual char * | GetTitle () |
virtual void | SetTitleTextProperty (vtkTextProperty *p) |
virtual vtkTextProperty * | GetTitleTextProperty () |
virtual void | SetLabelVisibility (int) |
virtual int | GetLabelVisibility () |
virtual void | LabelVisibilityOn () |
virtual void | LabelVisibilityOff () |
virtual void | SetLabelTextProperty (vtkTextProperty *p) |
virtual vtkTextProperty * | GetLabelTextProperty () |
void | SetPieceColor (int i, double r, double g, double b) |
void | SetPieceColor (int i, const double color[3]) |
double * | GetPieceColor (int i) |
void | SetPieceLabel (const int i, const char *) |
const char * | GetPieceLabel (int i) |
virtual void | SetLegendVisibility (int) |
virtual int | GetLegendVisibility () |
virtual void | LegendVisibilityOn () |
virtual void | LegendVisibilityOff () |
virtual vtkLegendBoxActor * | GetLegendActor () |
int | RenderOverlay (vtkViewport *) |
int | RenderOpaqueGeometry (vtkViewport *) |
virtual int | RenderTranslucentPolygonalGeometry (vtkViewport *) |
![]() | |
void | PrintSelf (ostream &os, vtkIndent indent) |
vtkActor2D * | NewInstance () const |
vtkProperty2D * | GetProperty () |
virtual void | SetProperty (vtkProperty2D *) |
void | SetDisplayPosition (int, int) |
virtual unsigned long | GetMTime () |
virtual void | GetActors2D (vtkPropCollection *pc) |
virtual void | ShallowCopy (vtkProp *prop) |
virtual void | SetMapper (vtkMapper2D *mapper) |
virtual vtkMapper2D * | GetMapper () |
virtual void | SetLayerNumber (int) |
virtual int | GetLayerNumber () |
virtual vtkCoordinate * | GetPositionCoordinate () |
virtual void | SetPosition (float x[2]) |
virtual void | SetPosition (float x, float y) |
virtual float * | GetPosition () |
virtual vtkCoordinate * | GetPosition2Coordinate () |
virtual void | SetPosition2 (float x[2]) |
virtual void | SetPosition2 (float x, float y) |
virtual float * | GetPosition2 () |
void | SetWidth (double w) |
double | GetWidth () |
void | SetHeight (double h) |
double | GetHeight () |
virtual vtkCoordinate * | GetActualPositionCoordinate (void) |
virtual vtkCoordinate * | GetActualPosition2Coordinate (void) |
![]() | |
vtkProp * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | Pick () |
virtual bool | HasKeys (vtkInformation *requiredKeys) |
virtual void | BuildPaths (vtkAssemblyPaths *paths, vtkAssemblyPath *path) |
virtual void | GetActors (vtkPropCollection *) |
virtual void | GetVolumes (vtkPropCollection *) |
virtual void | SetVisibility (int) |
virtual int | GetVisibility () |
virtual void | VisibilityOn () |
virtual void | VisibilityOff () |
virtual void | SetPickable (int) |
virtual int | GetPickable () |
virtual void | PickableOn () |
virtual void | PickableOff () |
virtual void | SetDragable (int) |
virtual int | GetDragable () |
virtual void | DragableOn () |
virtual void | DragableOff () |
virtual unsigned long | GetRedrawMTime () |
virtual void | SetUseBounds (bool) |
virtual bool | GetUseBounds () |
virtual void | UseBoundsOn () |
virtual void | UseBoundsOff () |
virtual double * | GetBounds () |
virtual void | InitPathTraversal () |
virtual vtkAssemblyPath * | GetNextPath () |
virtual int | GetNumberOfPaths () |
virtual void | PokeMatrix (vtkMatrix4x4 *vtkNotUsed(matrix)) |
virtual vtkMatrix4x4 * | GetMatrix () |
virtual vtkInformation * | GetPropertyKeys () |
virtual void | SetPropertyKeys (vtkInformation *keys) |
virtual int | RenderVolumetricGeometry (vtkViewport *) |
virtual bool | RenderFilteredOpaqueGeometry (vtkViewport *v, vtkInformation *requiredKeys) |
virtual bool | RenderFilteredTranslucentPolygonalGeometry (vtkViewport *v, vtkInformation *requiredKeys) |
virtual bool | RenderFilteredVolumetricGeometry (vtkViewport *v, vtkInformation *requiredKeys) |
virtual bool | RenderFilteredOverlay (vtkViewport *v, vtkInformation *requiredKeys) |
virtual double | GetEstimatedRenderTime (vtkViewport *) |
virtual double | GetEstimatedRenderTime () |
virtual void | SetEstimatedRenderTime (double t) |
virtual void | RestoreEstimatedRenderTime () |
virtual void | AddEstimatedRenderTime (double t, vtkViewport *vtkNotUsed(vp)) |
virtual void | SetAllocatedRenderTime (double t, vtkViewport *vtkNotUsed(v)) |
virtual double | GetAllocatedRenderTime () |
void | SetRenderTimeMultiplier (double t) |
virtual double | GetRenderTimeMultiplier () |
virtual bool | GetSupportsSelection () |
virtual int | GetNumberOfConsumers () |
void | AddConsumer (vtkObject *c) |
void | RemoveConsumer (vtkObject *c) |
vtkObject * | GetConsumer (int i) |
int | IsConsumer (vtkObject *c) |
![]() | |
vtkObject * | NewInstance () const |
virtual void | DebugOn () |
virtual void | DebugOff () |
bool | GetDebug () |
void | SetDebug (bool debugFlag) |
virtual void | Modified () |
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
vtkCommand * | GetCommand (unsigned long tag) |
void | RemoveObserver (vtkCommand *) |
void | RemoveObservers (unsigned long event, vtkCommand *) |
void | RemoveObservers (const char *event, vtkCommand *) |
int | HasObserver (unsigned long event, vtkCommand *) |
int | HasObserver (const char *event, vtkCommand *) |
void | RemoveObserver (unsigned long tag) |
void | RemoveObservers (unsigned long event) |
void | RemoveObservers (const char *event) |
void | RemoveAllObservers () |
int | HasObserver (unsigned long event) |
int | HasObserver (const char *event) |
template<class U , class T > | |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
template<class U , class T > | |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
template<class U , class T > | |
unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
int | InvokeEvent (unsigned long event, void *callData) |
int | InvokeEvent (const char *event, void *callData) |
int | InvokeEvent (unsigned long event) |
int | InvokeEvent (const char *event) |
![]() | |
const char * | GetClassName () const |
virtual void | Delete () |
virtual void | FastDelete () |
void | Print (ostream &os) |
virtual void | Register (vtkObjectBase *o) |
virtual void | UnRegister (vtkObjectBase *o) |
void | SetReferenceCount (int) |
void | PrintRevisions (ostream &) |
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
int | GetReferenceCount () |
Static Public Member Functions | |
static vtkPieChartActor * | New () |
![]() | |
static int | IsTypeOf (const char *type) |
static vtkActor2D * | SafeDownCast (vtkObjectBase *o) |
static vtkActor2D * | New () |
![]() | |
static int | IsTypeOf (const char *type) |
static vtkProp * | SafeDownCast (vtkObjectBase *o) |
static vtkInformationIntegerKey * | GeneralTextureUnit () |
static vtkInformationDoubleVectorKey * | GeneralTextureTransform () |
![]() | |
static int | IsTypeOf (const char *type) |
static vtkObject * | SafeDownCast (vtkObjectBase *o) |
static vtkObject * | New () |
static void | BreakOnError () |
static void | SetGlobalWarningDisplay (int val) |
static void | GlobalWarningDisplayOn () |
static void | GlobalWarningDisplayOff () |
static int | GetGlobalWarningDisplay () |
![]() | |
static int | IsTypeOf (const char *name) |
static vtkObjectBase * | New () |
Protected Member Functions | |
vtkPieChartActor () | |
~vtkPieChartActor () | |
![]() | |
vtkActor2D () | |
~vtkActor2D () | |
![]() | |
vtkProp () | |
~vtkProp () | |
![]() | |
vtkObject () | |
virtual | ~vtkObject () |
virtual void | RegisterInternal (vtkObjectBase *, int check) |
virtual void | UnRegisterInternal (vtkObjectBase *, int check) |
void | InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL) |
void | InternalReleaseFocus () |
![]() | |
vtkObjectBase () | |
virtual | ~vtkObjectBase () |
virtual void | CollectRevisions (ostream &) |
virtual void | ReportReferences (vtkGarbageCollector *) |
vtkObjectBase (const vtkObjectBase &) | |
void | operator= (const vtkObjectBase &) |
typedef vtkActor2D | Superclass |
static int | IsTypeOf (const char *type) |
static vtkPieChartActor * | SafeDownCast (vtkObjectBase *o) |
virtual int | IsA (const char *type) |
vtkPieChartActor * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual vtkObjectBase * | NewInstanceInternal () const |
Additional Inherited Members | |
![]() | |
typedef vtkProp | Superclass |
![]() | |
typedef vtkObject | Superclass |
![]() | |
typedef vtkObjectBase | Superclass |
![]() | |
vtkMapper2D * | Mapper |
int | LayerNumber |
vtkProperty2D * | Property |
vtkCoordinate * | PositionCoordinate |
vtkCoordinate * | Position2Coordinate |
![]() | |
int | Visibility |
int | Pickable |
int | Dragable |
bool | UseBounds |
double | AllocatedRenderTime |
double | EstimatedRenderTime |
double | SavedEstimatedRenderTime |
double | RenderTimeMultiplier |
int | NumberOfConsumers |
vtkObject ** | Consumers |
vtkAssemblyPaths * | Paths |
vtkInformation * | PropertyKeys |
![]() | |
bool | Debug |
vtkTimeStamp | MTime |
vtkSubjectHelper * | SubjectHelper |
![]() | |
vtkAtomicInt32 | ReferenceCount |
vtkWeakPointerBase ** | WeakPointers |
create a pie chart from an array
vtkPieChartActor generates a pie chart from an array of numbers defined in field data (a vtkDataObject). To use this class, you must specify an input data object. You'll probably also want to specify the position of the plot be setting the Position and Position2 instance variables, which define a rectangle in which the plot lies. There are also many other instance variables that control the look of the plot includes its title, and legend.
Set the text property/attributes of the title and the labels through the vtkTextProperty objects associated with these components.
Definition at line 54 of file vtkPieChartActor.h.
Standard methods for type information and printing.
Definition at line 59 of file vtkPieChartActor.h.
|
protected |
|
protected |
|
static |
Standard methods for type information and printing.
|
virtual |
Standard methods for type information and printing.
Reimplemented from vtkActor2D.
|
static |
Standard methods for type information and printing.
|
protectedvirtual |
Standard methods for type information and printing.
Reimplemented from vtkActor2D.
vtkPieChartActor* vtkPieChartActor::NewInstance | ( | ) | const |
Standard methods for type information and printing.
|
virtual |
Standard methods for type information and printing.
Reimplemented from vtkObject.
|
static |
Instantiate this class.
|
virtual |
Set the input to the pie chart actor. SetInputData() does not connect the pipeline whereas SetInputConnection() does.
|
virtual |
Set the input to the pie chart actor. SetInputData() does not connect the pipeline whereas SetInputConnection() does.
|
virtual |
Get the input data object to this actor.
|
virtual |
Enable/Disable the display of a plot title.
|
virtual |
Enable/Disable the display of a plot title.
|
virtual |
Enable/Disable the display of a plot title.
|
virtual |
Enable/Disable the display of a plot title.
|
virtual |
Set/Get the title of the pie chart.
|
virtual |
Set/Get the title of the pie chart.
|
virtual |
Set/Get the title text property. The property controls the appearance of the plot title.
|
virtual |
Set/Get the title text property. The property controls the appearance of the plot title.
|
virtual |
Enable/Disable the display of pie piece labels.
|
virtual |
Enable/Disable the display of pie piece labels.
|
virtual |
Enable/Disable the display of pie piece labels.
|
virtual |
Enable/Disable the display of pie piece labels.
|
virtual |
Set/Get the labels text property. This controls the appearance of all pie piece labels.
|
virtual |
Set/Get the labels text property. This controls the appearance of all pie piece labels.
Specify colors for each piece of pie. If not specified, they are automatically generated.
Specify colors for each piece of pie. If not specified, they are automatically generated.
Definition at line 114 of file vtkPieChartActor.h.
Specify colors for each piece of pie. If not specified, they are automatically generated.
void vtkPieChartActor::SetPieceLabel | ( | const int | i, |
const char * | |||
) |
Specify the names for each piece of pie. not specified, then an integer number is automatically generated.
const char* vtkPieChartActor::GetPieceLabel | ( | int | i | ) |
Specify the names for each piece of pie. not specified, then an integer number is automatically generated.
|
virtual |
Enable/Disable the creation of a legend. If on, the legend labels will be created automatically unless the per plot legend symbol has been set.
|
virtual |
Enable/Disable the creation of a legend. If on, the legend labels will be created automatically unless the per plot legend symbol has been set.
|
virtual |
Enable/Disable the creation of a legend. If on, the legend labels will be created automatically unless the per plot legend symbol has been set.
|
virtual |
Enable/Disable the creation of a legend. If on, the legend labels will be created automatically unless the per plot legend symbol has been set.
|
virtual |
Retrieve handles to the legend box. This is useful if you would like to manually control the legend appearance.
|
virtual |
Draw the pie plot.
Reimplemented from vtkActor2D.
|
virtual |
Draw the pie plot.
Reimplemented from vtkActor2D.
|
inlinevirtual |
Draw the pie plot.
Reimplemented from vtkActor2D.
Definition at line 145 of file vtkPieChartActor.h.
|
virtual |
Does this prop have some translucent polygonal geometry?
Reimplemented from vtkActor2D.
|
virtual |
Release any graphics resources that are being consumed by this actor. The parameter window could be used to determine which graphic resources to release.
Reimplemented from vtkActor2D.