VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Common
vtkSortDataArray.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkSortDataArray.h
5
6
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7
All rights reserved.
8
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10
This software is distributed WITHOUT ANY WARRANTY; without even
11
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12
PURPOSE. See the above copyright notice for more information.
13
14
=========================================================================*/
15
16
/*
17
* Copyright 2003 Sandia Corporation.
18
* Under the terms of Contract DE-AC04-94AL85000, there is a non-exclusive
19
* license for use of this work by or on behalf of the
20
* U.S. Government. Redistribution and use in source and binary forms, with
21
* or without modification, are permitted provided that this Notice and any
22
* statement of authorship are reproduced on all copies.
23
*/
24
29
#ifndef __vtkSortDataArray_h
30
#define __vtkSortDataArray_h
31
32
#include "
vtkObject.h
"
33
34
class
vtkIdList
;
35
class
vtkAbstractArray
;
36
37
class
VTK_COMMON_EXPORT
vtkSortDataArray
:
public
vtkObject
38
{
39
public
:
40
vtkTypeMacro(
vtkSortDataArray
,
vtkObject
);
41
static
vtkSortDataArray
*
New
();
42
virtual
void
PrintSelf
(ostream &os,
vtkIndent
indent);
43
45
46
static
void
Sort(
vtkIdList
*keys);
47
static
void
Sort(
vtkAbstractArray
*keys);
49
56
static
void
SortArrayByComponent(
vtkAbstractArray
* arr,
int
k );
57
59
62
static
void
Sort(
vtkIdList
*keys,
vtkIdList
*values);
63
static
void
Sort(
vtkIdList
*keys,
vtkAbstractArray
*values);
64
static
void
Sort(
vtkAbstractArray
*keys,
vtkIdList
*values);
65
static
void
Sort(
vtkAbstractArray
*keys,
vtkAbstractArray
*values);
67
68
protected
:
69
vtkSortDataArray
();
70
virtual
~
vtkSortDataArray
();
71
72
private
:
73
vtkSortDataArray
(
const
vtkSortDataArray
&);
// Not implemented.
74
void
operator=(
const
vtkSortDataArray
&);
// Not implemented.
75
};
76
77
#endif //__vtkSortDataArray_h
Generated on Fri Aug 2 2013 12:19:47 for VTK by
1.8.4