[vtkusers] How to make "eval plane SetOrigin [[pl3d GetOutput] GetCenter]" work in C++?

Goodwin Lawlor goodwin.lawlor at ucd.ie
Thu Apr 10 10:05:22 EDT 2008


You have to add the header to the top of the source file:

#include "vtkStructuredGrid.h"

liushuyan wrote:
> yes, I have write in that way, but there still comes errors.
>  <snip>
>  
> error at the last line of the code:
> error C2027: use of undefined type 'vtkStructuredGrid'
> error C2227: left of '->GetCenter' must point to class/struct/union




More information about the vtkusers mailing list