Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkChartWarning Class Reference

a vtkContextItem that draws a block (optional label). More...

#include <vtkChartWarning.h>

Inheritance diagram for vtkChartWarning:
Inheritance graph
[legend]
Collaboration diagram for vtkChartWarning:
Collaboration graph
[legend]

Public Types

typedef vtkBlockItem Superclass
 
- Public Types inherited from vtkBlockItem
typedef vtkContextItem Superclass
 
- Public Types inherited from vtkContextItem
typedef vtkAbstractContextItem Superclass
 
- Public Types inherited from vtkAbstractContextItem
typedef vtkObject Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
bool Paint (vtkContext2D *painter) override
 Paint event for the item. More...
 
bool Hit (const vtkContextMouseEvent &mouse) override
 Returns true if the supplied x, y coordinate is inside the item. More...
 
virtual void SetTextPad (double)
 
virtual double GetTextPad ()
 
- Public Member Functions inherited from vtkBlockItem
vtkBlockItem * NewInstance () const
 
virtual bool MouseEnterEvent (const vtkContextMouseEvent &mouse)
 
virtual bool MouseMoveEvent (const vtkContextMouseEvent &mouse)
 
virtual bool MouseLeaveEvent (const vtkContextMouseEvent &mouse)
 
virtual bool MouseButtonPressEvent (const vtkContextMouseEvent &mouse)
 
virtual bool MouseButtonReleaseEvent (const vtkContextMouseEvent &mouse)
 
virtual void SetLabel (const vtkStdString &label)
 
virtual vtkStdString GetLabel ()
 
void SetScalarFunctor (double(*scalarFunction)(double, double))
 
virtual void SetDimensions (float, float, float, float)
 
virtual void SetDimensions (float[4])
 
virtual float * GetDimensions ()
 
virtual void GetDimensions (float &, float &, float &, float &)
 
virtual void GetDimensions (float[4])
 
virtual void SetDimensions (float, float, float, float)
 
virtual void SetDimensions (float[4])
 
virtual float * GetDimensions ()
 
virtual void GetDimensions (float &, float &, float &, float &)
 
virtual void GetDimensions (float[4])
 
- Public Member Functions inherited from vtkContextItem
vtkContextItem * NewInstance () const
 
virtual double GetOpacity ()
 
virtual void SetOpacity (double)
 
virtual double GetOpacity ()
 
virtual void SetOpacity (double)
 
- Public Member Functions inherited from vtkAbstractContextItem
vtkAbstractContextItem * NewInstance () const
 
virtual void Update ()
 
virtual bool PaintChildren (vtkContext2D *painter)
 
virtual void ReleaseGraphicsResources ()
 
unsigned int AddItem (vtkAbstractContextItem *item)
 
bool RemoveItem (vtkAbstractContextItem *item)
 
bool RemoveItem (unsigned int index)
 
vtkAbstractContextItem * GetItem (unsigned int index)
 
unsigned int GetItemIndex (vtkAbstractContextItem *item)
 
unsigned int GetNumberOfItems ()
 
void ClearItems ()
 
unsigned int Raise (unsigned int index)
 
unsigned int Lower (unsigned int index)
 
virtual vtkAbstractContextItem * GetPickedItem (const vtkContextMouseEvent &mouse)
 
virtual bool MouseDoubleClickEvent (const vtkContextMouseEvent &mouse)
 
virtual bool MouseWheelEvent (const vtkContextMouseEvent &mouse, int delta)
 
virtual bool KeyPressEvent (const vtkContextKeyEvent &key)
 
virtual bool KeyReleaseEvent (const vtkContextKeyEvent &key)
 
virtual void SetScene (vtkContextScene *scene)
 
virtual void SetParent (vtkAbstractContextItem *parent)
 
virtual vtkVector2f MapToParent (const vtkVector2f &point)
 
virtual vtkVector2f MapFromParent (const vtkVector2f &point)
 
virtual vtkVector2f MapToScene (const vtkVector2f &point)
 
virtual vtkVector2f MapFromScene (const vtkVector2f &point)
 
virtual unsigned int StackAbove (unsigned int index, unsigned int under)
 
virtual unsigned int StackUnder (unsigned int child, unsigned int above)
 
vtkContextScene * GetScene ()
 
vtkAbstractContextItem * GetParent ()
 
virtual bool GetVisible ()
 
virtual void SetVisible (bool)
 
virtual bool GetInteractive ()
 
virtual void SetInteractive (bool)
 
virtual unsigned int StackAbove (unsigned int index, unsigned int under)
 
virtual unsigned int StackUnder (unsigned int child, unsigned int above)
 
vtkContextScene * GetScene ()
 
vtkAbstractContextItem * GetParent ()
 
virtual bool GetVisible ()
 
virtual void SetVisible (bool)
 
virtual bool GetInteractive ()
 
virtual void SetInteractive (bool)
 
- Public Member Functions inherited from vtkObject
 vtkBaseTypeMacro (vtkObject, vtkObjectBase)
 
virtual void DebugOn ()
 
virtual void DebugOff ()
 
bool GetDebug ()
 
void SetDebug (bool debugFlag)
 
virtual void Modified ()
 
virtual vtkMTimeType GetMTime ()
 
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)
 
int InvokeEvent (unsigned long event)
 
int InvokeEvent (const char *event)
 
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 *)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
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)
 
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 *)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
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)
 
- Public Member Functions inherited from vtkObjectBase
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)
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
int GetReferenceCount ()
 
void PrintRevisions (ostream &)
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
int GetReferenceCount ()
 
void PrintRevisions (ostream &)
 

Static Public Member Functions

static vtkChartWarning * New ()
 
static int IsTypeOf (const char *type)
 
static vtkChartWarning * SafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkBlockItem
static int IsTypeOf (const char *type)
 
static vtkBlockItem * SafeDownCast (vtkObjectBase *o)
 
static vtkBlockItem * New ()
 
- Static Public Member Functions inherited from vtkContextItem
static int IsTypeOf (const char *type)
 
static vtkContextItem * SafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkAbstractContextItem
static int IsTypeOf (const char *type)
 
static vtkAbstractContextItem * SafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkObject
static vtkObject * New ()
 
static void BreakOnError ()
 
static void SetGlobalWarningDisplay (int val)
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
static void SetGlobalWarningDisplay (int val)
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
- Static Public Member Functions inherited from vtkObjectBase
static vtkTypeBool IsTypeOf (const char *name)
 
static vtkObjectBase * New ()
 
static vtkObjectBase * New ()
 

Protected Member Functions

 vtkChartWarning ()
 
 ~vtkChartWarning () override
 
bool ArePlotsImproperlyScaled (vtkChart *)
 
- Protected Member Functions inherited from vtkBlockItem
virtual vtkObjectBase * NewInstanceInternal () const
 
 vtkBlockItem ()
 
 ~vtkBlockItem ()
 
- Protected Member Functions inherited from vtkContextItem
 vtkContextItem ()
 
 ~vtkContextItem ()
 
- Protected Member Functions inherited from vtkAbstractContextItem
 vtkAbstractContextItem ()
 
 ~vtkAbstractContextItem ()
 
- Protected Member Functions inherited from vtkObject
 vtkObject ()
 
virtual ~vtkObject ()
 
void RegisterInternal (vtkObjectBase *, vtkTypeBool check) VTK_OVERRIDE
 
void UnRegisterInternal (vtkObjectBase *, vtkTypeBool check) VTK_OVERRIDE
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
 
void InternalReleaseFocus ()
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
 
void InternalReleaseFocus ()
 
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
 
virtual ~vtkObjectBase ()
 
virtual void CollectRevisions (ostream &)
 
virtual void ReportReferences (vtkGarbageCollector *)
 
 vtkObjectBase (const vtkObjectBase &)
 
void operator= (const vtkObjectBase &)
 

Protected Attributes

double TextPad
 
- Protected Attributes inherited from vtkBlockItem
float Dimensions [4]
 
vtkStdString Label
 
bool MouseOver
 
double(* scalarFunction )(double, double)
 
- Protected Attributes inherited from vtkContextItem
double Opacity
 
- Protected Attributes inherited from vtkAbstractContextItem
vtkContextScene * Scene
 
vtkAbstractContextItem * Parent
 
vtkContextScenePrivate * Children
 
bool Visible
 
bool Interactive
 
- Protected Attributes inherited from vtkObject
bool Debug
 
vtkTimeStamp MTime
 
vtkSubjectHelper * SubjectHelper
 
- Protected Attributes inherited from vtkObjectBase
vtkAtomicInt32 ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 

Detailed Description

a vtkContextItem that draws a block (optional label).

This is a vtkContextItem that can be placed into a vtkContextScene. It draws a block of the given dimensions, and reacts to mouse events.

Definition at line 22 of file vtkChartWarning.h.

Member Typedef Documentation

◆ Superclass

Definition at line 26 of file vtkChartWarning.h.

Constructor & Destructor Documentation

◆ vtkChartWarning()

vtkChartWarning::vtkChartWarning ( )
protected

◆ ~vtkChartWarning()

vtkChartWarning::~vtkChartWarning ( )
overrideprotected

Member Function Documentation

◆ New()

static vtkChartWarning* vtkChartWarning::New ( )
static

◆ GetClassName()

virtual const char* vtkChartWarning::GetClassName ( )
virtual

◆ IsTypeOf()

static int vtkChartWarning::IsTypeOf ( const char *  type)
static

◆ IsA()

virtual int vtkChartWarning::IsA ( const char *  type)
virtual

Reimplemented from vtkBlockItem.

◆ SafeDownCast()

static vtkChartWarning* vtkChartWarning::SafeDownCast ( vtkObject *  o)
static

◆ PrintSelf()

void vtkChartWarning::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
overridevirtual

Reimplemented from vtkBlockItem.

◆ Paint()

bool vtkChartWarning::Paint ( vtkContext2D *  painter)
overridevirtual

Paint event for the item.

Reimplemented from vtkBlockItem.

◆ Hit()

bool vtkChartWarning::Hit ( const vtkContextMouseEvent &  mouse)
overridevirtual

Returns true if the supplied x, y coordinate is inside the item.

Reimplemented from vtkBlockItem.

◆ SetTextPad()

virtual void vtkChartWarning::SetTextPad ( double  )
virtual

◆ GetTextPad()

virtual double vtkChartWarning::GetTextPad ( )
virtual

◆ ArePlotsImproperlyScaled()

bool vtkChartWarning::ArePlotsImproperlyScaled ( vtkChart *  )
protected

Member Data Documentation

◆ TextPad

double vtkChartWarning::TextPad
protected

Definition at line 48 of file vtkChartWarning.h.


The documentation for this class was generated from the following file: