75 #ifndef vtkComputeMoments_h 76 #define vtkComputeMoments_h 78 #include "vtkFiltersMomentInvariantsModule.h" 120 vtkSetMacro(Order,
int);
121 vtkGetMacro(Order,
int);
128 vtkSetMacro(NumberOfIntegrationSteps,
int);
129 vtkGetMacro(NumberOfIntegrationSteps,
int);
136 vtkGetMacro(NumberOfBasisFunctions,
int);
150 vtkSetMacro(UseFFT,
bool);
151 vtkGetMacro(UseFFT,
bool);
157 void SetRadii(
const std::vector<double>& radii);
162 std::vector<double>
GetRadii() {
return this->Radii; };
176 void SetRadiiArray(
double radiiArray[10]);
184 void GetRadiiArray(
double radiiArray[10]);
190 void SetRelativeRadii(
const std::vector<double>& radii);
210 void SetRelativeRadiiArray(
double relativeRadiiArray[10]);
218 void GetRelativeRadiiArray(
double relativeRadiiArray[10]);
261 size_t NumberOfFields;
267 size_t NumberOfBasisFunctions;
287 std::vector<double> Radii;
292 std::vector<double> RelativeRadii;
297 int NumberOfIntegrationSteps;
void SetGridConnection(vtkAlgorithmOutput *algOutput)
Set the locations at which the moments are calculated.
std::string GetStringRadii(int i)
Get the different integration radii from the field as string.
void SetGridData(vtkDataObject *input)
Set the locations at which the moments are calculated.
int GetNumberOfRadii()
Get the number of the different integration radii from the field.
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
void SetInputData(vtkDataObject *)
Assign a data object as input.
rotation invariant pattern detetction
std::vector< double > GetRelativeRadii()
Get the relative radii of the integration, i.e.
std::vector< double > GetRadii()
Get the radii of the integration.
Proxy object to connect input/output ports.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
topologically and geometrically regular array of data
double GetRelativeRadius(int i)
Get the relative radii of the integration, i.e.
virtual void SetInputConnection(int port, vtkAlgorithmOutput *input)
Set the connection for the given input port index.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when each filter in the pipeline decides what portion of its inp...
void SetFieldConnection(vtkAlgorithmOutput *algOutput)
Set the field of which the moments are calculated.
double GetRadius(int i)
Get the radius of the integration.
Superclass for algorithms that produce output of the same type as input.
general representation of visualization data
static vtkDataSetAlgorithm * New()
void SetFieldData(vtkDataObject *input)
Set the field of which the moments are calculated.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.