12#ifndef WSFINTERSECTPROCESSOR_HPP
13#define WSFINTERSECTPROCESSOR_HPP
15#include "wsf_mil_export.h"
20#include "UtDictionary.hpp"
43 const std::string& aTargetOffset,
44 const double aErrorAngle,
45 double& aBeamSurfaceDotProduct,
46 int& aMaterialPropertyCode,
50 int LoadMesh(
const std::string& aFileName, UtIntersectMesh* aMeshPtr =
nullptr);
52 void DefineOffset(
const std::string& aOffsetName,
double aOffsetX,
double aOffsetY,
double aOffsetZ);
58 WsfStringId GetTargetOffsetName(
unsigned aOffsetEntry)
const;
59 bool TargetOffsetExists(
const std::string& aTargetOffsetName)
const;
60 using MeshMap = std::map<unsigned int, UtIntersectMesh*>;
72 Offset(
double ax,
double ay,
double az)
83 using OffsetMap = std::map<unsigned int, Offset>;
84 using OffsetNameMap = std::map<WsfStringId, int>;
88 OffsetNameMap mOffsetNameMap;
UtStringId WsfStringId
WsfStringId – the same thing as UtStringId.
Definition WsfStringId.hpp:23
bool Intersect(WsfPlatform *aSourcePlatform, const std::string &aTargetOffset, const double aErrorAngle, double &aBeamSurfaceDotProduct, int &aMaterialPropertyCode, double &aDistance)
Definition WsfIntersectProcessor.cpp:161
UtIntersectMesh * LookupMesh(const int aIndex)
Definition WsfIntersectProcessor.cpp:313
void DefineOffset(const std::string &aOffsetName, double aOffsetX, double aOffsetY, double aOffsetZ)
Definition WsfIntersectProcessor.cpp:289
bool RemoveOffset(const std::string &aOffsetName)
Definition WsfIntersectProcessor.cpp:298
std::map< unsigned int, UtIntersectMesh * > MeshMap
Definition WsfIntersectProcessor.hpp:60
WsfIntersectProcessor(WsfScenario &aScenario)
Definition WsfIntersectProcessor.cpp:48
WsfIntersectProcessor & operator=(const WsfIntersectProcessor &)=delete
unsigned int GetTargetOffsetCount()
Definition WsfIntersectProcessor.hpp:56
int LoadMesh(const std::string &aFileName, UtIntersectMesh *aMeshPtr=nullptr)
Definition WsfIntersectProcessor.cpp:261
WsfProcessor * Clone() const override=0
bool Initialize(double aSimTime) override
Definition WsfProcessor.cpp:86
WsfProcessor(const WsfScenario &aScenario)
Definition WsfProcessor.cpp:25
bool ProcessInput(UtInput &aInput) override
Definition WsfProcessor.cpp:132
Contains the data required to create a simulation, and acts as the entry point for input file process...
Definition WsfScenario.hpp:111