VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkImageItem Class Reference

a vtkContextItem that draws a supplied image in the scene. More...

#include <vtkImageItem.h>

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

List of all members.

Public Types

typedef vtkContextItem Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkImageItemNewInstance () const
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 floatGetPosition ()
virtual void GetPosition (float &, float &)
virtual void GetPosition (float[2])

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkImageItemSafeDownCast (vtkObjectBase *o)
static vtkImageItemNew ()

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkImageItem ()
 ~vtkImageItem ()

Protected Attributes

float Position [2]
vtkImageDataImage

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 36 of file vtkImageItem.h.


Member Typedef Documentation

Reimplemented from vtkContextItem.

Definition at line 39 of file vtkImageItem.h.


Constructor & Destructor Documentation

vtkImageItem::vtkImageItem ( ) [protected]
vtkImageItem::~vtkImageItem ( ) [protected]

Member Function Documentation

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.

Reimplemented from vtkContextItem.

virtual vtkObjectBase* vtkImageItem::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkContextItem.

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.

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.

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 70 of file vtkImageItem.h.

Definition at line 72 of file vtkImageItem.h.


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