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

base class for items that are part of a vtkContextScene. More...

#include <vtkContextItem.h>

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

List of all members.

Public Types

typedef vtkAbstractContextItem Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
virtual void PrintSelf (ostream &os, vtkIndent indent)
virtual double GetOpacity ()
virtual void SetOpacity (double)

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkContextItemSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkContextItem ()
 ~vtkContextItem ()

Protected Attributes

double Opacity

Detailed Description

base class for items that are part of a vtkContextScene.

Derive from this class to create custom items that can be added to a vtkContextScene.

Tests:
vtkContextItem (Tests)

Definition at line 32 of file vtkContextItem.h.


Member Typedef Documentation


Constructor & Destructor Documentation

vtkContextItem::vtkContextItem ( ) [protected]
vtkContextItem::~vtkContextItem ( ) [protected]

Member Function Documentation

virtual const char* vtkContextItem::GetClassName ( ) [virtual]
static int vtkContextItem::IsTypeOf ( const char *  name) [static]
virtual int vtkContextItem::IsA ( const char *  name) [virtual]
static vtkContextItem* vtkContextItem::SafeDownCast ( vtkObject o) [static]
virtual void vtkContextItem::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]
virtual double vtkContextItem::GetOpacity ( ) [virtual]

Get the opacity of the item.

virtual void vtkContextItem::SetOpacity ( double  ) [virtual]

Set the opacity of the item. 1.0 by default.


Member Data Documentation

Definition at line 53 of file vtkContextItem.h.


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