vtkArrayExtentsList Class Reference

#include <vtkArrayExtentsList.h>

List of all members.


Detailed Description

Stores a collection of vtkArraySlice objects.

vtkArrayExtentsList provides storage for a collection of vtkArraySlice instances. Constructors are provided for creating collections containing one, two, three, or four slices. To work with larger numbers of slices, use the default constructor, the SetCount() method, and operator[].

vtkArrayExtentsList is most commonly used with the vtkInterpolate() function, which is used to computed weighted sums of vtkArray slices.

See also:
vtkArray, vtkSlice
Thanks:
Developed by Timothy M. Shead (tshead@sandia.gov) at Sandia National Laboratories.
Tests:
vtkArrayExtentsList (Tests)

Definition at line 50 of file vtkArrayExtentsList.h.


Public Member Functions

 vtkArrayExtentsList ()
 vtkArrayExtentsList (const vtkArrayExtents &i)
 vtkArrayExtentsList (const vtkArrayExtents &i, const vtkArrayExtents &j)
 vtkArrayExtentsList (const vtkArrayExtents &i, const vtkArrayExtents &j, const vtkArrayExtents &k)
 vtkArrayExtentsList (const vtkArrayExtents &i, const vtkArrayExtents &j, const vtkArrayExtents &k, const vtkArrayExtents &l)
vtkIdType GetCount () const
void SetCount (vtkIdType count)
vtkArrayExtentsoperator[] (vtkIdType i)
const vtkArrayExtentsoperator[] (vtkIdType i) const

Constructor & Destructor Documentation

vtkArrayExtentsList::vtkArrayExtentsList (  ) 

Creates an empty collection of slices.

vtkArrayExtentsList::vtkArrayExtentsList ( const vtkArrayExtents i  ) 

Creates a collection containing one slice.

vtkArrayExtentsList::vtkArrayExtentsList ( const vtkArrayExtents i,
const vtkArrayExtents j 
)

Creates a collection containing two slices.

vtkArrayExtentsList::vtkArrayExtentsList ( const vtkArrayExtents i,
const vtkArrayExtents j,
const vtkArrayExtents k 
)

Creates a collection containing three slices.

vtkArrayExtentsList::vtkArrayExtentsList ( const vtkArrayExtents i,
const vtkArrayExtents j,
const vtkArrayExtents k,
const vtkArrayExtents l 
)

Creates a collection containing four slices.


Member Function Documentation

vtkIdType vtkArrayExtentsList::GetCount (  )  const

Returns the number of slices stored in this collection.

void vtkArrayExtentsList::SetCount ( vtkIdType  count  ) 

Sets the number of slices stored in this collection. Note: all slices will be empty after calling SetSliceCount(), use operator[] to assign each slice.

vtkArrayExtents& vtkArrayExtentsList::operator[] ( vtkIdType  i  ) 

Accesses the i-th slice.

const vtkArrayExtents& vtkArrayExtentsList::operator[] ( vtkIdType  i  )  const

Accesses the i-th slice.


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

Generated on Mon Sep 27 18:18:01 2010 for VTK by  doxygen 1.5.6