32 #ifndef vtkArcPlotter_h
33 #define vtkArcPlotter_h
36 #include "vtkRenderingAnnotationModule.h"
38 #define VTK_PLOT_SCALARS 1
39 #define VTK_PLOT_VECTORS 2
40 #define VTK_PLOT_NORMALS 3
41 #define VTK_PLOT_TCOORDS 4
42 #define VTK_PLOT_TENSORS 5
43 #define VTK_PLOT_FIELD_DATA 6
45 VTK_ABI_NAMESPACE_BEGIN
78 vtkSetMacro(PlotMode,
int);
79 vtkGetMacro(PlotMode,
int);
94 vtkSetMacro(PlotComponent,
int);
95 vtkGetMacro(PlotComponent,
int);
103 vtkGetMacro(Radius,
double);
112 vtkGetMacro(Height,
double);
121 vtkGetMacro(Offset,
double);
140 vtkSetVector3Macro(DefaultNormal,
float);
141 vtkGetVectorMacro(DefaultNormal,
float, 3);
150 vtkGetMacro(FieldDataArray,
int);
173 float DefaultNormal[3];
181 int NumberOfComponents;
190 VTK_ABI_NAMESPACE_END
plot data along an arbitrary polyline
void SetPlotModeToPlotTCoords()
Specify which data to plot: scalars, vectors, normals, texture coords, tensors, or field data.
vtkIdType OffsetPoint(vtkIdType ptId, vtkPoints *inPts, double n[3], vtkPoints *newPts, double offset, double *range, double val)
~vtkArcPlotter() override
void SetPlotModeToPlotFieldData()
Specify which data to plot: scalars, vectors, normals, texture coords, tensors, or field data.
vtkMTimeType GetMTime() override
New GetMTime because of camera dependency.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void SetCamera(vtkCamera *)
Specify a camera used to orient the plot along the arc.
void SetPlotModeToPlotNormals()
Specify which data to plot: scalars, vectors, normals, texture coords, tensors, or field data.
static vtkArcPlotter * New()
Instantiate with no default camera and plot mode set to VTK_SCALARS.
void SetPlotModeToPlotScalars()
Specify which data to plot: scalars, vectors, normals, texture coords, tensors, or field data.
vtkTypeBool UseDefaultNormal
int ProcessComponents(vtkIdType numPts, vtkPointData *pd)
void SetPlotModeToPlotVectors()
Specify which data to plot: scalars, vectors, normals, texture coords, tensors, or field data.
void SetPlotModeToPlotTensors()
Specify which data to plot: scalars, vectors, normals, texture coords, tensors, or field data.
a virtual camera for 3D rendering
abstract superclass for arrays of numeric data
a simple class to control print indentation
represent and manipulate point attribute data
represent and manipulate 3D points
Superclass for algorithms that produce only polydata as output.
#define VTK_PLOT_FIELD_DATA
vtkTypeUInt32 vtkMTimeType