44#ifndef vtkArrayWeights_h
45#define vtkArrayWeights_h
47#include "vtkCommonCoreModule.h"
50class vtkArrayWeightsStorage;
Stores a collection of weighting factors.
vtkArrayWeights(double i, double j, double k, double l)
Create a collection containing four weights.
vtkArrayWeightsStorage * Storage
vtkArrayWeights(double i, double j, double k)
Create a collection containing three weights.
void SetCount(vtkIdType count)
Sets the number of weights stored in this container.
vtkArrayWeights & operator=(const vtkArrayWeights &other)
Assignment operator.
~vtkArrayWeights()
Destructor.
vtkArrayWeights()
Create an empty collection of weights.
const double & operator[](vtkIdType) const
Accesses the i-th weight in the collection.
vtkIdType GetCount() const
Returns the number of weights stored in this container.
vtkArrayWeights(double i, double j)
Create a collection containing two weights.
vtkArrayWeights(double i)
Create a collection containing one weight.
vtkArrayWeights(const vtkArrayWeights &other)
Copy the weights from another object.
double & operator[](vtkIdType)
Accesses the i-th weight in the collection.