[Paraview-developers] vtkContext2D and vtkBrush issues in Paraview 5.0.1 with OpenGL2
Stefano Perticoni
stefano.perticoni at gmail.com
Mon Jun 6 12:55:32 EDT 2016
Replace "brush" with "texture pattern" in mail text...
Il 06/Giu/2016 18:09, "Stefano Perticoni" <stefano.perticoni at gmail.com> ha
scritto:
> Dear Developers,
>
>
> I'm trying to make this snippet work under Paraview 5.0.1 and OpenGL2.
>
> The following snippet is OK with Paraview 4.2 and 4.4 versions (OpenGL1) but with 5.0.1 (OpenGL2 build) setting both brush and color will show brush only.
>
>
> virtual bool Paint(vtkContext2D *painter)
> {
>
> .....
> this->Brush->SetTexture(myTexturePattern);
> this->Brush->SetColor(myColor);
> .....
>
> painter->ApplyBrush(this->Brush);
> .....
>
> }
>
>
> Everything is OK if I set brush only or color only while mixed mode shows brush only.
>
>
> Thank you for any hints,
>
>
> Regards,
>
> Stefano
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20160606/39051894/attachment.html>
More information about the Paraview-developers
mailing list