SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
smtk
extension
vtk
io
mesh
PointCloudFromVTKFile.h
1
//=========================================================================
2
// Copyright (c) Kitware, Inc.
3
// All rights reserved.
4
// See LICENSE.txt for details.
5
//
6
// This software is distributed WITHOUT ANY WARRANTY; without even
7
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
8
// PURPOSE. See the above copyright notice for more information.
9
//=========================================================================
10
11
#ifndef smtk_extensions_vtk_mesh_PointCloudFromVTK_h
12
#define smtk_extensions_vtk_mesh_PointCloudFromVTK_h
13
14
#include "
smtk/AutoInit.h
"
15
16
#include "
smtk/PublicPointerDefs.h
"
17
#include "smtk/extension/vtk/io/IOVTKExports.h"
18
19
#include "
smtk/common/Generator.h
"
20
#include "smtk/mesh/interpolation/PointCloud.h"
21
#include "smtk/mesh/interpolation/PointCloudGenerator.h"
22
23
#include <string>
24
25
namespace
smtk
26
{
27
namespace
extension
28
{
29
namespace
vtk
30
{
31
namespace
mesh
32
{
33
36
class
SMTKIOVTK_EXPORT
PointCloudFromVTKFile
37
:
public
smtk::common::GeneratorType
<std::string, smtk::mesh::PointCloud, PointCloudFromVTKFile>
38
{
39
public
:
40
bool
valid(
const
std::string& file)
const override
;
41
42
smtk::mesh::PointCloud
operator()(
const
std::string& file)
override
;
43
};
44
}
// namespace mesh
45
}
// namespace vtk
46
}
// namespace extension
47
}
// namespace smtk
48
49
#endif
smtk
The main namespace for the Simulation Modeling Tool Kit (SMTK).
Definition:
doc.h:33
PublicPointerDefs.h
Generator.h
Generator templates.
smtk::common::GeneratorType
Base class for specific generator types.
Definition:
Generator.h:228
smtk::mesh::PointCloud
A wrapper for point cloud data.
Definition:
PointCloud.h:37
AutoInit.h
smtk::extension::vtk::mesh::PointCloudFromVTKFile
A GeneratorType for creating PointClouds from VTK files.
Definition:
PointCloudFromVTKFile.h:36
Generated by
1.8.17