44 #ifndef vtkArcPlotter_h
45 #define vtkArcPlotter_h
48 #include "vtkRenderingAnnotationModule.h"
50 #define VTK_PLOT_SCALARS 1
51 #define VTK_PLOT_VECTORS 2
52 #define VTK_PLOT_NORMALS 3
53 #define VTK_PLOT_TCOORDS 4
54 #define VTK_PLOT_TENSORS 5
55 #define VTK_PLOT_FIELD_DATA 6
57 VTK_ABI_NAMESPACE_BEGIN
90 vtkSetMacro(PlotMode,
int);
91 vtkGetMacro(PlotMode,
int);
106 vtkSetMacro(PlotComponent,
int);
107 vtkGetMacro(PlotComponent,
int);
115 vtkGetMacro(Radius,
double);
124 vtkGetMacro(Height,
double);
133 vtkGetMacro(Offset,
double);
152 vtkSetVector3Macro(DefaultNormal,
float);
153 vtkGetVectorMacro(DefaultNormal,
float, 3);
162 vtkGetMacro(FieldDataArray,
int);
185 float DefaultNormal[3];
193 int NumberOfComponents;
202 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