Minor style change

parent 728e5f9e
...@@ -35,6 +35,7 @@ ...@@ -35,6 +35,7 @@
#include <vector> #include <vector>
class IITAAcousticMaterial; class IITAAcousticMaterial;
class CITAMaterialManager;
namespace ITAGeo namespace ITAGeo
{ {
...@@ -157,10 +158,28 @@ namespace ITAGeo ...@@ -157,10 +158,28 @@ namespace ITAGeo
class ITA_GEO_API CMirrorImage : public CPropagationAnchor class ITA_GEO_API CMirrorImage : public CPropagationAnchor
{ {
public: public:
VistaVector3D v3MirrorNormal; //<! If normal is zero vector, image is invalid / was not reflected
inline CMirrorImage() {}; inline CMirrorImage() {};
inline explicit CMirrorImage( const CPropagationAnchor& oAnchor )
: CPropagationAnchor( oAnchor )
{};
inline virtual ~CMirrorImage() {}; inline virtual ~CMirrorImage() {};
VistaVector3D v3MirrorNormal; inline void CopyFrom( const ITAGeo::CPropagationAnchor& oOther, CITAMaterialManager* pManager = nullptr )
{
bProtected = oOther.bProtected;
v3InteractionPoint = oOther.v3InteractionPoint;
/* @todo jst implement material manager logic (switch to shared ptr?)
if( pManager )
pManager->AssignMaterial( *this, oOther.pAcousticMaterial->GetIdentifier(), pAcousticMaterial );
*/
}
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment