VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Common
Core
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
32
#ifndef __vtkSortDataArray_h
33
#define __vtkSortDataArray_h
34
35
#include "vtkCommonCoreModule.h"
// For export macro
36
#include "
vtkObject.h
"
37
38
class
vtkIdList
;
39
class
vtkAbstractArray
;
40
41
class
VTKCOMMONCORE_EXPORT
vtkSortDataArray
:
public
vtkObject
42
{
43
public
:
44
vtkTypeMacro(
vtkSortDataArray
,
vtkObject
);
45
static
vtkSortDataArray
*
New
();
46
virtual
void
PrintSelf
(ostream &os,
vtkIndent
indent);
47
49
50
static
void
Sort(
vtkIdList
*keys);
51
static
void
Sort(
vtkAbstractArray
*keys);
53
60
static
void
SortArrayByComponent(
vtkAbstractArray
* arr,
int
k );
61
63
66
static
void
Sort(
vtkIdList
*keys,
vtkIdList
*values);
67
static
void
Sort(
vtkIdList
*keys,
vtkAbstractArray
*values);
68
static
void
Sort(
vtkAbstractArray
*keys,
vtkIdList
*values);
69
static
void
Sort(
vtkAbstractArray
*keys,
vtkAbstractArray
*values);
71
72
protected
:
73
vtkSortDataArray
();
74
virtual
~
vtkSortDataArray
();
75
76
private
:
77
vtkSortDataArray
(
const
vtkSortDataArray
&);
// Not implemented.
78
void
operator=(
const
vtkSortDataArray
&);
// Not implemented.
79
};
80
81
#endif //__vtkSortDataArray_h
Generated on Thu May 24 2012 22:22:09 for VTK by
1.8.1