I have been trying to generate a .NET wrapper for a derived class (from vtkMarchingCubes) for a few days now and still have no luck. vtkWrapDotNet dies with an assertion failure. The Java Wrapper generates a file for me.
Here's the short Header-File:
class vtkMarchingCubesExt : public vtkMarchingCubes
void setISOValues(int* values);
int RequestData(vtkInformation *info, vtkInformationVector **inputVector, vtkInformationVector *outputVector);
I admit that I have not fully understood the wrapper generating process by now. What I did was setting up the environment in VS 2005 and modfiying a xxxDotNet project file to compile my class.
What is causing the exception in vtkWrapDotNet?
Is there any way to generate and compile the wrapper for a class without using the whole VTK solution?
Have you found out how to wrap a new vtk class. I have tried to build the vtkLocal example, but I get a link error that cannot find vtkCommonDotNet.lib. I am not sure why it is looking for a .lib file when the output is a dll for vtkCommonDotNet.
Can anyone help me figure out how to wrap the example vtkLocalExample class so I can extend native vtk classes and wrap them?
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.