[vtkusers] Fail because Position 0x00000000
xy_xy
carmen.liechti at vtg.admin.ch
Fri Oct 14 07:37:24 EDT 2016
Hi
I'm trying to do something with VTK. I tryed some example but nothing works.
The Fail are always a null pointer (Position 0x00000000) and I don't know
why it is null.
Can anybody help me?
Thanks
#include "vtkGraphLayoutView.h"
#include "vtkRandomGraphSource.h"
#include "vtkRenderWindow.h"
#include "vtkRenderWindowInteractor.h"
vtkRandomGraphSource* source = vtkRandomGraphSource::New();
vtkGraphLayoutView* view = vtkGraphLayoutView::New(); *// <= Fail!*
view->SetRepresentationFromInputConnection(source->GetOutputPort());
view->ResetCamera();
view->Render();
view->GetInteractor()->Start();
source->Delete();
view->Delete();
--
View this message in context: http://vtk.1045678.n5.nabble.com/Fail-because-Position-0x00000000-tp5740771.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers
mailing list