<div dir="ltr">I vote for putting them in the <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">subdirectories of whatever source they wrap/serialize since each of them is associated with a specific file/class.</span></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 20, 2018 at 4:25 PM, David Thompson <span dir="ltr"><<a href="mailto:david.thompson@kitware.com" target="_blank">david.thompson@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">> In this configuration, where would the Pybind11 binding code and nlohmann json code go?<br>
<br>
</span>I assumed they would stay as subdirectories of whatever source they wrap/serialize, but we could move them up to<br>
<br>
  core/json/smtk/{attribute, mesh, model}/jsonResource.{h,cxx}<br>
  core/pybind11/smtk/{attribute, mesh, model}/Py{Attribute, Mesh, Model}.cxx<br>
<br>
  extension/json/smtk/{<wbr>attribute, mesh, model}/jsonResource.{h,cxx}<br>
  extension/pybind11/smtk/{<wbr>attribute, mesh, model}/Py{Attribute, Mesh, Model}.cxx<br>
<br>
if you prefer.<br>
<span class="HOEnZb"><font color="#888888"><br>
        David<br>
</font></span><div class="HOEnZb"><div class="h5">><br>
>> On Mar 20, 2018, at 4:06 PM, David Thompson <<a href="mailto:david.thompson@kitware.com">david.thompson@kitware.com</a>> wrote:<br>
>><br>
>> Hi all,<br>
>><br>
>> Following up on the "pie in the sky" talk we had at the meeting today, what about this directory-structure change to go along with the attribute-collection/model-<wbr>manager/mesh-collection rename:<br>
>><br>
>> core/smtk/{PublicPointerDefs,<wbr>SharedFromThis, ...}.h<br>
>> core/smtk/{attribute, mesh, model}/Resource.{h,cxx}<br>
>> core/smtk/model/Session.h<br>
>><br>
>> extension/smtk/model/polygon/{<wbr>Resource,Session,...}.{h,cxx}<br>
>> extension/smtk/paraview/{<wbr>server, components, ...}<br>
>> extension/smtk/qt/{<wbr>qtAttributeView,...}.{h,cxx}<br>
>> extension/smtk/vtk/{source, ...}<br>
>><br>
>> testing/smtk/{attribute, mesh, model}/{cxx,python}/...<br>
>><br>
>> applications/{template-editor, attribute-preview, ...}<br>
>> cmake<br>
>> data<br>
>> doc/{userguide,tutorials,<wbr>reference}<br>
>> python/smtk/{__init__.py, testing.py, simple.py}<br>
>> utilities<br>
>><br>
>> Everything in core would become smtkCore. Subdirectories of extension/smtk would be separate projects with their own library(ies). In the end, projects in both core and extensions would install their public headers to ${CMAKE_INSTALL_PREFIX}/<wbr>include/smtk/.... That way, directories could always correspond to namespaces (starting with "smtk", not core or extension) and there wouldn't be a question any more about whether Qt stuff should live in smtk::extension or not -- if it lived in a namespace at all, it would be smtk::qt.<br>
>><br>
>> Moving testing out of the core directory would make it clear that tests could depend on extensions (such as polygon/discrete/mesh model resources). Tests would live in the directory/namespace of the most abstract thing they tested, so a test of the model resource that just happened to use a polygon model would live in testing/smtk/model while tests of the polygon session would live in testing/smtk/model/polygon.<br>
>><br>
>>      David<br>
>> ______________________________<wbr>_________________<br>
>> Smtk-developers mailing list<br>
>> <a href="mailto:Smtk-developers@smtk.org">Smtk-developers@smtk.org</a><br>
>> <a href="https://smtk.org/mailman/listinfo/smtk-developers" rel="noreferrer" target="_blank">https://smtk.org/mailman/<wbr>listinfo/smtk-developers</a><br>
><br>
<br>
______________________________<wbr>_________________<br>
Smtk-developers mailing list<br>
<a href="mailto:Smtk-developers@smtk.org">Smtk-developers@smtk.org</a><br>
<a href="https://smtk.org/mailman/listinfo/smtk-developers" rel="noreferrer" target="_blank">https://smtk.org/mailman/<wbr>listinfo/smtk-developers</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">Best regards<div>Haocheng</div><div><br></div><div>Haocheng LIU</div><div><span style="color:rgb(0,0,0);font-size:12.8px">Kitware, Inc.</span><br style="color:rgb(0,0,0);font-size:12.8px"><span style="color:rgb(0,0,0);font-size:12.8px">R&D Engineer</span><br style="color:rgb(0,0,0);font-size:12.8px"><span style="color:rgb(0,0,0);font-size:12.8px">21 Corporate Drive</span><br style="color:rgb(0,0,0);font-size:12.8px"><span style="color:rgb(0,0,0);font-size:12.8px">Clifton Park, NY 12065-8662</span><br style="color:rgb(0,0,0);font-size:12.8px"><span style="color:rgb(0,0,0);font-size:12.8px">Phone: </span><a href="tel:(518)%20881-4421" value="+15188814443" style="color:rgb(17,85,204);font-size:12.8px" target="_blank">518-881-4421</a><br></div></div></div></div></div>
</div>