Marine systems simulation
ArtificialLightSource Class Reference

Class containing a ArtificialLightSource simObject. Not complete yet. More...

#include <ArtificialLightSource.h>

+ Inheritance diagram for ArtificialLightSource:
+ Collaboration diagram for ArtificialLightSource:

Public Member Functions

 ArtificialLightSource (std::string sSimObjectName, ISimObjectCreator *pCreator)
 The constructor sets the pointer to the output object and the parser object.
 
virtual void OdeFcn (const double dT, const double *const adX, double *const adXDot, const bool bIsMajorTimeStep)
 Calculates the state derivatives.
 

Protected Member Functions

virtual const double * Position (const double dT, const double *const adX)
 
virtual const double * Velocity (const double dT, const double *const adX)
 

Protected Attributes

double m_dMass
 The mass of the object.
 
ISignalPort * m_pInForce
 A pointer to the input force.
 
int m_IStatePos
 The index of the position state.
 
int m_IStateVel
 The index of the velocity state.
 
double m_baseIntensity
 Base light intensity leve of source; considered static at this value within 1 m from source.
 
double m_attenuationFactor
 Factor determining attenuation of light intensity when passing through light (should be frequency dependent)
 

Detailed Description

Author
Martin Føre

The documentation for this class was generated from the following file: