[vtkusers] Cropping, why is it limited to volumes?

Jorrit Schaap jorrit at lkeb.azl.nl
Wed Nov 1 03:30:56 EST 2000


Hi Lisa,

I know about the clipping planes that are supported by all mappers, and
I know you can filter / clip any data.
 (in my case the use of 6 clipping planes in a mapper, set up like a
bouding box, is no option, because I am already use other clipping
planes. Unfortunately a mapper supports only up to 6 clipping planes. I
believe this is a OpenGL limitation isn't it?)

My question was more of the fundamental kind... I think it doesn't make
sense to have cropping for volumes, and not for other data.
Either every mapper should support cropping (declare the cropping stuff
in vtkAbstractMapper3D), or no mapper should support cropping (but we
wouldn't want this, do we?)

Best Regards, Jorrit

"Lisa S. Avila" wrote:

>  Hello Jorrit,
>
>
>
>> Why is cropping limited to volumes?
>>
>> For non-volumeMappers we can easily use 6 hardware clipping planes
>> to
>> simulated cropping. It would be better however to filter the
>> inputdata
>> of the mapper, such that only the cropped data is mapped to the
>> screen.
>
>
> You do know that arbitrary clipping planes are supported in all
> mappers, right? And you can define the 6 planes to be a bounding box
> if you'd like.
>
> If you do want to clip the data, you can use a filter to accomplish
> this.
>
>
>
> Lisa





More information about the vtkusers mailing list