As your help, I can draw a line on your CloudCompare display window.
But I think something is wrong with the color. I define the line color by
ccColor::Rgb red(255, 0, 0 );
...
poly->setColor( red ) ;
But the displayed line color is white. I expect the line is drawn in red.
How can I draw the line in red? Even if I changed ccColor::RGB red = ccColor::red ,
the result is the same while.
Why is the color not reflected?
Re: Why is the color not reflected?
You should maybe call 'showColors(true)' on the polyline entity.
Daniel, CloudCompare admin
-
- Posts: 24
- Joined: Mon Mar 14, 2016 1:35 am
Re: Why is the color not reflected?
Thank you for your kind teaching.
Only putting poly->showColors( true ) ;
I can draw the line in red.
Thank you very much.
Only putting poly->showColors( true ) ;
I can draw the line in red.
Thank you very much.