SurgSim
Physics
Fem1D.h
Go to the documentation of this file.
1
// This file is a part of the OpenSurgSim project.
2
// Copyright 2015, SimQuest Solutions Inc.
3
//
4
// Licensed under the Apache License, Version 2.0 (the "License");
5
// you may not use this file except in compliance with the License.
6
// You may obtain a copy of the License at
7
//
8
// http://www.apache.org/licenses/LICENSE-2.0
9
//
10
// Unless required by applicable law or agreed to in writing, software
11
// distributed under the License is distributed on an "AS IS" BASIS,
12
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
// See the License for the specific language governing permissions and
14
// limitations under the License.
15
16
#ifndef SURGSIM_PHYSICS_FEM1D_H
17
#define SURGSIM_PHYSICS_FEM1D_H
18
19
#include "
SurgSim/Physics/Fem.h
"
20
21
namespace
SurgSim
22
{
23
namespace
Physics
24
{
25
26
SURGSIM_STATIC_REGISTRATION(Fem1D);
27
30
class
Fem1D
:
public
Fem
<FemElementStructs::RotationVectorData, FemElementStructs::FemElement1DParameter>
31
{
32
public
:
33
Fem1D
();
34
35
SURGSIM_CLASSNAME
(
SurgSim::Physics::Fem1D
);
36
37
protected
:
38
// Asset API override
39
bool
doLoad
(
const
std::string
& filePath)
override
;
40
};
41
42
}
// namespace Physics
43
}
// namespace SurgSim
44
45
#endif // SURGSIM_PHYSICS_FEM1D_H
SurgSim::Physics::Fem1D::doLoad
bool doLoad(const std::string &filePath) override
Derived classes will overwrite this method to do actual loading.
Definition:
Fem1D.cpp:30
SurgSim::Physics::Fem1D
Fem class data structure implementation for 1-Dimensional FEMs.
Definition:
Fem1D.h:30
SurgSim
Definition:
CompoundShapeToGraphics.cpp:29
SurgSim::Physics::Fem
Base class for a data structure for holding FEM mesh data of different dimensions.
Definition:
Fem.h:39
SurgSim::Physics::Fem1D::Fem1D
Fem1D()
Definition:
Fem1D.cpp:26
string
string(TOUPPER ${DEVICE} DEVICE_UPPER_CASE) option(BUILD_DEVICE_$
Definition:
CMakeLists.txt:38
Fem.h
SurgSim::Physics::Fem1D::SURGSIM_CLASSNAME
SURGSIM_CLASSNAME(SurgSim::Physics::Fem1D)
Generated on Sun Feb 9 2020 17:22:37 for OpenSurgSim by
1.8.17