VTK
Public Member Functions
vtkArrayExtentsList Class Reference

Stores a collection of vtkArrayExtents objects. More...

#include <vtkArrayExtentsList.h>

List of all members.

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

Detailed Description

Stores a collection of vtkArrayExtents objects.

vtkArrayExtentsList provides storage for a collection of vtkArrayExtents 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, vtkExtents
Thanks:
Developed by Timothy M. Shead (tshea.nosp@m.d@sa.nosp@m.ndia..nosp@m.gov) at Sandia National Laboratories.
Tests:
vtkArrayExtentsList (Tests)

Definition at line 53 of file vtkArrayExtentsList.h.


Constructor & Destructor Documentation

Creates an empty collection of slices.

Creates a collection containing one slice.

Creates a collection containing two slices.

Creates a collection containing three slices.

Creates a collection containing four slices.


Member Function Documentation

Returns the number of slices stored in this collection.

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

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: