Hi everyone. This might be a silly question, but I am really confused.<br>I am writing a class inherites from vtkDICOMImageReader. In the header file of vtkDICOMImageReader class, there are some forward declaration of these classes: vtkDICOMImageReaderVector, DICOMParser and DICOMAppHelper. The definition of these classes are included in the .cxx file. Normally, I should be able to use the methods in those classes in my class. However, I found that whenever I want to use something like &quot;this-&gt;Parser-&gt;ClearAllDICOMTagCallbacks()&quot; in my class. The compiler gives me back an error says that &quot;invalid use of undefined type &#39;structure DICOMParser&quot;. In the above, &quot;Parser&quot; is an instance of DICOMParser. The same situation also happen to DICOMAppHelper and vtkDICOMImageReaderVector. <br>
Thanks very much for any of your help.<br><br>Biao<br>