[vtkusers] Class to draw line or circle on the images
Shekhar
Shekhar.Chandra at sci.monash.edu.au
Wed Oct 29 07:02:03 EDT 2008
Hi Maty,
Not sure exactly what u mean but if your spheres are the same, u can
create a single sphere source with a single mapper, then assign the
mapper to many actors. Use vtkTransform to move them around. Is that
what u meant?
Cheers
Shakes
masabumi ishihara wrote:
> Hi Shakes,
>
> Thank you for your reply.
> Immediately, I tried using vtkSphereSource, and it did well.
> BTW, I'd like to draw several lines and circles at one time.
> Do you know the better way to do that?
>
> Thanks,
>
> Maty
>
> 2008/10/29 Shakes <Shekhar.Chandra at sci.monash.edu.au>:
>
>> Hi Maty,
>>
>> The class vtkLineSource draws lines in a scene. Not sure about circles... u
>> could use a vtkSphereSource, its a circle in 2D :P Some else would probably
>> know a better class.
>>
>> Cheers
>> Shakes
>>
>> masabumi ishihara wrote:
>>
>>> Hi VTK Users,
>>>
>>> I am now making up new viewer with VTK and it's on the half way.
>>> Now, I am wondering which class I should use to draw line or circle on
>>> the images.
>>> If you know the class and method, please let me know.
>>>
>>> Thanks,
>>>
>>> Maty
>>> _______________________________________________
>>> This is the private VTK discussion list.
>>> Please keep messages on-topic. Check the FAQ at:
>>> http://www.vtk.org/Wiki/VTK_FAQ
>>> Follow this link to subscribe/unsubscribe:
>>> http://www.vtk.org/mailman/listinfo/vtkusers
>>>
>>>
>>
More information about the vtkusers
mailing list