vtkImageItem Class Reference

#include <vtkImageItem.h>

Inheritance diagram for vtkImageItem:

Inheritance graph
[legend]
Collaboration diagram for vtkImageItem:

Collaboration graph
[legend]

List of all members.


Detailed Description

a vtkContextItem that draws a supplied image in the scene.

This vtkContextItem draws the supplied image in the scene.

Tests:
vtkImageItem (Tests)

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 vtkImageDataGetImage ()
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 vtkImageItemSafeDownCast (vtkObject *o)
static vtkImageItemNew ()

Protected Member Functions

 vtkImageItem ()
 ~vtkImageItem ()

Protected Attributes

float Position [2]
vtkImageDataImage

Member Typedef Documentation

Reimplemented from vtkContextItem.

Definition at line 38 of file vtkImageItem.h.


Constructor & Destructor Documentation

vtkImageItem::vtkImageItem (  )  [protected]

vtkImageItem::~vtkImageItem (  )  [protected]


Member Function Documentation

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.


Member Data Documentation

float vtkImageItem::Position[2] [protected]

Definition at line 69 of file vtkImageItem.h.

Definition at line 71 of file vtkImageItem.h.


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

Generated on Wed Aug 24 11:41:11 2011 for VTK by  doxygen 1.5.6