vtkbone
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Source
vtkboneReorderDataArray.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Copyright 2010-2016, Numerics88 Solutions Ltd.
4
http://www.numerics88.com/
5
6
Copyright (c) Eric Nodwell and Steven K. Boyd
7
See Copyright.txt for details.
8
9
This software is distributed WITHOUT ANY WARRANTY; without even
10
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11
PURPOSE. See the above copyright notice for more information.
12
=========================================================================*/
13
36
#ifndef __vtkboneReorderDataArray_h
37
#define __vtkboneReorderDataArray_h
38
39
#include "
vtkObject.h
"
40
#include "
vtkboneWin32Header.h
"
41
#include "vtkSetGet.h"
42
43
// Forward declarations
44
class
vtkDataArray
;
45
class
vtkIdList
;
46
47
class
VTKBONE_EXPORT
vtkboneReorderDataArray
:
public
vtkObject
48
{
49
public
:
50
static
vtkboneReorderDataArray
*
New
();
51
vtkTypeMacro(
vtkboneReorderDataArray
,
vtkObject
);
52
56
static
int
Reorder(
vtkDataArray
* A,
vtkIdList
* permutation);
57
59
62
static
int
GenerateClosedLoopsList(
vtkIdList
* closedLoopList,
63
vtkIdList
* permutation);
65
67
71
static
int
Reorder(
vtkDataArray
* A,
72
vtkIdList
* permutation,
73
vtkIdList
* closedLoopList);
75
76
protected
:
77
vtkboneReorderDataArray
();
78
~
vtkboneReorderDataArray
();
79
80
private
:
81
vtkboneReorderDataArray
(
const
vtkboneReorderDataArray
&);
// Not implemented.
82
void
operator=
(
const
vtkboneReorderDataArray
&);
// Not implemented.
83
};
84
85
#endif
vtkboneReorderDataArray
provides methods for reordering an array in place.
Definition:
vtkboneReorderDataArray.h:47
vtkObject
VTKBONE_EXPORT
#define VTKBONE_EXPORT
Definition:
vtkboneWin32Header.h:33
vtkIdList
vtkDataArray
vtkboneWin32Header.h
vtkObject::New
static vtkObject * New()
vtkObject.h
vtkObjectBase::operator=
void operator=(const vtkObjectBase &)
Generated by
1.8.11