[vtk-developers] Volume cropping region representation

David Gobbi david.gobbi at gmail.com
Fri Feb 19 08:29:12 EST 2010


I compromised and shortened the name while adding "Source" to the end:

VolumeRendering/vtkVolumeOutlineSource

It's in cvs now, along with the test VolumeOutlineSource.tcl.

   David


On Thu, Feb 18, 2010 at 4:24 PM, Francois Bertel
<francois.bertel at kitware.com> wrote:
> 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
> _______________________________________________
> 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
>
>



More information about the vtk-developers mailing list