[vtkusers] Question about contour widget

John Drescher drescherjm at gmail.com
Wed Oct 20 08:40:11 EDT 2010


On Wed, Oct 20, 2010 at 8:35 AM, shengweng <shengwen.guo at gmail.com> wrote:
>
> The compile error message in VC 2005 is " Compiler Error C2275. 'identifier'
> : illegal use of this type as an expression...."..
> I think the reason is that the parent or super class can't be coverted into
> its subclass. For example, the vtkWidgetRepresentation  can not be converted
> into vtkOrientedGlyphContourRepresentation.
> --

You probably did not include the header for
vtkOrientedGlyphContourRepresentation

John



More information about the vtkusers mailing list