[Smtk-developers] Resource and ResourceComponent Types

Robert Michael O'Bara bob.obara at kitware.com
Wed Aug 16 08:51:37 EDT 2017


Hi All,

I’ve started modifying the existing Resource class and have a question as to how SMTK should return the Resource’s Type (model, mesh, attribute, etc..) - The class currently uses an enum which is fast and does enforce uniformity  but will require new types of resources to modify the base class to add new enum (like VTK) .  We also could just return a string which would be more flexible but is a bit slower to compare.

The same question pertains to the type of ResourceComponents.

Any comments?

Bob

Robert M. O'Bara, MEng.
Assistant Director of Scientific Computing

Kitware Inc.
28 Corporate Drive
Suite 101
Clifton Park, NY 12065

Phone: (518) 881- 4931




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/smtk-developers/attachments/20170816/770d5704/attachment.html>


More information about the Smtk-developers mailing list