Status: Closed

ItemFileDescriptionConsensus?Who?StatusNotes
1arrowparams.hMake use of doxygen \copydoc when documenting pure virtual methods. E.g. ArrowParams::Validate(), ArrowParams::IsOpaque()y Done 
2arrowparams.hMake calcDefaultScale() private if possibley Done 
3arrowparams.h GetMapperFunc() returns a MapperFunction *, but there is no documentation for the MapperFunction class. Document (with doxygen) MapperFunction class.y DoneMapperFunction is to be re-factored.
4arrowparams.cppRemove superfluous  blockCapture()/unblockCapture() calls from constructor (redundantly called inside of restart())y Done 
5arrowparams.cppDocument ParamsBase::GetDataMgr()? Done 
6renderparams.hDocument protected methods. E.g. validatePrimaryVar, validateFieldVars, setupFidelity(), etc.y Done 
7arrowparams.cppPotential memory leak or poor memory mgt practice with allocation of Box and TransferFunction classes in restart()? post-ponedXmlNode class would need refactoring.
8arrowparams.cppConsider moving boiler plate in Validate and restart methods into parent class, and making Validate and restart methods protected methods (e.g. _Validate and _restart) as done with _paintGLn closedThe Boiler Plate (common) parts of these methods is so small that there is little value in this change.
9arrowrenderer.cppSplit performRendering() into into two or more functions to improve readability/maintainability. E.g. renderAligned() and renderUnaligned()y Done 
10arroweventrouter.hSeveral parent class (eventrouter) methods generate asserts if not reimplemented. Should these be pure virtual? E.g. captureMouse*(), sessionLoadTF()n closed 
11arroweventrouter.hUse \copydoc for implementations of parent class pure virtual methods. E.g. _confirmText(), _updateTab()y Done 
12arroweventrouter.cpp_variables allocated in constructor but not freed in destructory Done 
13arroweventrouter.cppForceRender() needed? Appears to bypass ControlExec:: Paint? 

Done

 

discuss.  ForceRender calls VizWin::reallyUpdate() which calls ControlExec:Paint()
14

arroweventrouter.cpp

arrowrenderer.cpp

Eliminate use of global data: DataStatusy Done 
       
15arrowparams.hEliminate one of the following terms: TransferFunction, or MapperFunction (GetMapperFunc() -> GetTransferFunc())y DoneNeed to evaluate. Do if not to much effort.  Probably a day's effort. Will be done as part of MapperFunction refactoring
16arrowparams.hIs there a GetColor() function that is distinct from GetConstColor()? For clarity, either all functions that return const values should have "Const" in their name, or none of them should.n closed 
17arrowparams.hIf IsOpaque is a required virtual function, shouldn't it be pure?n closed 
18arrowparams.hShould we avoid function definitions in header files?n closed 
19arrowrenderer.hArrowRenderer:(tongue)erformRendering() should be pure?n closed 
20arrowrenderer.hAre there any preconditions that should be in place before _initializeGL gets called?n closed 
21arroweventrouter.h

Rename the following???

VariableWidget -> VariableFrame

ArrowAppearance -> AppearanceFrame

LayoutWidget -> LayoutFrame

y doneNeed discussion on what names should be.  This discussion should include a discussion of the class structure of sub-tabs.
22arroweventrouter.h

Make virtual?

ArrowReturnPressed() -> virtual ReturnPressed()

barbLoadTF() -> virtual loadTF()

barbSaveTF() -> virtual saveTF()

n closed

Need to explore possiblity.  Problem is that these are slots, which cannot be virtual.Alan will do UI restructuring to support subtabs.

Scott will explore replacing some of gui layout currently done with code with UI files.

23arroweventrouter.htoggleColorInterpType(bool) should take an int to support linear, discrete, and divergent color mapsy in-progressShould be done when divergent color maps are specified in the gui.
  • No labels