<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:8pt"><div>Hi....<br><br>I need some sort of a handle into the dotnet wrapper (SourceForge) for VTK.&nbsp; <br><br>The obvious place for it is vtkSimplePointsReader.&nbsp; That is provided with VTK as a model for designing readers and if I could modify and build it I could easily enough make it do what I need it to do, i.e. modify the RequestData function to take data from values already in memory rather than write and then re-read .vtk files.<br><br>Nonetheless the system appears highly resistent to any attempts at modifying anything.&nbsp; Attempts to modify the PrintSelf function to return a recognizable string of my own choosing appear to compile and build but behave as if I had not made changes when using the function and an attempt to insert a function of my own, i.e.<br><br>const char
 *bearFunction()<br>&nbsp;&nbsp;&nbsp; {&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return "Bears rule!!!!";<br>&nbsp;&nbsp;&nbsp; }<br><br>compiles but produces the following:<br><br><span style="font-style: italic; color: rgb(0, 0, 255);">Linking...</span><br style="font-style: italic; color: rgb(0, 0, 255);"><span style="font-style: italic; color: rgb(0, 0, 255);">vtkSimplePointsReaderDotNet.obj : error LNK2028:<span style="color: rgb(255, 127, 0);"> unresolved token (0A00036E) "public: char const * __thiscall vtkSimplePointsReader::bearFunction(void)" (?bearFunction@vtkSimplePointsReader@@$$FQAEPBDXZ)</span> referenced in function "public: class System::String ^ __clrcall vtk::vtkSimplePointsReader::bearFunction(void)" (?bearFunction@vtkSimplePointsReader@vtk@@$$FQ$AAMP$AAVString@System@@XZ)</span><br style="font-style: italic; color: rgb(0, 0, 255);"><span style="font-style: italic;
 color: rgb(0, 0, 255);">vtkSimplePointsReaderDotNet.obj : error LNK2019: unresolved external symbol "public: char const * __thiscall vtkSimplePointsReader::bearFunction(void)" (?bearFunction@vtkSimplePointsReader@@$$FQAEPBDXZ) referenced in function "public: class System::String ^ __clrcall vtk::vtkSimplePointsReader::bearFunction(void)" (?bearFunction@vtkSimplePointsReader@vtk@@$$FQ$AAMP$AAVString@System@@XZ)</span><br style="font-style: italic; color: rgb(0, 0, 255);"><span style="font-style: italic; color: rgb(0, 0, 255);">D:\vtk_testing\vtk501binSS5\bin\Debug\vtkIODotNet.dll : fatal error LNK1120: 2 unresolved externals</span><br style="font-style: italic; color: rgb(0, 0, 255);"><span style="font-style: italic; color: rgb(0, 0, 255);">Caching metadata information for d:\vtk_testing\vtk501binss5\bin\debug\vtkcommondotnet.dll...</span><br style="font-style: italic; color: rgb(0, 0, 255);"><span style="font-style: italic; color: rgb(0, 0,
 255);">Caching metadata information for d:\vtk_testing\vtk501binss5\bin\debug\vtkfilteringdotnet.dll...</span><br style="font-style: italic; color: rgb(0, 0, 255);"><span style="font-style: italic; color: rgb(0, 0, 255);">Build log was saved at "file://d:\vtk_testing\vtk501binSS5\IO\vtkIODotNet.dir\Debug\BuildLog.htm"</span><br style="font-style: italic; color: rgb(0, 0, 255);"><span style="font-style: italic; color: rgb(0, 0, 255);">vtkIODotNet - 3 error(s), 0 warning(s)</span><br><br><br>Likewise every other thing I've tried to insert something miniscule just to convince myself I'd succeeded in modifying this thing and having it build is rejected one way or another.&nbsp; At least one other .h/.cxx pair contains an include for &lt;vtk/std/string and a function which returns <br><br>vtkstd::string errorMessage;<br><br>or some such;&nbsp; when I try it the compiler has no clue what I'm referring to.&nbsp; I get the distinct impression I'm looking at
 something the wrong way and would appredciate any thoughts anybody might have.<br><br><br><br>Ted<br><br><br><br></div></div><br>



      </body></html>