

Public Types | |
| typedef sofa::simulation::tree::GNode::Sequence < sofa::core::CollisionModel > ::iterator | CMIterator |
Public Member Functions | |
| FlowVRInputMesh () | |
| ~FlowVRInputMesh () | |
| virtual void | flowvrPreInit (std::set< flowvr::Port * > *ports) |
| virtual void | init () |
| Initialization method called at graph modification, during bottom-up traversal. | |
| virtual void | flowvrBeginIteration (flowvr::ModuleAPI *module) |
Data Fields | |
| flowvr::InputPort * | pInFacets |
| flowvr::InputPort * | pInPoints |
| flowvr::InputPort * | pInMatrix |
| Data< bool > | computeV |
| Data< double > | maxVDist |
| sofa::simulation::tree::GNode * | newPointsNode |
| sofa::component::MechanicalObject < Vec3Types > * | newPoints |
| sofa::component::collision::PointModel * | newPointsCM |
| sofa::component::collision::MinProximityIntersection * | intersection |
| sofa::component::collision::BruteForceDetection * | detection |
| sofa::helper::vector< double > | newPointsDist |
| Mat4x4f | matrix |
| int | facetsLastIt |
| int | pointsLastIt |
| int | matrixLastIt |
| double | motionLastTime |
Definition at line 383 of file Main.cpp.
| SofaFlowVR::FlowVRInputMesh::FlowVRInputMesh | ( | ) | [inline] |
Definition at line 410 of file Main.cpp.
References sofa::defaulttype::Mat< L, C, real >::identity(), and matrix.
| SofaFlowVR::FlowVRInputMesh::~FlowVRInputMesh | ( | ) | [inline] |
Definition at line 420 of file Main.cpp.
References sofa::simulation::Node::execute(), and newPointsNode.
| virtual void SofaFlowVR::FlowVRInputMesh::flowvrBeginIteration | ( | flowvr::ModuleAPI * | module | ) | [inline, virtual] |
Reimplemented from SofaFlowVR::FlowVRObject.
Definition at line 457 of file Main.cpp.
References sofa::component::collision::BruteForceDetection::addCollisionPair(), sofa::core::componentmodel::topology::BaseMeshTopology::addLine(), sofa::core::componentmodel::topology::BaseMeshTopology::addTriangle(), sofa::core::componentmodel::collision::NarrowPhaseDetection::beginNarrowPhase(), sofa::core::componentmodel::topology::BaseMeshTopology::clear(), sofa::simulation::Node::collisionModel, sofa::component::collision::PointModel::computeBoundingTree(), computeV, sofa::helper::fixed_array< T, N >::data(), detection, sofa::core::componentmodel::collision::DetectionOutput::elem, SofaFlowVR::FlowVRModule::f_scale, SofaFlowVR::FlowVRModule::f_trans, facetsLastIt, sofa::core::objectmodel::Base::getClassName(), sofa::core::objectmodel::BaseObject::getContext(), sofa::core::componentmodel::collision::NarrowPhaseDetection::getDetectionOutputs(), sofa::core::CollisionModel::getFirst(), sofa::core::objectmodel::BaseContext::getMechanicalState(), sofa::core::objectmodel::BaseContext::getTopology(), sofa::core::componentmodel::behavior::MechanicalState< TDataTypes >::getV(), sofa::core::objectmodel::Data< T >::getValue(), sofa::core::componentmodel::behavior::MechanicalState< TDataTypes >::getX(), intersection, matrix, matrixLastIt, maxVDist, SofaFlowVR::FlowVRObject::mod, motionLastTime, newPoints, newPointsCM, newPointsDist, pInFacets, pInMatrix, pInPoints, sofa::core::componentmodel::collision::DetectionOutput::point, pointsLastIt, sofa::core::componentmodel::behavior::BaseMechanicalState::resize(), sofa::component::collision::MinProximityIntersection::setAlarmDistance(), and sofa::component::collision::MinProximityIntersection::setContactDistance().
| virtual void SofaFlowVR::FlowVRInputMesh::flowvrPreInit | ( | std::set< flowvr::Port * > * | ports | ) | [inline, virtual] |
| virtual void SofaFlowVR::FlowVRInputMesh::init | ( | void | ) | [inline, virtual] |
Initialization method called at graph modification, during bottom-up traversal.
Reimplemented from sofa::core::objectmodel::BaseObject.
Definition at line 437 of file Main.cpp.
References sofa::simulation::tree::GNode::addObject(), computeV, detection, sofa::simulation::Node::execute(), sofa::core::objectmodel::Data< T >::getValue(), intersection, maxVDist, newPoints, newPointsCM, newPointsNode, sofa::component::collision::MinProximityIntersection::setAlarmDistance(), sofa::component::collision::MinProximityIntersection::setContactDistance(), and sofa::core::componentmodel::collision::Detection::setIntersectionMethod().
Definition at line 404 of file Main.cpp.
Referenced by flowvrBeginIteration(), and FlowVRInputMesh().
| flowvr::InputPort* SofaFlowVR::FlowVRInputMesh::pInFacets |
| flowvr::InputPort* SofaFlowVR::FlowVRInputMesh::pInMatrix |
| flowvr::InputPort* SofaFlowVR::FlowVRInputMesh::pInPoints |
1.5.7.1