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

vtkPolyDataMap Class Reference

#include <vtkPolyDataMap.h>

Inheritance diagram for vtkPolyDataMap:

Inheritance graph
[legend]
Collaboration diagram for vtkPolyDataMap:

Collaboration graph
[legend]
List of all members.

Detailed Description

A map object for vtkPolyData.

Calls Register when a vtkPolyData object is inserted into the map and UnRegister when the vtkPolyData object is erased.

Author:
Sean McInerney
Version:
Revision
1.7
Date:
Date
2004/06/03 18:58:29
See also:
vtkDataSetMap vtkPolyData

Definition at line 37 of file vtkPolyDataMap.h.

Public Member Functions

 vtkTypeRevisionMacro (vtkPolyDataMap, vtkDataSetMap)
virtual int Swap (vtkPolyDataMap *container)
 Swaps elements of this object with those of the specified container.

virtual vtkPolyDataFind (const char *key) const
 Get a pointer to a vtkPolyData object associated with a key.

virtual int Insert (const char *key, vtkPolyData *polyData)
 Insert a pointer to polyData associated with a key.

virtual const char * FindKey (const vtkPolyData *polyData)
 Find the first key in the map associated with an polyData pointer.

Data Access Methods
vtkPolyDataFront (void) const
 Get a read/write pointer to the first object in the container.

virtual int Front (const char *&key, vtkPolyData *&polyData) const
 Gets the first key - polyData association in the map.

vtkPolyDataBack (void) const
 Get a read/write pointer to the last object in the container.

virtual int Back (const char *&key, vtkPolyData *&polyData) const
 Gets the last key - polyData association in the map.


Static Public Member Functions

vtkPolyDataMapNew (void)

Protected Member Functions

 vtkPolyDataMap (void)
 ~vtkPolyDataMap ()


Constructor & Destructor Documentation

vtkPolyDataMap::vtkPolyDataMap void   )  [inline, protected]
 

Definition at line 111 of file vtkPolyDataMap.h.

vtkPolyDataMap::~vtkPolyDataMap  )  [inline, protected]
 

Definition at line 112 of file vtkPolyDataMap.h.


Member Function Documentation

int vtkPolyDataMap::Back const char *&  key,
vtkPolyData *&  polyData
const [inline, virtual]
 

Gets the last key - polyData association in the map.

Returns:
false if the map is empty or this iterator has not been initialized to traverse any map, otherwise true.

Definition at line 154 of file vtkPolyDataMap.h.

vtkPolyData* vtkPolyDataMap::Back void   )  const [inline, virtual]
 

Get a read/write pointer to the last object in the container.

Returns:
null if the container is empty, otherwise returns a pointer to an object.

Reimplemented from vtkDataSetMap.

Definition at line 98 of file vtkPolyDataMap.h.

virtual vtkPolyData* vtkPolyDataMap::Find const char *  key  )  const [inline, virtual]
 

Get a pointer to a vtkPolyData object associated with a key.

Returns:
true on success, false otherwise.
Note:
Covariant return type.

Reimplemented from vtkDataSetMap.

Definition at line 57 of file vtkPolyDataMap.h.

virtual const char* vtkPolyDataMap::FindKey const vtkPolyData polyData  )  [inline, virtual]
 

Find the first key in the map associated with an polyData pointer.

Returns:
true on success, false otherwise.

Definition at line 72 of file vtkPolyDataMap.h.

int vtkPolyDataMap::Front const char *&  key,
vtkPolyData *&  polyData
const [inline, virtual]
 

Gets the first key - polyData association in the map.

Returns:
false if the map is empty or this iterator has not been initialized to traverse any map, otherwise true.

Definition at line 144 of file vtkPolyDataMap.h.

vtkPolyData* vtkPolyDataMap::Front void   )  const [inline, virtual]
 

Get a read/write pointer to the first object in the container.

Returns:
null if the container is empty, otherwise returns a pointer to an object.

Reimplemented from vtkDataSetMap.

Definition at line 82 of file vtkPolyDataMap.h.

virtual int vtkPolyDataMap::Insert const char *  key,
vtkPolyData polyData
[inline, virtual]
 

Insert a pointer to polyData associated with a key.

Returns:
true on success, false otherwise.

Definition at line 64 of file vtkPolyDataMap.h.

vtkPolyDataMap* vtkPolyDataMap::New void   )  [static]
 

Reimplemented from vtkDataSetMap.

virtual int vtkPolyDataMap::Swap vtkPolyDataMap container  )  [inline, virtual]
 

Swaps elements of this object with those of the specified container.

Returns:
true on success, otherwise false.

Definition at line 48 of file vtkPolyDataMap.h.

References Swap().

vtkPolyDataMap::vtkTypeRevisionMacro vtkPolyDataMap  ,
vtkDataSetMap 
 


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