SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
smtk
markup
SpatialData.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
#ifndef smtk_markup_SpatialData_h
11
#define smtk_markup_SpatialData_h
12
13
#include "smtk/markup/Component.h"
14
15
namespace
smtk
16
{
17
namespace
markup
18
{
19
33
class
SMTKMARKUP_EXPORT
SpatialData
:
public
smtk::markup::Component
34
{
35
public
:
36
smtkTypeMacro
(
smtk::markup::SpatialData
);
37
smtkSuperclassMacro
(
smtk::markup::Component
);
38
39
template
<
typename
... Args>
40
SpatialData
(Args&&... args)
41
:
smtk::markup::Component
(std::forward<Args>(args)...)
42
{
43
}
44
45
~
SpatialData
()
override
;
46
48
void
initialize(
const
nlohmann::json& data, smtk::resource::json::Helper& helper)
override
;
49
50
protected
:
51
};
52
53
}
// namespace markup
54
}
// namespace smtk
55
56
#endif // smtk_markup_SpatialData_h
smtk
The main namespace for the Simulation Modeling Tool Kit (SMTK).
Definition:
doc.h:33
smtk::markup::Component
Definition:
Component.h:51
smtk::markup::SpatialData
Markup nodes that have spatial extents.
Definition:
SpatialData.h:33
smtkTypeMacro
#define smtkTypeMacro(...)
Add typedefs to a class for identifcation.
Definition:
SharedFromThis.h:51
smtkSuperclassMacro
#define smtkSuperclassMacro(...)
Add a typedef to the superclass of this class.
Definition:
SharedFromThis.h:87
Generated by
1.8.17