[vtkusers] array of linesources, mappers,....

david michell davidmichell at rediffmail.com
Tue Jan 20 07:20:37 EST 2004


An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20040120/ad243c17/attachment.htm>
-------------- next part --------------
Hello everyone,
Iam developing a class which draws lines.
The constructor of the class takes the number of lines to draw

//all the #includes are here
class CDraw
{
vtkLineSource **l1;

public:              
CDraw(int lines)
{
l1=new vtkLineSource[lines]; //this does not work. 
}
};

Iam getting a compiler error saying that cannot access protected method.
Please help me.
Any other way to do what Iam trying to do?
Thanks in advance for the help.
david michell


More information about the vtkusers mailing list