[Paraview-developers] Getting representation pointer of a source

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Tue Jun 26 11:23:33 EDT 2012


> pqPipelineSource->GetDataRepresentation(myRenderView), but the only thing I
> got is a segmentation fault...

I love seg-faults! It's very easy to find out what went wrong
(generally). Just attach a debugger and see why it's segfaulting.
Maybe your pqPipelineSource ptr is invalid or myRenderView is invalid.
Also I am assuming you mean pqPipelineSource->getRepresentation(...),
since there's no GetDataRepresentation() on pqPipelineSource.

Utkarsh


More information about the Paraview-developers mailing list