19 #ifndef __vtkLidarSource_h
20 #define __vtkLidarSource_h
22 #include <vtkPolyDataAlgorithm.h>
32 void PrintSelf(ostream& os, vtkIndent indent);
42 vtkGetVector2Macro(DistanceRange,
double);
43 vtkSetVector2Macro(DistanceRange,
double);
45 vtkGetVector2Macro(HeightRange,
double);
46 vtkSetVector2Macro(HeightRange,
double);
48 void SetEdgeAngleThreshold(
double threshold);
49 double GetEdgeAngleThreshold();
51 int GetCurrentRevolution();
52 void GetDataForRevolution(
int revolution, vtkPolyData* polyData);
54 void GetDataForHistory(
int numberOfScanLines, vtkPolyData* polyData);
56 int GetCurrentScanLine();
57 void GetDataForScanLine(
int scanLine, vtkPolyData* polyData);
58 vtkIdType GetCurrentScanTime();
60 void subscribe(
const char* channelName);
62 void setCoordinateFrame(
const char* coordinateFrame);
64 void InitBotConfig(
const char* filename);
66 void GetTransform(
const char* fromFrame,
const char* toFrame, vtkIdType utime, vtkTransform* transform);
68 static void GetBotRollPitchYaw(vtkTransform* transform,
double rpy[3]);
69 static void GetBotQuaternion(vtkTransform* transform,
double wxyz[4]);
74 virtual int RequestInformation(vtkInformation *request,
75 vtkInformationVector **inputVector,
76 vtkInformationVector *outputVector);
78 virtual int RequestData(vtkInformation *request,
79 vtkInformationVector **inputVector,
80 vtkInformationVector *outputVector);
85 double DistanceRange[2];
87 double HeightRange[2];
94 vtkInternal * Internal;
double EdgeAngleThreshold
#define VTKDRCFILTERS_EXPORT