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

dynamic, self-adjusting array of unsigned char More...

#include <vtkUnsignedCharArray.h>

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

List of all members.

Public Types

typedef vtkDataArrayTemplate
< unsigned char > 
Superclass

Public Member Functions

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

Static Public Member Functions

static vtkUnsignedCharArrayNew ()
static int IsTypeOf (const char *type)
static vtkUnsignedCharArraySafeDownCast (vtkObjectBase *o)
static unsigned char GetDataTypeValueMin ()
static unsigned char GetDataTypeValueMax ()

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkUnsignedCharArray ()
 ~vtkUnsignedCharArray ()

Detailed Description

dynamic, self-adjusting array of unsigned char

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

Examples:
vtkUnsignedCharArray (Examples)
Tests:
vtkUnsignedCharArray (Tests)

Definition at line 45 of file vtkUnsignedCharArray.h.


Member Typedef Documentation

Reimplemented from vtkDataArray.

Reimplemented in vtkTypeUInt8Array.

Definition at line 52 of file vtkUnsignedCharArray.h.


Constructor & Destructor Documentation


Member Function Documentation

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

Reimplemented from vtkObject.

Reimplemented in vtkTypeUInt8Array.

static int vtkUnsignedCharArray::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 vtkTypeUInt8Array.

virtual int vtkUnsignedCharArray::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 vtkTypeUInt8Array.

Reimplemented from vtkDataArray.

Reimplemented in vtkTypeUInt8Array.

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

Reimplemented from vtkDataArray.

Reimplemented in vtkTypeUInt8Array.

Reimplemented from vtkDataArray.

Reimplemented in vtkTypeUInt8Array.

void vtkUnsignedCharArray::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 vtkTypeUInt8Array.

static unsigned char vtkUnsignedCharArray::GetDataTypeValueMin ( ) [inline, static]

Get the minimum data value in its native type.

Definition at line 63 of file vtkUnsignedCharArray.h.

static unsigned char vtkUnsignedCharArray::GetDataTypeValueMax ( ) [inline, static]

Get the maximum data value in its native type.

Definition at line 66 of file vtkUnsignedCharArray.h.


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