#include <maya/MIOStream.h>
#include <maya/MVector.h>
#include <maya/MObject.h>
#include <maya/MPlug.h>
#include <maya/MDataBlock.h>
#include <maya/MFnPlugin.h>
#include <maya/MPxFieldNode.h>
#include <maya/MGL.h>
#define McheckErr(stat, msg) \
if ( MS::kSuccess != stat ) \
{ \
cerr << msg; \
return MS::kFailure; \
}
{
public:
torusField() {};
virtual ~torusField() {};
static void *creator();
double deltaTime);
GLuint& height,
GLuint& xbo,
GLuint& ybo );
private:
void noiseFunction( double *inputNoise, double *out );
};
inline double torusField::magnitudeValue(
MDataBlock& block )
{
double value = 0.0;
return( value );
}
inline double torusField::attenuationValue(
MDataBlock& block )
{
double value = 0.0;
return( value );
}
inline double torusField::maxDistanceValue(
MDataBlock& block )
{
double value = 0.0;
return( value );
}
inline bool torusField::useMaxDistanceValue(
MDataBlock& block )
{
bool value = false;
return( value );
}
inline bool torusField::applyPerVertexValue(
MDataBlock& block )
{
bool value = false;
return( value );
}
inline double torusField::minDistanceValue(
MDataBlock& block )
{
double value = 0.0;
return( value );
}
inline double torusField::attractDistanceValue(
MDataBlock& block )
{
double value = 0.0;
return( value );
}
inline double torusField::repelDistanceValue(
MDataBlock& block )
{
double value = 0.0;
return( value );
}
inline double torusField::dragValue(
MDataBlock& block )
{
double value = 0.0;
return( value );
}
inline double torusField::swarmAmplitudeValue(
MDataBlock& block )
{
double value = 0.0;
return( value );
}
inline double torusField::swarmFrequencyValue(
MDataBlock& block )
{
double value = 0.0;
return( value );
}
inline double torusField::swarmPhaseValue(
MDataBlock& block )
{
double value = 0.0;
return( value );
}
{
{
}
return( status );
}