SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
smtk
model
AuxiliaryGeometry.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_model_AuxiliaryGeometry_h
11
#define smtk_model_AuxiliaryGeometry_h
12
13
#include "
smtk/model/EntityRef.h
"
14
15
namespace
smtk
16
{
17
namespace
model
18
{
19
20
typedef
std::vector<AuxiliaryGeometry>
AuxiliaryGeometries
;
21
44
class
SMTKCORE_EXPORT
AuxiliaryGeometry
:
public
EntityRef
45
{
46
public
:
47
SMTK_ENTITYREF_CLASS
(
AuxiliaryGeometry
,
EntityRef
, isAuxiliaryGeometry);
48
55
bool
reparent(
const
Model
& m);
60
bool
reparent(
const
AuxiliaryGeometry
& a);
61
62
bool
hasURL()
const
;
63
std::string url()
const
;
64
void
setURL(
const
std::string& url);
65
66
bool
isModified()
const
;
67
void
setIsModified(
bool
isModified);
68
70
AuxiliaryGeometries
auxiliaryGeometries()
const
;
71
};
72
73
}
// namespace model
74
}
// namespace smtk
75
76
#endif // smtk_model_AuxiliaryGeometry_h
smtk
The main namespace for the Simulation Modeling Tool Kit (SMTK).
Definition:
doc.h:33
smtk::model::AuxiliaryGeometries
std::vector< smtk::model::AuxiliaryGeometry > AuxiliaryGeometries
Definition:
PublicPointerDefs.h:144
smtk::model::Model
A entityref subclass that provides methods specific to models.
Definition:
Model.h:30
EntityRef.h
smtk::model::AuxiliaryGeometry
An EntityRef subclass for representing unmodeled geometry to be included in a scene.
Definition:
AuxiliaryGeometry.h:44
SMTK_ENTITYREF_CLASS
#define SMTK_ENTITYREF_CLASS(thisclass, superclass, typecheck)
A macro to implement mandatory EntityRef-subclass constructors.
Definition:
EntityRef.h:43
smtk::model::EntityRef
A lightweight entityref pointing to a model entity's resource.
Definition:
EntityRef.h:112
Generated by
1.8.17