This document shows guidelines for code contributers, mainly focused on C++ code.
Each code file (header and source) requires SPDX license and copyright headers with a specific syntax
If a secondary copyright must be added, format as follows:
Please note it is not required to add your own copyright line when modifying or adding a file. Even without adding it you still own copyrights on the line you modified or added in the file according to the git history. Consider instead adding a @thanks tag in the documentation of the class.
If the code must be contributed under another license than BSD-3-Clause license, contact maintainers to find the right formalism and ensure license compatibility before contributing.
Find more information about Software Package Data Exchange (SPDX) and Software Bill of Materials (SBOM) in the VTK documentation: https://gitlab.kitware.com/vtk/vtk/-/blob/master/Documentation/docs/advanced/spdx_and_sbom.md "SPDX & SBOM"
#include <...> for includes of third-party headers, use #include "..." for includes of ParaView headers.DEBUG.__MY_DEFINE.#if checks on unconditionally set symbols rather than #ifdef checks on conditionally defined symbols.std::array<char, 5> dat but not char* dat = new[5].using and write the full namespaces (e.g. std::string)..clang-tidy configuration files.this-> for all member access.CapitalStart).GetNumberOfElements() but not GetNumElems()).
1.8.13 on Sun Dec 14 2025