paysages3d/src/render/software/FluidMediumInterface.h

28 lines
555 B
C
Raw Normal View History

2013-11-09 18:13:28 +00:00
#ifndef FLUIDMEDIUMINTERFACE_H
#define FLUIDMEDIUMINTERFACE_H
#include "software_global.h"
namespace paysages {
namespace basics {
class SpaceCoordinate;
}
namespace software {
/*!
* \brief Interface to a fluid medium compatible class.
*/
class SOFTWARESHARED_EXPORT FluidMediumInterface
{
public:
/*!
* Return true if the object may interfere with the fluid medium on the given segment.
*/
virtual bool mayInfluence(const SpaceCoordinate& start, const SpaceCoordinate& end) const = 0;
};
}
}
#endif // FLUIDMEDIUMINTERFACE_H