VTK
TestVectorFieldSource.h
Go to the documentation of this file.
1#include "vtkImageAlgorithm.h"
3
5{
6public:
9 void SetBoundingBox(double x0, double x1, double y0,
10 double y1, double z0, double z1);
11 void SetExtent(int xMin, int xMax, int yMin, int yMax,
12 int zMin, int zMax);
13
14protected:
17 virtual int RequestInformation(vtkInformation *request,
18 vtkInformationVector **inputInfoVectors,
19 vtkInformationVector *outputInfoVector);
20 void GetSpacing(double dx[3]);
21 void GetSize(double dx[3]);
23private:
24 int Extent[6];
25 double BoundingBox[6];
26 int Spacing;
27};
void GetSpacing(double dx[3])
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputInfoVectors, vtkInformationVector *outputInfoVector)
Subclasses can reimplement this method to collect information from their inputs and set information f...
virtual void ExecuteDataWithInformation(vtkDataObject *outData, vtkInformation *outInfo)
This is a convenience method that is implemented in many subclasses instead of RequestData.
static TestVectorFieldSource * New()
void SetBoundingBox(double x0, double x1, double y0, double y1, double z0, double z1)
void SetExtent(int xMin, int xMax, int yMin, int yMax, int zMin, int zMax)
void GetSize(double dx[3])
general representation of visualization data
Definition: vtkDataObject.h:65
Generic algorithm superclass for image algs.
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.