+//===========================================================================
+#define BBTK_VTK_DISABLE_GARBAGE_COLLECTOR \
+ public: \
+ virtual void Register(vtkObjectBase* o) {} \
+ virtual void UnRegister(vtkObjectBase* o) {} \
+ protected: \
+ virtual void ReportReferences(vtkGarbageCollector* collector) {}
+
+/*
+
+ public: \
+ virtual void Register(vtkObjectBase* o) {} \
+ {
+ this->RegisterInternal(o, 1);
+ }
+ virtual void UnRegister(vtkObjectBase* o)
+ {
+ this->UnRegisterInternal(o, 1);
+ }
+
+ protected:
+
+ virtual void ReportReferences(vtkGarbageCollector* collector)
+ {
+ // Report references held by this object that may be in a loop.
+ this->Superclass::ReportReferences(collector);
+ vtkGarbageCollectorReport(collector, this->OtherObject, "Other Object");
+ }
+*/
+//===========================================================================