#include <vtkImageItem.h>
This vtkContextItem draws the supplied image in the scene.
Definition at line 35 of file vtkImageItem.h.
Public Types | |
typedef vtkContextItem | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
virtual void | PrintSelf (ostream &os, vtkIndent indent) |
virtual bool | Paint (vtkContext2D *painter) |
void | SetImage (vtkImageData *image) |
virtual vtkImageData * | GetImage () |
virtual void | SetPosition (float, float) |
void | SetPosition (float[2]) |
virtual float * | GetPosition () |
virtual void | GetPosition (float &, float &) |
virtual void | GetPosition (float[2]) |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkImageItem * | SafeDownCast (vtkObject *o) |
static vtkImageItem * | New () |
Protected Member Functions | |
vtkImageItem () | |
~vtkImageItem () | |
Protected Attributes | |
float | Position [2] |
vtkImageData * | Image |
vtkImageItem::vtkImageItem | ( | ) | [protected] |
vtkImageItem::~vtkImageItem | ( | ) | [protected] |
virtual const char* vtkImageItem::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkContextItem.
static int vtkImageItem::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 vtkContextItem.
virtual int vtkImageItem::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 vtkContextItem.
static vtkImageItem* vtkImageItem::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkContextItem.
virtual void vtkImageItem::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 vtkContextItem.
static vtkImageItem* vtkImageItem::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkObject.
virtual bool vtkImageItem::Paint | ( | vtkContext2D * | painter | ) | [virtual] |
Paint event for the item.
Reimplemented from vtkAbstractContextItem.
void vtkImageItem::SetImage | ( | vtkImageData * | image | ) |
Set the image of the item.
virtual vtkImageData* vtkImageItem::GetImage | ( | ) | [virtual] |
Get the image of the item.
virtual void vtkImageItem::SetPosition | ( | float | , | |
float | ||||
) | [virtual] |
Set the position of the bottom corner of the image.
void vtkImageItem::SetPosition | ( | float | [2] | ) |
Set the position of the bottom corner of the image.
virtual float* vtkImageItem::GetPosition | ( | ) | [virtual] |
Get the position of the bottom corner of the image.
virtual void vtkImageItem::GetPosition | ( | float & | , | |
float & | ||||
) | [virtual] |
Get the position of the bottom corner of the image.
virtual void vtkImageItem::GetPosition | ( | float | [2] | ) | [virtual] |
Get the position of the bottom corner of the image.
float vtkImageItem::Position[2] [protected] |
Definition at line 69 of file vtkImageItem.h.
vtkImageData* vtkImageItem::Image [protected] |
Definition at line 71 of file vtkImageItem.h.