[vtk-developers] Volume cropping region representation

Francois Bertel francois.bertel at kitware.com
Thu Feb 18 18:24:05 EST 2010


If it's a source, I think the name has to contain the word Source
(except of course if you can find an existing counter-example in VTK
to demonstrate that the rule is not mandatory).

It's easier to search for a specific class when you look for *Source*,
*Reader*, *Writer*, *Importer*, *Exporter*, *Mapper*, ...

On Thu, Feb 18, 2010 at 6:11 PM, Dean Inglis <dean.inglis at camris.ca> wrote:
> Hi David,
>
> 1> vtkVolumeCroppingOutline
> 2> vtkVolumeCroppingRegionSource
> 3> vtkVolumeCroppingRegionOutline
> 4> vtkVolumeCroppingRepresentation
>
> I prefer 1 as it is the shortest and next would be 2 since it lets the user
> know it
> is a source object.  Regarding 4, <prefix>Representation is most
> often associated with Widgets and their representations (although
> there are some classes in Geovis, GUISupport/Qt, Views, and Rendering).
>
> Dean
>
>> Hi All,
>>
>> I wrote a VTK polydata source that will generate a wireframe or solid
>> representation of the vtkVolumeMapper cropping region that matches the
>> setting of the CroppingRegionFlags and CroppingRegionPlanes.  This
>> class has more-or-less the same purpose as vtkOutlineSource, but is
>> for volumes with fancy cropping flag settings.  For now the class is
>> named "vtkVolumeCroppingOutline," but I want to hear suggestions for
>> other names before I commit it.    The names that I've considered are
>> as follows:
>>
>> vtkVolumeCroppingOutline
>> vtkVolumeCroppingRegionSource
>> vtkVolumeCroppingRegionOutline
>> vtkVolumeCroppingRepresentation
>>
>> Any thoughts?
>>
>>  David
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
>



-- 
François Bertel, PhD  | Kitware Inc. Suite 204
1 (518) 371 3971 x113 | 28 Corporate Drive
                      | Clifton Park NY 12065, USA



More information about the vtk-developers mailing list