<P>
Hello everyone,<BR>
Iam developing a class which draws lines.<BR>
The constructor of the class takes the number of lines to draw<BR>
<BR>
//all the #includes are here<BR>
class CDraw<BR>
{<BR>
vtkLineSource **l1;<BR>
<BR>
public:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <BR>
CDraw(int lines)<BR>
{<BR>
l1=new vtkLineSource[lines]; //this does not work. <BR>
}<BR>
};<BR>
<BR>
Iam getting a compiler error saying that cannot access protected method.<BR>
Please help me.<BR>
Any other way to do what Iam trying to do?<BR>
Thanks in advance for the help.<BR>
david michell
</P>
<br><br>
<A target="_blank" HREF="http://clients.rediff.com/signature/track_sig.asp"><IMG SRC="http://ads.rediff.com/RealMedia/ads/adstream_nx.cgi/www.rediffmail.com/inbox.htm@Bottom" BORDER=0 VSPACE=0 HSPACE=0 HEIGHT=74 WIDTH=496></a>