VMTK
|
Control allocation and memory footprint of item instances. More...
#include <vtkvmtkItems.h>
Public Types | |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkvmtkItems * | NewInstance () const |
virtual void | SetItemType (int) |
virtual int | GetItemType () |
void | Allocate (vtkIdType numItems, vtkIdType ext=1000) |
vtkvmtkItem * | GetItem (vtkIdType id) |
void | SetNumberOfItems (vtkIdType numberOfItems) |
vtkIdType | GetNumberOfItems () |
void | Squeeze () |
void | Reset () |
void | Initialize () |
void | ReleaseArray () |
void | AllocateItem (vtkIdType i, vtkIdType itemType) |
void | DeepCopy (vtkvmtkItems *src) |
void | ShallowCopy (vtkvmtkItems *src) |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkvmtkItems * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkvmtkItems () | |
~vtkvmtkItems () | |
virtual vtkvmtkItem * | InstantiateNewItem (int itemType)=0 |
vtkvmtkItem ** | Resize (vtkIdType sz) |
Protected Attributes | |
vtkvmtkItem ** | Array |
vtkIdType | Size |
vtkIdType | MaxId |
vtkIdType | Extend |
int | ItemType |
Control allocation and memory footprint of item instances.
..
Definition at line 37 of file vtkvmtkItems.h.
typedef vtkObject vtkvmtkItems::Superclass |
Definition at line 41 of file vtkvmtkItems.h.
|
inlineprotected |
Definition at line 76 of file vtkvmtkItems.h.
|
protected |
|
static |
|
virtual |
Reimplemented in vtkvmtkNeighborhoods, vtkvmtkStencils, and vtkvmtkDataSetItems.
|
static |
|
protectedvirtual |
Reimplemented in vtkvmtkNeighborhoods, vtkvmtkStencils, and vtkvmtkDataSetItems.
vtkvmtkItems* vtkvmtkItems::NewInstance | ( | ) | const |
|
virtual |
|
virtual |
void vtkvmtkItems::Allocate | ( | vtkIdType | numItems, |
vtkIdType | ext = 1000 |
||
) |
Allocate the specified number of items (i.e., number of points) that will be built.
|
inline |
Definition at line 50 of file vtkvmtkItems.h.
|
inline |
Definition at line 52 of file vtkvmtkItems.h.
|
inline |
Definition at line 53 of file vtkvmtkItems.h.
void vtkvmtkItems::Squeeze | ( | ) |
Reclaim any unused memory.
void vtkvmtkItems::Reset | ( | ) |
Reset to a state of no entries without freeing the memory.
void vtkvmtkItems::Initialize | ( | ) |
Reset to a state of no entries freeing the memory.
void vtkvmtkItems::ReleaseArray | ( | ) |
Releases the stencil array.
void vtkvmtkItems::AllocateItem | ( | vtkIdType | i, |
vtkIdType | itemType | ||
) |
void vtkvmtkItems::DeepCopy | ( | vtkvmtkItems * | src | ) |
Standard DeepCopy method.
void vtkvmtkItems::ShallowCopy | ( | vtkvmtkItems * | src | ) |
Standard ShallowCopy method.
|
protectedpure virtual |
Implemented in vtkvmtkStencils, and vtkvmtkNeighborhoods.
|
protected |
|
protected |
Definition at line 81 of file vtkvmtkItems.h.
|
protected |
Definition at line 82 of file vtkvmtkItems.h.
|
protected |
Definition at line 83 of file vtkvmtkItems.h.
|
protected |
Definition at line 84 of file vtkvmtkItems.h.
|
protected |
Definition at line 87 of file vtkvmtkItems.h.