Go to the documentation of this file.
29 #ifndef vtkAngularPeriodicDataArray_h
30 #define vtkAngularPeriodicDataArray_h
34 #define VTK_PERIODIC_ARRAY_AXIS_X 0
35 #define VTK_PERIODIC_ARRAY_AXIS_Y 1
36 #define VTK_PERIODIC_ARRAY_AXIS_Z 2
40 template <
class Scalar>
60 vtkGetMacro(Angle,
double);
68 vtkGetVector3Macro(Center,
double);
76 vtkGetMacro(Axis,
int);
89 void Transform(Scalar* tuple)
const override;
101 double AngleInRadians;
108 #include "vtkAngularPeriodicDataArray.txx"
110 #endif //vtkAngularPeriodicDataArray_h
Map native an Array into an angulat periodic array.
~vtkAngularPeriodicDataArray() override
void SetAxis(int axis)
Set/Get the rotation axis.
vtkAngularPeriodicDataArray()
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
void InitializeArray(vtkAOSDataArrayTemplate< Scalar > *inputData)
Initialize the mapped array with the original input data array.
represent and manipulate 3x3 transformation matrices
Map native an Array into an angulat periodic array.
void SetCenter(double *center)
Set/Get the rotation center.
#define VTK_PERIODIC_ARRAY_AXIS_Y
void UpdateRotationMatrix()
Update rotation matrix from Axis, Angle and Center.
a simple class to control print indentation
#define vtkAOSArrayNewInstanceMacro(thisClass)
#define VTK_PERIODIC_ARRAY_AXIS_X
void SetAngle(double angle)
Set/Get the rotation angle in degrees.
vtkAbstractTemplateTypeMacro(vtkAngularPeriodicDataArray< Scalar >, vtkPeriodicDataArray< Scalar >) vtkAOSArrayNewInstanceMacro(vtkAngularPeriodicDataArray< Scalar >) static vtkAngularPeriodicDataArray *New()
#define VTK_PERIODIC_ARRAY_AXIS_Z
void Transform(Scalar *tuple) const override
Transform the provided tuple.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.