VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
vtkIntArray Class Reference

dynamic, self-adjusting array of int More...

#include <vtkIntArray.h>

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

List of all members.

Public Types

typedef vtkDataArrayTemplate< intSuperclass

Public Member Functions

virtual int IsA (const char *type)
vtkIntArrayNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)

Static Public Member Functions

static vtkIntArrayNew ()
static int IsTypeOf (const char *type)
static vtkIntArraySafeDownCast (vtkObjectBase *o)
static int GetDataTypeValueMin ()
static int GetDataTypeValueMax ()

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkIntArray ()
 ~vtkIntArray ()

Detailed Description

dynamic, self-adjusting array of int

vtkIntArray is an array of values of type int. It provides methods for insertion and retrieval of values and will automatically resize itself to hold new data.

Examples:
vtkIntArray (Examples)
Tests:
vtkIntArray (Tests)

Definition at line 45 of file vtkIntArray.h.


Member Typedef Documentation

Reimplemented from vtkDataArray.

Reimplemented in vtkTypeInt32Array.

Definition at line 52 of file vtkIntArray.h.


Constructor & Destructor Documentation

vtkIntArray::vtkIntArray ( ) [protected]
vtkIntArray::~vtkIntArray ( ) [protected]

Member Function Documentation

static vtkIntArray* vtkIntArray::New ( ) [static]

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkObject.

Reimplemented in vtkTypeInt32Array.

static int vtkIntArray::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 vtkDataArray.

Reimplemented in vtkTypeInt32Array.

virtual int vtkIntArray::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 vtkDataArray.

Reimplemented in vtkTypeInt32Array.

Reimplemented from vtkDataArray.

Reimplemented in vtkTypeInt32Array.

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

Reimplemented from vtkDataArray.

Reimplemented in vtkTypeInt32Array.

Reimplemented from vtkDataArray.

Reimplemented in vtkTypeInt32Array.

void vtkIntArray::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 vtkDataArray.

Reimplemented in vtkTypeInt32Array.

static int vtkIntArray::GetDataTypeValueMin ( ) [inline, static]

Get the minimum data value in its native type.

Definition at line 63 of file vtkIntArray.h.

static int vtkIntArray::GetDataTypeValueMax ( ) [inline, static]

Get the maximum data value in its native type.

Definition at line 66 of file vtkIntArray.h.


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