Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

vtkPaletteStack Class Reference

#include <vtkPaletteStack.h>

Inheritance diagram for vtkPaletteStack:

Inheritance graph
[legend]
Collaboration diagram for vtkPaletteStack:

Collaboration graph
[legend]
List of all members.

Detailed Description

A stack object for palettes.

Calls Register when palettes are pushed onto the stack and UnRegister when the palette is popped.

Author:
Sean McInerney
Version:
Revision
1.1
Date:
Date
2004/06/02 11:35:09
See also:
vtkPaletteElementStack vtkPalette

Definition at line 37 of file vtkPaletteStack.h.

Public Member Functions

 vtkTypeRevisionMacro (vtkPaletteStack, vtkPaletteElementStack)
virtual vtkPaletteTop (void) const
 Get a pointer to the palette at the first element of the stack.

virtual int Push (vtkPalette *palette)
 Add a palette pointer to the top of the stack.


Static Public Member Functions

vtkPaletteStackNew (void)

Protected Member Functions

 vtkPaletteStack (void)
 ~vtkPaletteStack ()


Constructor & Destructor Documentation

vtkPaletteStack::vtkPaletteStack void   )  [inline, protected]
 

Definition at line 66 of file vtkPaletteStack.h.

vtkPaletteStack::~vtkPaletteStack  )  [inline, protected]
 

Definition at line 67 of file vtkPaletteStack.h.


Member Function Documentation

vtkPaletteStack* vtkPaletteStack::New void   )  [static]
 

Reimplemented from vtkPaletteElementStack.

virtual int vtkPaletteStack::Push vtkPalette palette  )  [inline, virtual]
 

Add a palette pointer to the top of the stack.

Parameters:
palette The palette pointer to be added.
This is a typical stack operation. The function creates an element at the top of the stack and assigns the given palette pointer to it.

Returns:
true on success, false otherwise.

Definition at line 62 of file vtkPaletteStack.h.

virtual vtkPalette* vtkPaletteStack::Top void   )  const [inline, virtual]
 

Get a pointer to the palette at the first element of the stack.

Returns:
A pointer to the first palette on success, NULL otherwise.
Note:
Covariant return type.

Reimplemented from vtkPaletteElementStack.

Definition at line 50 of file vtkPaletteStack.h.

vtkPaletteStack::vtkTypeRevisionMacro vtkPaletteStack  ,
vtkPaletteElementStack 
 


The documentation for this class was generated from the following file:
Generated on Tue Aug 10 03:44:32 2004 for vtkExtensions by doxygen 1.3.7