#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() {};
~torusField() override {};
static void *creator();
double deltaTime) override;
GLuint& height,
GLuint& xbo,
GLuint& ybo ) override;
private:
void noiseFunction( double *inputNoise, double *out );
};
inline double torusField::magnitudeValue(
MDataBlock& block )
{
double value = 0.0;
if( status == MS::kSuccess )
return( value );
}
inline double torusField::attenuationValue(
MDataBlock& block )
{
double value = 0.0;
if( status == MS::kSuccess )
return( value );
}
inline double torusField::maxDistanceValue(
MDataBlock& block )
{
double value = 0.0;
if( status == MS::kSuccess )
return( value );
}
inline bool torusField::useMaxDistanceValue(
MDataBlock& block )
{
bool value = false;
if( status == MS::kSuccess )
return( value );
}
inline bool torusField::applyPerVertexValue(
MDataBlock& block )
{
bool value = false;
if( status == MS::kSuccess )
return( value );
}
inline double torusField::minDistanceValue(
MDataBlock& block )
{
double value = 0.0;
if( status == MS::kSuccess )
return( value );
}
inline double torusField::attractDistanceValue(
MDataBlock& block )
{
double value = 0.0;
if( status == MS::kSuccess )
return( value );
}
inline double torusField::repelDistanceValue(
MDataBlock& block )
{
double value = 0.0;
if( status == MS::kSuccess )
return( value );
}
inline double torusField::dragValue(
MDataBlock& block )
{
double value = 0.0;
if( status == MS::kSuccess )
return( value );
}
inline double torusField::swarmAmplitudeValue(
MDataBlock& block )
{
double value = 0.0;
if( status == MS::kSuccess )
return( value );
}
inline double torusField::swarmFrequencyValue(
MDataBlock& block )
{
double value = 0.0;
if( status == MS::kSuccess )
return( value );
}
inline double torusField::swarmPhaseValue(
MDataBlock& block )
{
double value = 0.0;
if( status == MS::kSuccess )
return( value );
}
{
if( status == MS::kSuccess )
{
}
return( status );
}