Commit 0859dfde authored by Kitware Robot's avatar Kitware Robot Committed by Ben Boeckel

cleanup: remove BTX and ETX comments

Removed using the following command:

    perl -0777 -i -pe 's/(\n* *\/\/ *[BE]TX *\n+)+/\n\n/g'

on all vtk*.h, pq*.h and finished off by a few manual removals left over
from that.
parent d9247063
Pipeline #15803 passed with stage
......@@ -55,9 +55,7 @@ public:
vtkGraphLayoutStrategy* getGraphLayoutStrategy(const QString& layoutStrategy);
protected:
//BTX
// vtkSmartPointer<vtk@ARG_STRATEGY_TYPE@> @ARG_STRATEGY_TYPE@;
//ETX
};
#endif
......
......@@ -55,9 +55,7 @@ public:
vtkAreaLayoutStrategy* getTreeLayoutStrategy(const QString& layoutStrategy);
protected:
//BTX
vtkSmartPointer<vtk@ARG_STRATEGY_TYPE@> @ARG_STRATEGY_TYPE@;
//ETX
};
#endif
......
......@@ -66,11 +66,9 @@ public:
// Returns an ArrayIterator over doubles, this will end up with a deep copy
vtkArrayIterator* NewIterator ();
//BTX
vtkIdType LookupValue (vtkVariant value);
void LookupValue (vtkVariant value, vtkIdList* ids);
void SetVariantValue (vtkIdType vtkNotUsed(index), vtkVariant vtkNotUsed(value)) { /* TODO */ }
//ETX
// Description:
// Get the address of a particular data index. Performs no checks
......@@ -173,13 +171,11 @@ public:
return ret;
}
//BTX
void InsertVariantValue (vtkIdType idx, vtkVariant value)
{
this->BuildFallback ();
return this->Fallback->InsertVariantValue (idx, value);
}
//ETX
void RemoveTuple (vtkIdType id)
{
......
......@@ -61,15 +61,14 @@ protected:
int GlobalBlockSize[3];
vtkBoundingBox Bounds;
//BTX
std::vector<std::string> CFieldNames;
std::vector< std::vector<std::string> > MFieldNames;
//ETX
vtkIntArray* NeighborArray;
bool AllocationsChanged;
//BTX
struct Block
{
int id;
......@@ -90,7 +89,6 @@ protected:
};
std::vector<Block> Blocks;
vtkSmartPointer<vtkNonOverlappingAMR> AMRSet;
//ETX
void AllocateBlock (Block &b);
bool GetBounds (Block& b, int loCorner[3], int hiCorner[3]);
......
......@@ -96,7 +96,6 @@ public:
/// adaptor to the coprocessing pipelines.
vtkGetObjectMacro(UserData, vtkFieldData);
//BTX
protected:
vtkCPDataDescription();
virtual ~vtkCPDataDescription();
......@@ -127,7 +126,7 @@ private:
class vtkInternals;
vtkInternals* Internals;
//ETX
};
#endif
......@@ -95,7 +95,6 @@ public:
vtkSetVector6Macro(WholeExtent, int);
vtkGetVector6Macro(WholeExtent, int);
//BTX
protected:
vtkCPInputDataDescription();
~vtkCPInputDataDescription();
......@@ -129,7 +128,7 @@ private:
class vtkInternals;
vtkInternals* Internals;
int WholeExtent[6];
//ETX
};
#endif
......@@ -31,7 +31,6 @@ public:
/// interpretor will not be initialized and hence unavailable.
static void CoProcessorInitialize(const char* pythonFileName);
//BTX
protected:
vtkCPPythonAdaptorAPI();
~vtkCPPythonAdaptorAPI();
......@@ -39,7 +38,7 @@ protected:
private:
vtkCPPythonAdaptorAPI(const vtkCPPythonAdaptorAPI&); // Not implemented
void operator=(const vtkCPPythonAdaptorAPI&); // Not implemented
//ETX
};
#endif
......
......@@ -29,7 +29,6 @@ public:
vtkTypeMacro(vtkGeometryRepresentationWithHiddenLinesRemoval, vtkGeometryRepresentationWithFaces);
void PrintSelf(ostream& os, vtkIndent indent);
//BTX
protected:
vtkGeometryRepresentationWithHiddenLinesRemoval();
~vtkGeometryRepresentationWithHiddenLinesRemoval();
......@@ -37,7 +36,7 @@ protected:
private:
vtkGeometryRepresentationWithHiddenLinesRemoval(const vtkGeometryRepresentationWithHiddenLinesRemoval&); // Not implemented
void operator=(const vtkGeometryRepresentationWithHiddenLinesRemoval&); // Not implemented
//ETX
};
#endif
......@@ -46,7 +46,6 @@ public:
// after the shader has been bound, but before rendering the geometry.
void Render();
//BTX
protected:
vtkPVColorMaterialHelper();
~vtkPVColorMaterialHelper();
......@@ -68,7 +67,7 @@ protected:
private:
vtkPVColorMaterialHelper(const vtkPVColorMaterialHelper&); // Not implemented.
void operator=(const vtkPVColorMaterialHelper&); // Not implemented.
//ETX
};
#endif
......@@ -48,7 +48,6 @@ public:
// This must be called before the shader program is bound.
void PrepareForRendering();
//BTX
protected:
vtkPVLightingHelper();
~vtkPVLightingHelper();
......@@ -59,7 +58,7 @@ protected:
private:
vtkPVLightingHelper(const vtkPVLightingHelper&); // Not implemented.
void operator=(const vtkPVLightingHelper&); // Not implemented.
//ETX
};
#endif
......
......@@ -37,7 +37,6 @@ public:
// resources to release. In this case, releases the display lists.
virtual void ReleaseGraphicsResources(vtkWindow *);
//BTX
protected:
vtkVisibleLinesPainter();
~vtkVisibleLinesPainter();
......@@ -65,7 +64,7 @@ private:
class vtkInternals;
vtkInternals* Internals;
//ETX
};
#endif
......
......@@ -28,7 +28,6 @@ public:
vtkTypeMacro(vtkVisibleLinesPolyDataMapper, vtkPainterPolyDataMapper);
void PrintSelf(ostream& os, vtkIndent indent);
//BTX
protected:
vtkVisibleLinesPolyDataMapper();
~vtkVisibleLinesPolyDataMapper();
......@@ -36,7 +35,7 @@ protected:
private:
vtkVisibleLinesPolyDataMapper(const vtkVisibleLinesPolyDataMapper&); // Not implemented
void operator=(const vtkVisibleLinesPolyDataMapper&); // Not implemented
//ETX
};
#endif
......
......@@ -35,7 +35,6 @@ public:
// @CallOnAllProcessess
virtual void Initialize(unsigned int id);
//BTX
protected:
vtkPVRenderViewWithShadowMap();
~vtkPVRenderViewWithShadowMap();
......@@ -43,7 +42,7 @@ protected:
private:
vtkPVRenderViewWithShadowMap(const vtkPVRenderViewWithShadowMap&); // Not implemented
void operator=(const vtkPVRenderViewWithShadowMap&); // Not implemented
//ETX
};
#endif
......@@ -36,7 +36,6 @@ public:
// @CallOnAllProcessess
virtual void Initialize(unsigned int id);
//BTX
protected:
vtkPVRenderViewWithSobel();
~vtkPVRenderViewWithSobel();
......@@ -44,7 +43,7 @@ protected:
private:
vtkPVRenderViewWithSobel(const vtkPVRenderViewWithSobel&); // Not implemented
void operator=(const vtkPVRenderViewWithSobel&); // Not implemented
//ETX
};
#endif
......@@ -32,7 +32,6 @@ public:
vtkTypeMacro(vtkMySpecialPolyDataMapper, vtkCompositePolyDataMapper2);
void PrintSelf(ostream& os, vtkIndent indent);
//BTX
protected:
vtkMySpecialPolyDataMapper();
~vtkMySpecialPolyDataMapper();
......@@ -40,7 +39,7 @@ protected:
private:
vtkMySpecialPolyDataMapper(const vtkMySpecialPolyDataMapper&); // Not implemented
void operator=(const vtkMySpecialPolyDataMapper&); // Not implemented
//ETX
};
#endif
......
......@@ -28,7 +28,6 @@ public:
vtkTypeMacro(vtkMySpecialRepresentation, vtkGeometryRepresentationWithFaces);
void PrintSelf(ostream& os, vtkIndent indent);
//BTX
protected:
vtkMySpecialRepresentation();
~vtkMySpecialRepresentation();
......@@ -36,7 +35,7 @@ protected:
private:
vtkMySpecialRepresentation(const vtkMySpecialRepresentation&); // Not implemented
void operator=(const vtkMySpecialRepresentation&); // Not implemented
//ETX
};
#endif
......@@ -71,7 +71,6 @@ public:
// Take animation scene to last frame.
void GoToLast();
//BTX
protected:
vtkAnimationPlayer();
~vtkAnimationPlayer();
......@@ -97,7 +96,6 @@ private:
bool Loop;
double CurrentTime;
//ETX
};
#endif
......@@ -61,7 +61,6 @@ public:
void RemoveAllTimeSteps();
void SetFramesPerTimestep(int val);
//BTX
protected:
vtkCompositeAnimationPlayer();
~vtkCompositeAnimationPlayer();
......@@ -90,7 +89,6 @@ private:
class vtkInternal;
vtkInternal* Internal;
//ETX
};
#endif
......@@ -90,9 +90,7 @@ protected:
double clocktime);
virtual void EndCueInternal();
//BTX
friend class vtkSMAnimationSceneProxy;
//ETX
unsigned long ObserverID;
bool UseAnimationTime;
......
......@@ -53,7 +53,7 @@ public:
virtual void EndUpdateAnimationValues();
void SetDataSourceProxy(vtkSMProxy *dataSourceProxy);
//BTX
protected:
vtkPVCameraAnimationCue();
~vtkPVCameraAnimationCue();
......@@ -63,7 +63,7 @@ protected:
private:
vtkPVCameraAnimationCue(const vtkPVCameraAnimationCue&); // Not implemented
void operator=(const vtkPVCameraAnimationCue&); // Not implemented
//ETX
};
#endif
......@@ -38,14 +38,12 @@ public:
vtkTypeMacro(vtkPVCameraCueManipulator, vtkPVKeyFrameCueManipulator);
void PrintSelf(ostream& os, vtkIndent indent);
//BTX
enum Modes
{
CAMERA,
PATH,
FOLLOW_DATA
};
//ETX
// Description:
// This manipulator has three modes:
......
......@@ -37,7 +37,7 @@ public:
static vtkPVCompositeKeyFrame* New();
vtkTypeMacro(vtkPVCompositeKeyFrame, vtkPVKeyFrame);
void PrintSelf(ostream& os, vtkIndent indent);
//BTX
enum
{
NONE =0,
......@@ -46,7 +46,6 @@ public:
EXPONENTIAL=3,
SINUSOID=4
};
//ETX
// Description:
// Overridden to pass on to the internal keyframe proxies.
......
......@@ -45,7 +45,6 @@ public:
vtkTypeMacro(vtkPVCueManipulator, vtkObject);
void PrintSelf(ostream& os, vtkIndent indent);
//BTX
// Description:
// StateModifiedEvent - This event is fired when the manipulator modifies the animated proxy.
// vtkCommand::Modified - is fired when the keyframes are changed i.e. added/removed/modified.
......@@ -86,7 +85,7 @@ protected:
private:
vtkPVCueManipulator(const vtkPVCueManipulator&); // Not implemented.
void operator=(const vtkPVCueManipulator&); // Not implemented.
//ETX
};
#endif
......@@ -38,7 +38,6 @@ public:
void RemoveKeyFrame(vtkPVKeyFrame*);
void RemoveAllKeyFrames();
//BTX
protected:
vtkPVKeyFrameAnimationCue();
~vtkPVKeyFrameAnimationCue();
......@@ -48,7 +47,7 @@ protected:
private:
vtkPVKeyFrameAnimationCue(const vtkPVKeyFrameAnimationCue&); // Not implemented
void operator=(const vtkPVKeyFrameAnimationCue&); // Not implemented
//ETX
};
#endif
......@@ -59,7 +59,6 @@ public:
virtual void SetAnimationValue(int index, double value);
virtual void EndUpdateAnimationValues();
//BTX
protected: