VMTK
Loading...
Searching...
No Matches
DifferentialGeometry
vtkvmtkEmptyNeighborhood.cxx
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: VMTK
4
Module: $RCSfile: vtkvmtkEmptyNeighborhood.cxx,v $
5
Language: C++
6
Date: $Date: 2005/03/04 11:07:29 $
7
Version: $Revision: 1.2 $
8
9
Copyright (c) Luca Antiga, David Steinman. All rights reserved.
10
See LICENSE file for details.
11
12
Portions of this code are covered under the VTK copyright.
13
See VTKCopyright.txt or http://www.kitware.com/VTKCopyright.htm
14
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 notices for more information.
19
20
=========================================================================*/
21
22
#include "
vtkvmtkEmptyNeighborhood.h
"
23
#include "vtkObjectFactory.h"
24
25
26
vtkStandardNewMacro
(
vtkvmtkEmptyNeighborhood
);
27
28
void
vtkvmtkEmptyNeighborhood::Build
()
29
{
30
this->
NPoints
= 0;
31
32
if
(this->
PointIds
!=NULL)
33
{
34
delete
[] this->
PointIds
;
35
this->
PointIds
= NULL;
36
}
37
}
38
39
vtkvmtkEmptyNeighborhood
Create an empty neighborhood instance.
Definition
vtkvmtkEmptyNeighborhood.h:41
vtkvmtkEmptyNeighborhood::Build
void Build() override
Definition
vtkvmtkEmptyNeighborhood.cxx:28
vtkvmtkNeighborhood::NPoints
vtkIdType NPoints
Definition
vtkvmtkNeighborhood.h:89
vtkvmtkNeighborhood::PointIds
vtkIdType * PointIds
Definition
vtkvmtkNeighborhood.h:90
vtkStandardNewMacro
vtkStandardNewMacro(vtkvmtkEmptyNeighborhood)
vtkvmtkEmptyNeighborhood.h
Generated by
1.15.0