Commit d6e00bb7 authored by Will Schroeder's avatar Will Schroeder
Browse files

ENH: New GetVectorMacro

parent 475364bf
......@@ -39,7 +39,7 @@ public:
protected:
virtual void Execute()
{vlErrorMacro(<< "Execute is a Filter subclass responsability");};
{vlErrorMacro(<< "Execute is a Filter subclass responsibility");};
char Updating;
void (*StartMethod)(void *);
void *StartMethodArg;
......
......@@ -49,7 +49,7 @@ public:
// Description:
// Set the number of divisions in x-y-z directions.
vlSetVector3Macro(Divisions,int);
vlGetVectorMacro(Divisions,int);
vlGetVectorMacro(Divisions,int,3);
// Description:
// Boolean controls whether automatic subdivision size is computed
......
......@@ -43,10 +43,10 @@ public:
void EvaluateNormal(float x, float y, float z, float n[3]);
vlSetVector3Macro(Normal,float);
vlGetVectorMacro(Normal,float);
vlGetVectorMacro(Normal,float,3);
vlSetVector3Macro(Origin,float);
vlGetVectorMacro(Origin,float);
vlGetVectorMacro(Origin,float,3);
protected:
float Normal[3];
......
......@@ -37,7 +37,7 @@ public:
void SetCoefficients(float a[10]);
void SetCoefficients(float a0, float a1, float a2, float a3, float a4,
float a5, float a6, float a7, float a8, float a9);
vlGetVectorMacro(Coefficients,float);
vlGetVectorMacro(Coefficients,float,10);
protected:
float Coefficients[10];
......
......@@ -37,7 +37,7 @@ public:
vlGetMacro(Radius,float);
vlSetVector3Macro(Origin,float);
vlGetVectorMacro(Origin,float);
vlGetVectorMacro(Origin,float,3);
protected:
float Radius;
......
......@@ -53,7 +53,7 @@ public:
// specific object methods
void SetDimensions(int i, int j, int k);
void SetDimensions(int dim[3]);
vlGetVectorMacro(Dimensions,int);
vlGetVectorMacro(Dimensions,int,3);
int GetDataDimension();
......
......@@ -46,13 +46,13 @@ public:
// Set the aspect ratio of the cubical cells that compose the structured
// point set.
vlSetVector3Macro(AspectRatio,float);
vlGetVectorMacro(AspectRatio,float);
vlGetVectorMacro(AspectRatio,float,3);
// Description:
// Set the origin of the data. The origin plus aspect ratio determine the
// position in space of the structured points.
vlSetVector3Macro(Origin,float);
vlGetVectorMacro(Origin,float);
vlGetVectorMacro(Origin,float,3);
protected:
float Origin[3];
......
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