VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Common
vtkArraySort.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkArraySort.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
42
#ifndef __vtkArraySort_h
43
#define __vtkArraySort_h
44
45
#include "
vtkSystemIncludes.h
"
46
#include "
vtkArrayCoordinates.h
"
47
#include <vector>
48
49
class
VTK_COMMON_EXPORT
vtkArraySort
50
{
51
public
:
52
typedef
vtkArrayCoordinates::DimensionT
DimensionT
;
53
56
vtkArraySort
();
57
59
explicit
vtkArraySort
(
DimensionT
i);
60
62
vtkArraySort
(
DimensionT
i,
DimensionT
j);
63
65
vtkArraySort
(
DimensionT
i,
DimensionT
j,
DimensionT
k);
66
68
DimensionT
GetDimensions()
const
;
69
73
void
SetDimensions(
DimensionT
dimensions);
74
76
DimensionT
& operator[](
DimensionT
i);
77
79
const
DimensionT
& operator[](
DimensionT
i)
const
;
80
81
83
bool
operator==
(
const
vtkArraySort
& rhs)
const
;
84
86
bool
operator!=
(
const
vtkArraySort
& rhs)
const
;
87
89
90
VTK_COMMON_EXPORT
friend
ostream&
operator<<
(
91
ostream& stream,
const
vtkArraySort
& rhs);
93
94
private
:
95
//BTX
96
std::vector<DimensionT> Storage;
97
//ETX
98
};
99
100
#endif
101
Generated on Sun Sep 9 2012 13:03:26 for VTK by
1.8.1.2