[vtkusers] Contour slice by slice
Jonathan Morra
jonmorra at gmail.com
Wed Oct 20 09:47:14 EDT 2010
Yes
On Wed, Oct 20, 2010 at 3:03 AM, shengwen guo <shengwen.guo at gmail.com>wrote:
> There is an error when I use the command:
> PolyData =
> ((*vtkOrientedGlyphContourRepresentation)(ContourWidget->GetRepresentation()))->GetContourRepresentationAsPolyData();
> Error Message:
> error C2275: “vtkOrientedGlyphContourRepresentation”: Invalid ......
> It seems that it can't support to change class vtkWidgetRepresentation
> to class vtkOrientedGlyphContourRepresentation
> because ContourWidget->GetRepresentation() returns a vtkWidgetRepresentation
> object which is the parent class of
> class vtkOrientedGlyphContourRepresentation. Does it work in Java if you use
> the command vtkPolyData polyData =
>
> ((vtkOrientedGlyphContourRepresentation)contour.GetRepresentation()).
> GetContourRepresentationAsPolyData();?
>
>
> Thanks
>
>
>
>
>
>
>
>>
>>>>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20101020/2fcbce99/attachment.htm>
More information about the vtkusers
mailing list