Skip to content

Developer Checklist

areku edited this page Dec 4, 2014 · 2 revisions
  1. C++ operators must use the IOHelper functions for reading and writing VTK-related files.
  2. C++ operators must use the __SetInput (see MSML_Operators.h for more) macro for VTK pipelines in order to ensure VTK 5/6 compatibility.
  3. C++ operators should have 2 interfaces for each operator: One gets the filenames as std::string, the other one has the pointer to the vtk object (e.g. vtkPolyData) as input.
  4. Naming conventions should be observed
  5. C++ operators must use logging functions:
  • std::ostream& log_info()
  • std::ostream& log_error(),
  • std::ostream& log_debug()

instead of std::cout or std:err.

Clone this wiki locally