UpdateCcdData.h
Go to the documentation of this file.
// This file is a part of the OpenSurgSim project.
// Copyright 2013-2016, SimQuest Solutions Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#ifndef SURGSIM_PHYSICS_UPDATECCDDATA_H
#define SURGSIM_PHYSICS_UPDATECCDDATA_H
#include "SurgSim/Framework/Macros.h"
#include "SurgSim/Physics/Computation.h"
namespace SurgSim
{
namespace Physics
{
class UpdateCcdData : public Computation
{
public:
explicit UpdateCcdData(bool copyState);
SURGSIM_CLASSNAME(SurgSim::Physics::UpdateCcdData);
~UpdateCcdData();
std::shared_ptr<PhysicsManagerState>
doUpdate(const double& interval, const std::shared_ptr<PhysicsManagerState>& state) override;
private:
};
}
}
#endif
SurgSim
Definition: CompoundShapeToGraphics.cpp:29
SurgSim::Physics::UpdateCcdData::doUpdate
std::shared_ptr< PhysicsManagerState > doUpdate(const double &interval, const std::shared_ptr< PhysicsManagerState > &state) override
Change of behavior, the value transported is not the complete &#39;interval&#39; but is the percentage of the...
Definition: UpdateCcdData.cpp:46
SurgSim::Physics::UpdateCcdData::SURGSIM_CLASSNAME
SURGSIM_CLASSNAME(SurgSim::Physics::UpdateCcdData)
SurgSim::Physics::UpdateCcdData::~UpdateCcdData
~UpdateCcdData()
Destructor.
Definition: UpdateCcdData.cpp:40
Macros.h
SurgSim::Physics::Computation
Encapsulates a calculation over a selection of objects, needs to be subclassed to be used...
Definition: Computation.h:32
SurgSim::Physics::UpdateCcdData::UpdateCcdData
UpdateCcdData(bool copyState)
Constructor.
Definition: UpdateCcdData.cpp:34
Computation.h
SurgSim::Physics::UpdateCcdData
Definition: UpdateCcdData.h:28