VTK
9.0.1
Common
Core
vtkArrayWeights.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkArrayWeights.h
5
6
-------------------------------------------------------------------------
7
Copyright 2008 Sandia Corporation.
8
Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
9
the U.S. Government retains certain rights in this software.
10
-------------------------------------------------------------------------
11
12
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
13
All rights reserved.
14
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
15
16
This software is distributed WITHOUT ANY WARRANTY; without even
17
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
18
PURPOSE. See the above copyright notice for more information.
19
20
=========================================================================*/
21
44
#ifndef vtkArrayWeights_h
45
#define vtkArrayWeights_h
46
47
#include "vtkCommonCoreModule.h"
// For export macro
48
#include "
vtkSystemIncludes.h
"
49
50
class
vtkArrayWeightsStorage;
// pimpl
51
52
class
VTKCOMMONCORE_EXPORT
vtkArrayWeights
53
{
54
public
:
58
vtkArrayWeights
();
59
63
vtkArrayWeights
(
const
vtkArrayWeights
& other);
64
68
vtkArrayWeights
(
double
i);
69
73
vtkArrayWeights
(
double
i,
double
j);
74
78
vtkArrayWeights
(
double
i,
double
j,
double
k);
79
83
vtkArrayWeights
(
double
i,
double
j,
double
k,
double
l);
84
88
~
vtkArrayWeights
();
89
93
vtkIdType
GetCount()
const
;
94
100
void
SetCount(
vtkIdType
count);
101
105
double
& operator[](
vtkIdType
);
106
110
const
double
& operator[](
vtkIdType
)
const
;
111
115
vtkArrayWeights
& operator=(
const
vtkArrayWeights
& other);
116
117
protected
:
118
vtkArrayWeightsStorage*
Storage
;
119
};
120
121
#endif
122
123
// VTK-HeaderTest-Exclude: vtkArrayWeights.h
vtkIdType
int vtkIdType
Definition:
vtkType.h:338
vtkArrayWeights
Stores a collection of weighting factors.
Definition:
vtkArrayWeights.h:52
vtkArrayWeights::Storage
vtkArrayWeightsStorage * Storage
Definition:
vtkArrayWeights.h:118
vtkSystemIncludes.h
Generated on Thu Jun 25 2020 08:30:13 for VTK by
1.8.17