Commit 4d127b1d authored by Kitware Robot's avatar Kitware Robot Committed by David Gobbi

Remove all BTX and ETX markers from VTK headers

Perl was used to remove all the BTX and ETX markers from the code.
The specific command that was run on all "vtk*.h" files was this:
    perl -0777 -i -pe 's/(\n* *\/\/ *[BE]TX *\n+)+/\n\n/g'

This regex replaces each BTX/ETX line, plus any leading or trailing
blank lines, with a single blank line.
parent 55878a23
......@@ -55,11 +55,10 @@ public:
// A convenience handle to get whatever is actually stored in the reference.
void * GetReferredData();
//BTX
// Description:
// GPU level representation and storage this manages.
vtkPistonReference *GetReference() { return this->Reference; };
//ETX
// Description:
// Shallow/deep copy the data from src into this object.
virtual void ShallowCopy(vtkDataObject* src);
......@@ -101,12 +100,10 @@ public:
// Set scalars range.
void SetScalarsRange(double range[2]);
//BTX
// Description:
// Retrieve an instance of this class from an information object.
static vtkPistonDataObject* GetData(vtkInformation* info);
static vtkPistonDataObject* GetData(vtkInformationVector* v, int i=0);
//ETX
protected:
vtkPistonDataObject();
......
......@@ -433,7 +433,6 @@ public:
// is TICK_SIMPLE.
vtkStdString GenerateSimpleLabel(double val);
//BTX
protected:
vtkAxis();
~vtkAxis();
......@@ -602,7 +601,6 @@ private:
// Return true if the value is in range, false otherwise.
bool InRange(double value);
//ETX
};
#endif //vtkAxis_h
......@@ -44,7 +44,6 @@ public:
vtkTypeMacro(vtkChart, vtkContextItem);
virtual void PrintSelf(ostream &os, vtkIndent indent);
//BTX
// Description:
// Enum of the available chart types
enum {
......@@ -81,7 +80,6 @@ public:
enum EventIds {
UpdateRange = 1002
};
//ETX
// Description:
// Paint event for the chart, called whenever the chart needs to be drawn
......
......@@ -102,7 +102,6 @@ public:
// only contain one plot, this will replace the previous plot.
virtual void SetPlot(vtkPlotBox *plot);
//BTX
// Description:
// Return true if the supplied x, y coordinate is inside the item.
virtual bool Hit(const vtkContextMouseEvent &mouse);
......@@ -119,8 +118,6 @@ public:
// Mouse button release event.
virtual bool MouseButtonReleaseEvent(const vtkContextMouseEvent &mouse);
//ETX
// Description:
// Set the vtkTooltipItem object that will be displayed by the chart.
virtual void SetTooltip(vtkTooltipItem *tooltip);
......@@ -135,7 +132,7 @@ public:
const vtkVector2d &,
vtkIdType, vtkPlot*,
vtkIdType segmentIndex = -1);
//BTX
protected:
vtkChartBox();
~vtkChartBox();
......@@ -187,7 +184,7 @@ protected:
private:
vtkChartBox(const vtkChartBox &); // Not implemented.
void operator=(const vtkChartBox &); // Not implemented.
//ETX
};
// Description:
......
......@@ -92,7 +92,6 @@ public:
// only contain one plot, this will replace the previous plot.
virtual void SetPlot(vtkPlotParallelCoordinates *plot);
//BTX
// Description:
// Return true if the supplied x, y coordinate is inside the item.
virtual bool Hit(const vtkContextMouseEvent &mouse);
......@@ -120,9 +119,7 @@ public:
// Description:
// Mouse wheel event, positive delta indicates forward movement of the wheel.
virtual bool MouseWheelEvent(const vtkContextMouseEvent &mouse, int delta);
//ETX
//BTX
protected:
vtkChartParallelCoordinates();
~vtkChartParallelCoordinates();
......@@ -154,7 +151,7 @@ protected:
private:
vtkChartParallelCoordinates(const vtkChartParallelCoordinates &); // Not implemented.
void operator=(const vtkChartParallelCoordinates &); // Not implemented.
//ETX
};
#endif //vtkChartParallelCoordinates_h
......@@ -78,7 +78,6 @@ public:
// Set the vtkContextScene for the item, always set for an item in a scene.
virtual void SetScene(vtkContextScene *scene);
//BTX
// Description:
// Return true if the supplied x, y coordinate is inside the item.
virtual bool Hit(const vtkContextMouseEvent &mouse);
......@@ -106,9 +105,7 @@ public:
// Description:
// Mouse wheel event, positive delta indicates forward movement of the wheel.
virtual bool MouseWheelEvent(const vtkContextMouseEvent &mouse, int delta);
//ETX
//BTX
protected:
vtkChartPie();
~vtkChartPie();
......@@ -141,7 +138,6 @@ private:
// Private implementation details
vtkChartPiePrivate *Private;
//ETX
};
#endif //vtkChartPie_h
......@@ -211,7 +211,6 @@ public:
vtkIdType, vtkPlot*,
vtkIdType segmentIndex = -1);
//BTX
// Description:
// Return true if the supplied x, y coordinate is inside the item.
virtual bool Hit(const vtkContextMouseEvent &mouse);
......@@ -243,9 +242,7 @@ public:
// Description:
// Key press event.
virtual bool KeyPressEvent(const vtkContextKeyEvent &key);
//ETX
//BTX
protected:
vtkChartXY();
~vtkChartXY();
......@@ -378,7 +375,6 @@ private:
vtkVector2f &min, vtkVector2f &max,
vtkContextPolygon &polygon);
//ETX
};
// Description:
......
......@@ -117,7 +117,6 @@ public:
// properly render the data within the chart.
void RecalculateTransform();
//BTX
// Description:
// Returns true if the transform is interactive, false otherwise.
virtual bool Hit(const vtkContextMouseEvent &mouse);
......@@ -139,7 +138,6 @@ public:
// different 2D views. "x" changes the view so we're looking down the X axis.
// Similar behavior occurs for "y" or "z".
virtual bool KeyPressEvent(const vtkContextKeyEvent &key);
//ETX
protected:
vtkChartXYZ();
......
......@@ -81,7 +81,6 @@ public:
// Mouse button release event.
virtual bool MouseButtonReleaseEvent(const vtkContextMouseEvent &mouse);
//BTX
protected:
vtkPiecewisePointHandleItem();
~vtkPiecewisePointHandleItem();
......@@ -103,7 +102,7 @@ private:
class InternalPiecewisePointHandleInfo;
InternalPiecewisePointHandleInfo* Internal;
//ETX
};
#endif //vtkPiecewisePointHandleItem_h
......@@ -87,7 +87,6 @@ public:
virtual void SetTooltipPrecision(int precision);
virtual int GetTooltipPrecision();
//BTX
// Description:
// Generate and return the tooltip label string for this plot
// The segmentIndex parameter is ignored, except for vtkPlotBar
......@@ -110,7 +109,6 @@ public:
// Description:
// Select all points in the specified polygon.
virtual bool SelectPointsInPolygon(const vtkContextPolygon &polygon);
//ETX
// Description:
// Set the plot color
......@@ -296,15 +294,12 @@ public:
// Default implementation is empty.
virtual void UpdateCache() {}
//BTX
// Description:
// A General setter/getter that should be overridden. It can silently drop
// options, case is important
virtual void SetProperty(const vtkStdString &property, const vtkVariant &var);
virtual vtkVariant GetProperty(const vtkStdString &property);
//ETX
//BTX
protected:
vtkPlot();
~vtkPlot();
......@@ -392,7 +387,6 @@ private:
vtkPlot(const vtkPlot &); // Not implemented.
void operator=(const vtkPlot &); // Not implemented.
//ETX
};
#endif //vtkPlot_h
......@@ -103,7 +103,6 @@ public:
virtual void SetSelection(vtkIdTypeArray *id);
virtual vtkIdTypeArray* GetSelection();
//BTX
protected:
vtkPlot3D();
~vtkPlot3D();
......@@ -165,7 +164,6 @@ private:
vtkPlot3D(const vtkPlot3D &); // Not implemented.
void operator=(const vtkPlot3D &); // Not implemented.
//ETX
};
#endif //vtkPlot3D_h
......@@ -78,8 +78,6 @@ public:
virtual bool PaintLegend(vtkContext2D *painter, const vtkRectf& rect,
int legendIndex);
//BTX
// Description:
// Function to query a plot for the nearest point to the specified coordinate.
// Returns the index of the data series with which the point is associated, or
......@@ -110,7 +108,7 @@ private:
vtkTableCache* TableCache;
vtkTimeStamp UpdateTime;
//ETX
};
#endif
......@@ -172,7 +172,6 @@ public:
// Select all points in the specified rectangle.
virtual bool SelectPoints(const vtkVector2f& min, const vtkVector2f& max);
//BTX
// Description:
// Function to query a plot for the nearest point to the specified coordinate.
// Returns the index of the data series with which the point is associated or
......@@ -241,7 +240,6 @@ private:
vtkPlotBarPrivate *Private;
//ETX
};
#endif //vtkPlotBar_h
......@@ -105,7 +105,6 @@ public:
// Get the vtkTextProperty that governs how the plot title is displayed.
vtkGetObjectMacro(TitleProperties, vtkTextProperty);
//BTX
protected:
vtkPlotBox();
~vtkPlotBox();
......@@ -141,7 +140,6 @@ private:
vtkPlotBox(const vtkPlotBox &); // Not implemented.
void operator=(const vtkPlotBox &); // Not implemented.
//ETX
};
#endif //vtkPlotBox_h
......@@ -95,7 +95,6 @@ public:
// is available with the scalar data.
virtual void CreateDefaultLookupTable();
//BTX
// Description:
// Function to query a plot for the nearest point to the specified coordinate.
// Returns the index of the data series with which the point is associated or
......@@ -103,7 +102,7 @@ public:
virtual vtkIdType GetNearestPoint(const vtkVector2f& point,
const vtkVector2f& tolerance,
vtkVector2f* location);
//ETX
// Description:
// Select all points in the specified rectangle.
virtual bool SelectPoints(const vtkVector2f& min, const vtkVector2f& max);
......
......@@ -54,7 +54,6 @@ public:
// Paint event for the axis, called whenever the axis needs to be drawn
virtual bool Paint(vtkContext2D *painter);
//BTX
protected:
vtkPlotGrid();
~vtkPlotGrid();
......@@ -68,7 +67,7 @@ protected:
private:
vtkPlotGrid(const vtkPlotGrid &); // Not implemented.
void operator=(const vtkPlotGrid &); // Not implemented.
//ETX
};
#endif //vtkPlotGrid_h
......@@ -75,7 +75,6 @@ public:
virtual void SetPosition(const vtkRectf& pos);
virtual vtkRectf GetPosition();
//BTX
// Description:
// Generate and return the tooltip label string for this plot
// The segmentIndex parameter is ignored.
......@@ -125,7 +124,6 @@ private:
vtkPlotHistogram2D(const vtkPlotHistogram2D &); // Not implemented.
void operator=(const vtkPlotHistogram2D &); // Not implemented.
//ETX
};
#endif //vtkPlotHistogram2D_h
......@@ -57,7 +57,6 @@ public:
vtkGetMacro(PolyLine,bool);
vtkBooleanMacro(PolyLine,bool);
//BTX
protected:
vtkPlotLine();
~vtkPlotLine();
......@@ -70,7 +69,6 @@ private:
vtkPlotLine(const vtkPlotLine &); // Not implemented.
void operator=(const vtkPlotLine &); // Not implemented.
//ETX
};
#endif //vtkPlotLine_h
......@@ -45,7 +45,6 @@ public:
// Paint event for the XYZ plot, called whenever the chart needs to be drawn.
virtual bool Paint(vtkContext2D *painter);
//BTX
protected:
vtkPlotLine3D();
~vtkPlotLine3D();
......@@ -54,7 +53,6 @@ private:
vtkPlotLine3D(const vtkPlotLine3D &); // Not implemented.
void operator=(const vtkPlotLine3D &); // Not implemented.
//ETX
};
#endif //vtkPlotLine3D_h
......@@ -109,7 +109,6 @@ public:
// Get the array name to color by.
vtkStdString GetColorArrayName();
//BTX
protected:
vtkPlotParallelCoordinates();
~vtkPlotParallelCoordinates();
......@@ -138,7 +137,6 @@ private:
vtkPlotParallelCoordinates(const vtkPlotParallelCoordinates &); // Not implemented.
void operator=(const vtkPlotParallelCoordinates &); // Not implemented.
//ETX
};