[vtkusers] Voxel Data from MATLAB to VTK

Brian Davis bitminer at gmail.com
Mon May 17 17:00:21 EDT 2010

Just a comment... don't use variable names like "vtkImage" and
"vtkArray".  If you do, then you will get conflicts between the names
of your variables and the names of VTK classes.
-end snip-

While I agree that my test code does have poor naming convention (though not
all note volumeMapper and friends) C++ allows (though maybe it should not)
for names of classes and instances of classes to be the same.  This is not
true of types which are reserved keywords.  And yes I did think of changing
this for clarity before sending it along in the ether, but then I realized I
am lazy.  For those of you in the ether please do not follow my example as I
typically take the hardest route possible to the solution.  Best to take a
path completely orthogonal to me :-)

Thanks for the feedback.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100517/f53f6003/attachment.htm>

More information about the vtkusers mailing list