SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
smtk
mesh
interpolation
PointCloudFromCSV.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_mesh_PointCloudFromCSV_h
12
#define smtk_mesh_PointCloudFromCSV_h
13
14
#include "smtk/CoreExports.h"
15
#include "
smtk/PublicPointerDefs.h
"
16
17
#include "
smtk/common/Generator.h
"
18
#include "smtk/mesh/interpolation/PointCloud.h"
19
20
#include <string>
21
22
namespace
smtk
23
{
24
namespace
mesh
25
{
26
29
class
SMTKCORE_EXPORT
PointCloudFromCSV
30
:
public
smtk::common::GeneratorType
<std::string, PointCloud, PointCloudFromCSV>
31
{
32
public
:
33
bool
valid(
const
std::string& file)
const override
;
34
35
smtk::mesh::PointCloud
operator()(
const
std::string& file)
override
;
36
};
37
}
// namespace mesh
38
}
// namespace smtk
39
40
#endif
smtk
The main namespace for the Simulation Modeling Tool Kit (SMTK).
Definition:
doc.h:33
PublicPointerDefs.h
Generator.h
Generator templates.
smtk::mesh::PointCloudFromCSV
A GeneratorType for creating PointClouds from CSV files.
Definition:
PointCloudFromCSV.h:29
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
Generated by
1.8.17