32 #ifndef __igtlLightObject_h
33 #define __igtlLightObject_h
76 virtual Pointer CreateAnother()
const;
81 virtual void Delete();
86 virtual const char *GetNameOfClass()
const
87 {
return "LightObject";}
91 void*
operator new(size_t);
92 void*
operator new[](size_t);
93 void operator delete(
void*);
94 void operator delete[](
void*, size_t);
99 void Print(std::ostream& os)
const;
103 static void BreakOnError();
106 virtual void Register()
const;
109 virtual void UnRegister()
const;
112 virtual int GetReferenceCount()
const
113 {
return m_ReferenceCount;}
117 virtual void SetReferenceCount(
int);
127 virtual void PrintSelf(std::ostream& os)
const;
128 virtual void PrintHeader(std::ostream& os)
const;
129 virtual void PrintTrailer(std::ostream& os)
const;
140 void operator=(
const Self&);