RGG TODO list and explanations to RGG entities
Core
Morph "create model" op into "create core" operator. Edit core properties (Ex. height, size) should update the corresponding ducts. rggNucCore::resetBySMTKCore, add support for uing a core with layout infos to create a new rggNucCore. Needed by file I/O switch ops should not reset the planner if it's the same core store layout info on the core (Though no one consumes that data right now) Copy the create instance logic into EditCore op so that we do not need to serialize data several times between client and server
Pin
automatically switch from create pin to edit pin operator accociate edit pin Op with the newest pin refractor create pin and edit pin operator since they share many similiar codes minus z origin is not working handle trim cache logic for rgg entities in vtkAuxiliaryGeometryExtension(initialize m_maxSize) At UI level we should make sure that label is unique(fetch result or constraint it?) bug: add frustom pieces would result inconsistent radius Add a generation property(version number?) so that we do not need to regenerate the representation when user tries to toggle visibility or add another new pin(For now CMB would just blindly regenerate the rep) can not assign color to a pin pin Material should be resized
Duct
At UI level we should make sure that label is unique(fetch result or constraint it?)
Assembly
- [?] switch assembly in "Edit Assembly" operator should also update the duct combobox
Add new pins should update ActionList in "Edit Assembly" operator Use an existing assembly to populate the schema planner qtLattice: store qtCellReference as pointers instead of reference in the vector rggNucAssembly::resetBySMTKAssembly, add support for uing an assembly with layout infos to create a new rggNucAssembly. Needed by file I/O view is not reset properly Do not regenerate labels when it stays same switch ops should not reset the planner if it's the same assembly If a duct is associated with the assembly, update the combo box(text is not updated right) if the label has not changed, leave it alone color is not rendered in the first time(won't fix) use duct color for assembly color?(user is able to assign a unique color) Allow user to use custom pitches for rect assembly Center pins by default
Code refraction
move rgg custom views from smtk/extension/paraview/operators to rgg/plugin refractor create pin and edit pin operator since they share many similiar codes
Combobox
select reselect entity would not enable my widget It would not automatic pick model when group is present
Bug
by default, all custom ui should be disabled
Missing feature
Add support for default pins& ducts If a user defines custom material, SMTK should automatically addd a 'no cell material' option. Create an issue for read rxf file, not custom ui is needed
RGG entity documentation:
- Duct: Sample duct who has two subparts which are from z=0 to z=10(one material layer as coolant from radius 0.0 to 1.0) and z=10 to z=20(two material layers as coolant from radius 0.0 to 0.5 and absorber from 0.5 to 1.0)
- StringProperty("rggType", "_rgg_Duct")
- FloatProperty("z values", zValues)
- zValues=[0,10,10,20]
- IntegerProperty("materials", m)
- m = [0, 1] (Material is converted to an index)
- FloatProperty("thickness(normalized), tn) * tn = [1, 1, 0.5, 0.5, 1, 1] (each thicknesses is listed twice so that hex and rect duct has same number of values)
- IntegerProperty("material nums per segment", mnps)
- mnps = [1, 2] (used as an offset to fetch the thicknesses from the tn)