From f4741d647f9359be3a00baef220e61dfc58c8b97 Mon Sep 17 00:00:00 2001 From: Pasukhin Dmitry Date: Thu, 16 Oct 2025 18:39:56 +0100 Subject: [PATCH] Coding - Checking for copyright notice (#749) Created a new CI step to validate the presence of a copyright notice in each source file. Updated existed files to include the copyright notice. --- .github/actions/clang-format-check/action.yml | 9 + .github/actions/scripts/validate-license.py | 373 ++++++++++++++++++ adm/templates/header.in | 13 + .../TKTObj/TObj/TObj_TObj_msg.pxx | 13 + src/DataExchange/TKDEIGES/TKDEIGES_pch.hxx | 13 + .../GTests/StepTransientReplacements_Test.cxx | 13 + .../TKDESTEP/StepFile/step.tab.cxx | 13 + .../TKDESTEP/StepFile/step.tab.hxx | 13 + src/DataExchange/TKDESTEP/TKDESTEP_pch.hxx | 13 + src/DataExchange/TKXSBase/TKXSBase_pch.hxx | 13 + .../TKXSBase/XSMessage/XSMessage_XSTEP_fr.pxx | 13 + .../TKXSBase/XSMessage/XSMessage_XSTEP_us.pxx | 13 + .../TKMath/GTests/Bnd_BoundSortBox_Test.cxx | 13 + .../TKMath/GTests/Bnd_Box_Test.cxx | 13 + .../GTests/math_FunctionAllRoots_Test.cxx | 12 +- .../GTests/math_FunctionSetRoot_Test.cxx | 12 +- .../GTests/math_GaussLeastSquare_Test.cxx | 12 +- .../math_NewtonFunctionSetRoot_Test.cxx | 12 +- .../math_TrigonometricFunctionRoots_Test.cxx | 12 +- .../TKMath/GTests/math_Uzawa_Test.cxx | 12 +- src/FoundationClasses/TKMath/TKMath_pch.hxx | 13 + .../TKernel/GTests/OSD_PerfMeter_Test.cxx | 13 + .../TKernel/Quantity/Quantity_ColorTable.pxx | 13 + src/FoundationClasses/TKernel/TKernel_pch.hxx | 13 + .../TKernel/UnitsAPI/UnitsAPI_Units_dat.pxx | 13 + .../TKBO/BOPAlgo/BOPAlgo_BOPAlgo_msg.pxx | 13 + src/ModelingAlgorithms/TKMesh/TKMesh_pch.hxx | 13 + ...hapeAnalysis_CanonicalRecognition_Test.cxx | 13 + .../SHMessage/SHMessage_SHAPE_fr.pxx | 13 + .../SHMessage/SHMessage_SHAPE_us.pxx | 13 + src/ModelingData/TKBRep/TKBRep_pch.hxx | 13 + .../TKOpenGl/Textures/Textures_EnvLUT.pxx | 13 + .../Font/Font_DejavuSans_Latin_woff.pxx | 13 + .../GTests/Graphic3d_BndBox_Test.cxx | 13 + .../Shaders/Shaders_DeclarationsImpl_glsl.pxx | 13 + .../Shaders/Shaders_Declarations_glsl.pxx | 13 + .../TKService/Shaders/Shaders_Display_fs.pxx | 13 + .../Shaders/Shaders_LightShadow_glsl.pxx | 13 + .../Shaders/Shaders_PBRCookTorrance_glsl.pxx | 13 + .../Shaders_PBRDirectionalLight_glsl.pxx | 13 + .../Shaders/Shaders_PBRDistribution_glsl.pxx | 13 + .../Shaders/Shaders_PBREnvBaking_fs.pxx | 13 + .../Shaders/Shaders_PBREnvBaking_vs.pxx | 13 + .../Shaders/Shaders_PBRFresnel_glsl.pxx | 13 + .../Shaders/Shaders_PBRGeometry_glsl.pxx | 13 + .../Shaders/Shaders_PBRIllumination_glsl.pxx | 13 + .../Shaders/Shaders_PBRPointLight_glsl.pxx | 13 + .../Shaders/Shaders_PBRSpotLight_glsl.pxx | 13 + .../Shaders/Shaders_PathtraceBase_fs.pxx | 13 + .../Shaders_PhongDirectionalLight_glsl.pxx | 13 + .../Shaders/Shaders_PhongPointLight_glsl.pxx | 13 + .../Shaders/Shaders_PhongShading_fs.pxx | 13 + .../Shaders/Shaders_PhongShading_vs.pxx | 13 + .../Shaders/Shaders_PhongSpotLight_glsl.pxx | 13 + .../Shaders_PointLightAttenuation_glsl.pxx | 13 + .../Shaders/Shaders_RaytraceBase_fs.pxx | 13 + .../Shaders/Shaders_RaytraceBase_vs.pxx | 13 + .../Shaders/Shaders_RaytraceRender_fs.pxx | 13 + .../Shaders/Shaders_RaytraceSmooth_fs.pxx | 13 + .../Shaders/Shaders_SkydomBackground_fs.pxx | 13 + .../Shaders_TangentSpaceNormal_glsl.pxx | 13 + src/Visualization/TKV3d/TKV3d_pch.hxx | 13 + 62 files changed, 1144 insertions(+), 12 deletions(-) create mode 100755 .github/actions/scripts/validate-license.py diff --git a/.github/actions/clang-format-check/action.yml b/.github/actions/clang-format-check/action.yml index bc90f88ba0..99384c1cee 100644 --- a/.github/actions/clang-format-check/action.yml +++ b/.github/actions/clang-format-check/action.yml @@ -47,6 +47,15 @@ runs: echo "has_files=true" >> $env:GITHUB_OUTPUT } + - name: Validate and add license headers + if: steps.changed-files.outputs.has_files == 'true' + shell: pwsh + run: | + $files = Get-Content "changed_files.txt" | Where-Object { Test-Path $_ } + if ($files.Count -gt 0) { + python3 .github/actions/scripts/validate-license.py --files @files --fix + } + - name: Check formatting if: steps.changed-files.outputs.has_files == 'true' shell: pwsh diff --git a/.github/actions/scripts/validate-license.py b/.github/actions/scripts/validate-license.py new file mode 100755 index 0000000000..1c6839071b --- /dev/null +++ b/.github/actions/scripts/validate-license.py @@ -0,0 +1,373 @@ +#!/usr/bin/env python3 +""" +Script to validate and add OCCT license headers to C++ source files. + +Validates that files contain the Open CASCADE Technology license header. +Automatically adds missing headers with the current year. + +Processes: .cxx, .hxx, .pxx, .lxx files +""" + +import os +import re +import sys +from datetime import datetime +from pathlib import Path +from typing import List, Tuple, Optional + + +# The canonical license text (normalized for comparison) +CANONICAL_LICENSE_LINES = [ + "This file is part of Open CASCADE Technology software library.", + "", + "This library is free software; you can redistribute it and/or modify it under", + "the terms of the GNU Lesser General Public License version 2.1 as published", + "by the Free Software Foundation, with special exception defined in the file", + "OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT", + "distribution for complete text of the license and disclaimer of any warranty.", + "", + "Alternatively, this file may be used under the terms of Open CASCADE", + "commercial license or contractual agreement.", +] + + +def normalize_text(text: str) -> str: + """Normalize text for comparison by removing extra whitespace and converting to lowercase.""" + # Remove multiple spaces, convert to lowercase, strip whitespace + return ' '.join(text.lower().split()) + + +def generate_license_header(year: Optional[int] = None) -> str: + """ + Generate the license header with C++ style comments. + + Args: + year: Optional year to use. If None, uses current year. + + Returns: + Complete license header as string + """ + if year is None: + year = datetime.now().year + + header_lines = [ + f"// Copyright (c) {year} OPEN CASCADE SAS", + "//", + "// This file is part of Open CASCADE Technology software library.", + "//", + "// This library is free software; you can redistribute it and/or modify it under", + "// the terms of the GNU Lesser General Public License version 2.1 as published", + "// by the Free Software Foundation, with special exception defined in the file", + "// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT", + "// distribution for complete text of the license and disclaimer of any warranty.", + "//", + "// Alternatively, this file may be used under the terms of Open CASCADE", + "// commercial license or contractual agreement.", + "" # Empty line after header + ] + + return '\n'.join(header_lines) + '\n' + + +def extract_license_text(lines: List[str], start_idx: int, max_lines: int = 20) -> Tuple[List[str], int]: + """ + Extract potential license text from comment block starting at start_idx. + + Returns: + Tuple of (extracted_text_lines, end_index) + """ + extracted = [] + current_idx = start_idx + in_block_comment = False + + while current_idx < len(lines) and current_idx < start_idx + max_lines: + line = lines[current_idx].rstrip() + + # Check for start of block comment + if line.strip() == '/*' or line.strip().startswith('/*'): + in_block_comment = True + # Extract text after /* if any + text_after = line.strip()[2:].strip() + if text_after and not text_after.startswith('*'): + extracted.append(text_after) + current_idx += 1 + continue + + # Check for end of block comment + if '*/' in line: + in_block_comment = False + # Extract text before */ if any + text_before = line.split('*/')[0].strip().lstrip('*').strip() + if text_before: + extracted.append(text_before) + current_idx += 1 + break + + # Inside block comment + if in_block_comment: + # Remove leading spaces and asterisks + text_content = line.strip().lstrip('*').strip() + extracted.append(text_content) + current_idx += 1 + continue + + # Check for // style comment + if line.strip().startswith('//'): + text_content = line.strip()[2:].strip() + extracted.append(text_content) + current_idx += 1 + continue + + # If we're not in a comment and line is not a comment, stop + if line.strip() and not in_block_comment: + break + + current_idx += 1 + + return extracted, current_idx + + +def check_license_header(filepath: str) -> Tuple[bool, Optional[int], int]: + """ + Check if file has a valid license header. + + Returns: + Tuple of (has_valid_license, line_where_found, header_end_line) + If no valid license found, returns (False, None, 0) + """ + try: + with open(filepath, 'r', encoding='utf-8', errors='ignore') as f: + lines = f.readlines() + except Exception as e: + print(f"Error reading {filepath}: {e}") + return False, None, 0 + + if not lines: + return False, None, 0 + + # Check first 30 lines for license header + for start_line in range(min(30, len(lines))): + extracted, end_idx = extract_license_text(lines, start_line, max_lines=25) + + if len(extracted) < 5: # Too short to be a license + continue + + # Compare normalized text + matched_lines = 0 + for canonical_line in CANONICAL_LICENSE_LINES: + normalized_canonical = normalize_text(canonical_line) + + # Skip empty lines in comparison + if not normalized_canonical: + continue + + # Check if any extracted line matches this canonical line + for extracted_line in extracted: + normalized_extracted = normalize_text(extracted_line) + + if normalized_canonical in normalized_extracted or normalized_extracted in normalized_canonical: + matched_lines += 1 + break + + # If we matched most of the key lines (allowing some variation) + if matched_lines >= 7: # At least 7 out of ~9 non-empty lines + return True, start_line, end_idx + + return False, None, 0 + + +def add_license_header(filepath: str, dry_run: bool = False) -> bool: + """ + Add license header to file if missing. + + Returns: + True if file was modified, False otherwise + """ + try: + with open(filepath, 'r', encoding='utf-8', errors='ignore') as f: + content = f.read() + except Exception as e: + print(f"Error reading {filepath}: {e}") + return False + + # Generate header with current year + header = generate_license_header() + + # Check if file starts with shebang + new_content = content + if content.startswith('#!'): + # Preserve shebang line + first_newline = content.find('\n') + if first_newline != -1: + shebang = content[:first_newline + 1] + rest = content[first_newline + 1:] + new_content = shebang + '\n' + header + '\n' + rest + else: + new_content = content + '\n' + header + else: + # Add header at the beginning + new_content = header + '\n' + content + + if not dry_run: + try: + with open(filepath, 'w', encoding='utf-8') as f: + f.write(new_content) + except Exception as e: + print(f"Error writing {filepath}: {e}") + return False + + return True + + +def find_files(root_dir: str, extensions: List[str]) -> List[str]: + """Find all files with specified extensions in the directory tree.""" + files = [] + for ext in extensions: + files.extend(Path(root_dir).rglob(f"*{ext}")) + return [str(f) for f in files] + + +def process_file(filepath: str, fix: bool = False, dry_run: bool = False) -> Tuple[bool, bool]: + """ + Process a single file to check/fix license header. + + Returns: + Tuple of (has_license, was_modified) + """ + has_license, _, _ = check_license_header(filepath) + + if has_license: + return True, False + + # License is missing + if fix: + modified = add_license_header(filepath, dry_run) + return False, modified + + return False, False + + +def main(): + import argparse + + parser = argparse.ArgumentParser( + description='Validate and add OCCT license headers to C++ source files' + ) + parser.add_argument( + 'path', + nargs='?', + default='src', + help='Root directory or file to process (default: src)' + ) + parser.add_argument( + '--fix', + action='store_true', + help='Automatically add missing license headers' + ) + parser.add_argument( + '--dry-run', + action='store_true', + help='Show what would be changed without modifying files (implies --fix)' + ) + parser.add_argument( + '--extensions', + nargs='+', + default=['.cxx', '.hxx', '.pxx', '.lxx'], + help='File extensions to process (default: .cxx .hxx .pxx .lxx)' + ) + parser.add_argument( + '--files', + nargs='+', + help='Specific files to process (overrides path scanning)' + ) + parser.add_argument( + '--ci', + action='store_true', + help='CI mode: exit with error code if any file is missing license' + ) + + args = parser.parse_args() + + # Dry run implies fix mode + if args.dry_run: + args.fix = True + + # Get list of files to process + if args.files: + # Process specific files + files = [os.path.abspath(f) for f in args.files if os.path.isfile(f)] + if len(files) == 0: + print("Error: No valid files specified") + return 1 + else: + # Process directory or single file + path = os.path.abspath(args.path) + + if os.path.isfile(path): + files = [path] + elif os.path.isdir(path): + print(f"Scanning for files in: {path}") + print(f"Extensions: {', '.join(args.extensions)}") + files = find_files(path, args.extensions) + print(f"Found {len(files)} files to process\n") + else: + print(f"Error: {path} is not a valid file or directory") + return 1 + + if args.dry_run: + print("DRY RUN MODE - No files will be modified\n") + + # Process files + missing_license = [] + fixed_files = [] + + for filepath in sorted(files): + has_license, was_modified = process_file(filepath, args.fix, args.dry_run) + + if not has_license and not was_modified: + missing_license.append(filepath) + elif was_modified: + fixed_files.append(filepath) + + # Print results + if missing_license: + print(f"\n{'='*70}") + print(f"FILES MISSING LICENSE HEADER ({len(missing_license)})") + print(f"{'='*70}") + for filepath in missing_license: + print(f" {filepath}") + + if fixed_files: + print(f"\n{'='*70}") + print(f"FILES {'THAT WOULD BE ' if args.dry_run else ''}FIXED ({len(fixed_files)})") + print(f"{'='*70}") + for filepath in fixed_files: + print(f" {filepath}") + + # Summary + print(f"\n{'='*70}") + print("SUMMARY") + print(f"{'='*70}") + print(f"Files processed: {len(files)}") + print(f"Files with valid license: {len(files) - len(missing_license) - len(fixed_files)}") + print(f"Files missing license: {len(missing_license)}") + if args.fix: + print(f"Files {'that would be ' if args.dry_run else ''}fixed: {len(fixed_files)}") + + if args.dry_run: + print("\nThis was a dry run. Use --fix without --dry-run to apply changes.") + + # Exit with error in CI mode if any files are missing license + if args.ci and (missing_license or (fixed_files and not args.fix)): + print("\n[CI MODE] License validation FAILED") + return 1 + + if not args.fix and missing_license: + print(f"\nUse --fix to automatically add license headers to files missing them.") + return 1 + + return 0 + + +if __name__ == '__main__': + exit(main()) diff --git a/adm/templates/header.in b/adm/templates/header.in index ad257c450f..90d5f047ff 100644 --- a/adm/templates/header.in +++ b/adm/templates/header.in @@ -1,2 +1,15 @@ +// Copyright (c) 2025 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + // clang-format off @OCCT_HEADER_FILE_CONTENT@// clang-format on diff --git a/src/ApplicationFramework/TKTObj/TObj/TObj_TObj_msg.pxx b/src/ApplicationFramework/TKTObj/TObj/TObj_TObj_msg.pxx index 66914ed437..087041c4f5 100644 --- a/src/ApplicationFramework/TKTObj/TObj/TObj_TObj_msg.pxx +++ b/src/ApplicationFramework/TKTObj/TObj/TObj_TObj_msg.pxx @@ -1,3 +1,16 @@ +// Copyright (c) 2025 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + // clang-format off // This file has been automatically generated from resource file resources/TObj/TObj.msg diff --git a/src/DataExchange/TKDEIGES/TKDEIGES_pch.hxx b/src/DataExchange/TKDEIGES/TKDEIGES_pch.hxx index f525f09bb6..0236bc96b8 100644 --- a/src/DataExchange/TKDEIGES/TKDEIGES_pch.hxx +++ b/src/DataExchange/TKDEIGES/TKDEIGES_pch.hxx @@ -1,3 +1,16 @@ +// Copyright (c) 2025 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + #ifndef TKDEIGES_PCH_H #define TKDEIGES_PCH_H diff --git a/src/DataExchange/TKDESTEP/GTests/StepTransientReplacements_Test.cxx b/src/DataExchange/TKDESTEP/GTests/StepTransientReplacements_Test.cxx index 5f6e62e126..58d53908db 100644 --- a/src/DataExchange/TKDESTEP/GTests/StepTransientReplacements_Test.cxx +++ b/src/DataExchange/TKDESTEP/GTests/StepTransientReplacements_Test.cxx @@ -1,3 +1,16 @@ +// Copyright (c) 2025 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + #include #include diff --git a/src/DataExchange/TKDESTEP/StepFile/step.tab.cxx b/src/DataExchange/TKDESTEP/StepFile/step.tab.cxx index 7e226314e5..23ecce5305 100644 --- a/src/DataExchange/TKDESTEP/StepFile/step.tab.cxx +++ b/src/DataExchange/TKDESTEP/StepFile/step.tab.cxx @@ -1,3 +1,16 @@ +// Copyright (c) 2025 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + // A Bison parser, made by GNU Bison 3.7.4. // Skeleton implementation for Bison LALR(1) parsers in C++ diff --git a/src/DataExchange/TKDESTEP/StepFile/step.tab.hxx b/src/DataExchange/TKDESTEP/StepFile/step.tab.hxx index fa023aad4b..4e01c413a2 100644 --- a/src/DataExchange/TKDESTEP/StepFile/step.tab.hxx +++ b/src/DataExchange/TKDESTEP/StepFile/step.tab.hxx @@ -1,3 +1,16 @@ +// Copyright (c) 2025 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + // A Bison parser, made by GNU Bison 3.7.4. // Skeleton interface for Bison LALR(1) parsers in C++ diff --git a/src/DataExchange/TKDESTEP/TKDESTEP_pch.hxx b/src/DataExchange/TKDESTEP/TKDESTEP_pch.hxx index 49d7770cb1..bc0b27f834 100644 --- a/src/DataExchange/TKDESTEP/TKDESTEP_pch.hxx +++ b/src/DataExchange/TKDESTEP/TKDESTEP_pch.hxx @@ -1,3 +1,16 @@ +// Copyright (c) 2025 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + #ifndef TKDESTEP_PCH_H #define TKDESTEP_PCH_H diff --git a/src/DataExchange/TKXSBase/TKXSBase_pch.hxx b/src/DataExchange/TKXSBase/TKXSBase_pch.hxx index ef4295daf8..1a3a368c64 100644 --- a/src/DataExchange/TKXSBase/TKXSBase_pch.hxx +++ b/src/DataExchange/TKXSBase/TKXSBase_pch.hxx @@ -1,3 +1,16 @@ +// Copyright (c) 2025 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + #ifndef TKXSBASE_PCH_H #define TKXSBASE_PCH_H diff --git a/src/DataExchange/TKXSBase/XSMessage/XSMessage_XSTEP_fr.pxx b/src/DataExchange/TKXSBase/XSMessage/XSMessage_XSTEP_fr.pxx index 6ec91384ab..18aca45757 100644 --- a/src/DataExchange/TKXSBase/XSMessage/XSMessage_XSTEP_fr.pxx +++ b/src/DataExchange/TKXSBase/XSMessage/XSMessage_XSTEP_fr.pxx @@ -1,3 +1,16 @@ +// Copyright (c) 2025 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + // clang-format off // This file has been automatically generated from resource file resources/XSMessage/XSTEP.fr diff --git a/src/DataExchange/TKXSBase/XSMessage/XSMessage_XSTEP_us.pxx b/src/DataExchange/TKXSBase/XSMessage/XSMessage_XSTEP_us.pxx index dbff675364..110f6c45b1 100644 --- a/src/DataExchange/TKXSBase/XSMessage/XSMessage_XSTEP_us.pxx +++ b/src/DataExchange/TKXSBase/XSMessage/XSMessage_XSTEP_us.pxx @@ -1,3 +1,16 @@ +// Copyright (c) 2025 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + // clang-format off // This file has been automatically generated from resource file resources/XSMessage/XSTEP.us diff --git a/src/FoundationClasses/TKMath/GTests/Bnd_BoundSortBox_Test.cxx b/src/FoundationClasses/TKMath/GTests/Bnd_BoundSortBox_Test.cxx index 309957b378..0eb33950ca 100644 --- a/src/FoundationClasses/TKMath/GTests/Bnd_BoundSortBox_Test.cxx +++ b/src/FoundationClasses/TKMath/GTests/Bnd_BoundSortBox_Test.cxx @@ -1,3 +1,16 @@ +// Copyright (c) 2025 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + #include #include diff --git a/src/FoundationClasses/TKMath/GTests/Bnd_Box_Test.cxx b/src/FoundationClasses/TKMath/GTests/Bnd_Box_Test.cxx index 50fe1c7b4d..7b4900bc08 100644 --- a/src/FoundationClasses/TKMath/GTests/Bnd_Box_Test.cxx +++ b/src/FoundationClasses/TKMath/GTests/Bnd_Box_Test.cxx @@ -1,3 +1,16 @@ +// Copyright (c) 2025 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + #include #include diff --git a/src/FoundationClasses/TKMath/GTests/math_FunctionAllRoots_Test.cxx b/src/FoundationClasses/TKMath/GTests/math_FunctionAllRoots_Test.cxx index cff5f14228..ce5363ee50 100644 --- a/src/FoundationClasses/TKMath/GTests/math_FunctionAllRoots_Test.cxx +++ b/src/FoundationClasses/TKMath/GTests/math_FunctionAllRoots_Test.cxx @@ -1,7 +1,15 @@ -// Created on: 2023-12-15 -// Created by: OpenCascade GTests +// Copyright (c) 2025 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. #include #include diff --git a/src/FoundationClasses/TKMath/GTests/math_FunctionSetRoot_Test.cxx b/src/FoundationClasses/TKMath/GTests/math_FunctionSetRoot_Test.cxx index 72626ffd16..238691fa68 100644 --- a/src/FoundationClasses/TKMath/GTests/math_FunctionSetRoot_Test.cxx +++ b/src/FoundationClasses/TKMath/GTests/math_FunctionSetRoot_Test.cxx @@ -1,7 +1,15 @@ -// Created on: 2023-12-15 -// Created by: OpenCascade GTests +// Copyright (c) 2025 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. #include #include diff --git a/src/FoundationClasses/TKMath/GTests/math_GaussLeastSquare_Test.cxx b/src/FoundationClasses/TKMath/GTests/math_GaussLeastSquare_Test.cxx index 8b02da108c..347ed76efc 100644 --- a/src/FoundationClasses/TKMath/GTests/math_GaussLeastSquare_Test.cxx +++ b/src/FoundationClasses/TKMath/GTests/math_GaussLeastSquare_Test.cxx @@ -1,7 +1,15 @@ -// Created on: 2023-12-15 -// Created by: OpenCascade GTests +// Copyright (c) 2025 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. #include #include diff --git a/src/FoundationClasses/TKMath/GTests/math_NewtonFunctionSetRoot_Test.cxx b/src/FoundationClasses/TKMath/GTests/math_NewtonFunctionSetRoot_Test.cxx index ee4f339089..8bca08a451 100644 --- a/src/FoundationClasses/TKMath/GTests/math_NewtonFunctionSetRoot_Test.cxx +++ b/src/FoundationClasses/TKMath/GTests/math_NewtonFunctionSetRoot_Test.cxx @@ -1,7 +1,15 @@ -// Created on: 2023-12-15 -// Created by: OpenCascade GTests +// Copyright (c) 2025 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. #include #include diff --git a/src/FoundationClasses/TKMath/GTests/math_TrigonometricFunctionRoots_Test.cxx b/src/FoundationClasses/TKMath/GTests/math_TrigonometricFunctionRoots_Test.cxx index b50cdadd53..a71860f496 100644 --- a/src/FoundationClasses/TKMath/GTests/math_TrigonometricFunctionRoots_Test.cxx +++ b/src/FoundationClasses/TKMath/GTests/math_TrigonometricFunctionRoots_Test.cxx @@ -1,7 +1,15 @@ -// Created on: 2023-12-15 -// Created by: OpenCascade GTests +// Copyright (c) 2025 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. #include #include diff --git a/src/FoundationClasses/TKMath/GTests/math_Uzawa_Test.cxx b/src/FoundationClasses/TKMath/GTests/math_Uzawa_Test.cxx index 7b03d7e102..5d1e5a6883 100644 --- a/src/FoundationClasses/TKMath/GTests/math_Uzawa_Test.cxx +++ b/src/FoundationClasses/TKMath/GTests/math_Uzawa_Test.cxx @@ -1,7 +1,15 @@ -// Created on: 2023-12-15 -// Created by: OpenCascade GTests +// Copyright (c) 2025 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. #include #include diff --git a/src/FoundationClasses/TKMath/TKMath_pch.hxx b/src/FoundationClasses/TKMath/TKMath_pch.hxx index c9ae8cd7d6..1da6e06e44 100644 --- a/src/FoundationClasses/TKMath/TKMath_pch.hxx +++ b/src/FoundationClasses/TKMath/TKMath_pch.hxx @@ -1,3 +1,16 @@ +// Copyright (c) 2025 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + #ifndef TKMATH_PCH_H #define TKMATH_PCH_H diff --git a/src/FoundationClasses/TKernel/GTests/OSD_PerfMeter_Test.cxx b/src/FoundationClasses/TKernel/GTests/OSD_PerfMeter_Test.cxx index b929964ed6..ab7f481a8b 100644 --- a/src/FoundationClasses/TKernel/GTests/OSD_PerfMeter_Test.cxx +++ b/src/FoundationClasses/TKernel/GTests/OSD_PerfMeter_Test.cxx @@ -1,3 +1,16 @@ +// Copyright (c) 2025 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + #include #include #include diff --git a/src/FoundationClasses/TKernel/Quantity/Quantity_ColorTable.pxx b/src/FoundationClasses/TKernel/Quantity/Quantity_ColorTable.pxx index 1b93f979d7..5a16529d5f 100644 --- a/src/FoundationClasses/TKernel/Quantity/Quantity_ColorTable.pxx +++ b/src/FoundationClasses/TKernel/Quantity/Quantity_ColorTable.pxx @@ -1,3 +1,16 @@ +// Copyright (c) 2025 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + RawColor(BLACK, sRGB, 0x000000, 0.000000, 0.000000, 0.000000, RGB, 0.000000, 0.000000, 0.000000), RawColor(MATRABLUE, sRGB, diff --git a/src/FoundationClasses/TKernel/TKernel_pch.hxx b/src/FoundationClasses/TKernel/TKernel_pch.hxx index 7f72876c12..10d460ba4f 100644 --- a/src/FoundationClasses/TKernel/TKernel_pch.hxx +++ b/src/FoundationClasses/TKernel/TKernel_pch.hxx @@ -1,3 +1,16 @@ +// Copyright (c) 2025 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + #ifndef TKERNEL_PCH_H #define TKERNEL_PCH_H diff --git a/src/FoundationClasses/TKernel/UnitsAPI/UnitsAPI_Units_dat.pxx b/src/FoundationClasses/TKernel/UnitsAPI/UnitsAPI_Units_dat.pxx index dbb81af97b..45ea346d55 100644 --- a/src/FoundationClasses/TKernel/UnitsAPI/UnitsAPI_Units_dat.pxx +++ b/src/FoundationClasses/TKernel/UnitsAPI/UnitsAPI_Units_dat.pxx @@ -1,3 +1,16 @@ +// Copyright (c) 2025 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + // clang-format off // This file has been automatically generated from resource file resources/UnitsAPI/Units.dat diff --git a/src/ModelingAlgorithms/TKBO/BOPAlgo/BOPAlgo_BOPAlgo_msg.pxx b/src/ModelingAlgorithms/TKBO/BOPAlgo/BOPAlgo_BOPAlgo_msg.pxx index 3e37abe49d..dbe124cb30 100644 --- a/src/ModelingAlgorithms/TKBO/BOPAlgo/BOPAlgo_BOPAlgo_msg.pxx +++ b/src/ModelingAlgorithms/TKBO/BOPAlgo/BOPAlgo_BOPAlgo_msg.pxx @@ -1,3 +1,16 @@ +// Copyright (c) 2025 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + // clang-format off // This file has been automatically generated from resource file resources/BOPAlgo/BOPAlgo.msg diff --git a/src/ModelingAlgorithms/TKMesh/TKMesh_pch.hxx b/src/ModelingAlgorithms/TKMesh/TKMesh_pch.hxx index ffd99b74a8..23838b36c9 100644 --- a/src/ModelingAlgorithms/TKMesh/TKMesh_pch.hxx +++ b/src/ModelingAlgorithms/TKMesh/TKMesh_pch.hxx @@ -1,3 +1,16 @@ +// Copyright (c) 2025 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + #ifndef TKMESH_PCH_H #define TKMESH_PCH_H diff --git a/src/ModelingAlgorithms/TKShHealing/GTests/ShapeAnalysis_CanonicalRecognition_Test.cxx b/src/ModelingAlgorithms/TKShHealing/GTests/ShapeAnalysis_CanonicalRecognition_Test.cxx index d684482429..f19720ceb9 100644 --- a/src/ModelingAlgorithms/TKShHealing/GTests/ShapeAnalysis_CanonicalRecognition_Test.cxx +++ b/src/ModelingAlgorithms/TKShHealing/GTests/ShapeAnalysis_CanonicalRecognition_Test.cxx @@ -1,3 +1,16 @@ +// Copyright (c) 2025 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + #include #include diff --git a/src/ModelingAlgorithms/TKShHealing/SHMessage/SHMessage_SHAPE_fr.pxx b/src/ModelingAlgorithms/TKShHealing/SHMessage/SHMessage_SHAPE_fr.pxx index 448ae43aa7..6069d019aa 100644 --- a/src/ModelingAlgorithms/TKShHealing/SHMessage/SHMessage_SHAPE_fr.pxx +++ b/src/ModelingAlgorithms/TKShHealing/SHMessage/SHMessage_SHAPE_fr.pxx @@ -1,3 +1,16 @@ +// Copyright (c) 2025 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + // clang-format off // This file has been automatically generated from resource file resources/SHMessage/SHAPE.fr diff --git a/src/ModelingAlgorithms/TKShHealing/SHMessage/SHMessage_SHAPE_us.pxx b/src/ModelingAlgorithms/TKShHealing/SHMessage/SHMessage_SHAPE_us.pxx index 014d9abacb..c4863ff4bd 100644 --- a/src/ModelingAlgorithms/TKShHealing/SHMessage/SHMessage_SHAPE_us.pxx +++ b/src/ModelingAlgorithms/TKShHealing/SHMessage/SHMessage_SHAPE_us.pxx @@ -1,3 +1,16 @@ +// Copyright (c) 2025 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + // clang-format off // This file has been automatically generated from resource file resources/SHMessage/SHAPE.us diff --git a/src/ModelingData/TKBRep/TKBRep_pch.hxx b/src/ModelingData/TKBRep/TKBRep_pch.hxx index 341ed29b7a..1cb17d317a 100644 --- a/src/ModelingData/TKBRep/TKBRep_pch.hxx +++ b/src/ModelingData/TKBRep/TKBRep_pch.hxx @@ -1,3 +1,16 @@ +// Copyright (c) 2025 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + #ifndef TKBRep_HXX #define TKBRep_HXX diff --git a/src/Visualization/TKOpenGl/Textures/Textures_EnvLUT.pxx b/src/Visualization/TKOpenGl/Textures/Textures_EnvLUT.pxx index 33eeadbf78..f3d094564d 100644 --- a/src/Visualization/TKOpenGl/Textures/Textures_EnvLUT.pxx +++ b/src/Visualization/TKOpenGl/Textures/Textures_EnvLUT.pxx @@ -1,3 +1,16 @@ +// Copyright (c) 2025 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + // this file has been generated by vgenenvlut draw command static unsigned int Textures_EnvLUTSize = 128; diff --git a/src/Visualization/TKService/Font/Font_DejavuSans_Latin_woff.pxx b/src/Visualization/TKService/Font/Font_DejavuSans_Latin_woff.pxx index 754021fb65..70153c7db0 100644 --- a/src/Visualization/TKService/Font/Font_DejavuSans_Latin_woff.pxx +++ b/src/Visualization/TKService/Font/Font_DejavuSans_Latin_woff.pxx @@ -1,3 +1,16 @@ +// Copyright (c) 2025 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + //! DejaVuSans.ttf (extracted Basic Latin sub-set into .woff) //! DejaVu changes are in public domain. //! diff --git a/src/Visualization/TKService/GTests/Graphic3d_BndBox_Test.cxx b/src/Visualization/TKService/GTests/Graphic3d_BndBox_Test.cxx index 619eb27892..e5b44b8b3f 100644 --- a/src/Visualization/TKService/GTests/Graphic3d_BndBox_Test.cxx +++ b/src/Visualization/TKService/GTests/Graphic3d_BndBox_Test.cxx @@ -1,3 +1,16 @@ +// Copyright (c) 2025 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + #include #include diff --git a/src/Visualization/TKService/Shaders/Shaders_DeclarationsImpl_glsl.pxx b/src/Visualization/TKService/Shaders/Shaders_DeclarationsImpl_glsl.pxx index 744d1bc0af..46f12a5f8c 100644 --- a/src/Visualization/TKService/Shaders/Shaders_DeclarationsImpl_glsl.pxx +++ b/src/Visualization/TKService/Shaders/Shaders_DeclarationsImpl_glsl.pxx @@ -1,3 +1,16 @@ +// Copyright (c) 2025 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + // clang-format off // This file has been automatically generated from resource file resources/Shaders/DeclarationsImpl.glsl diff --git a/src/Visualization/TKService/Shaders/Shaders_Declarations_glsl.pxx b/src/Visualization/TKService/Shaders/Shaders_Declarations_glsl.pxx index 5c1a015e8a..ac8a203535 100644 --- a/src/Visualization/TKService/Shaders/Shaders_Declarations_glsl.pxx +++ b/src/Visualization/TKService/Shaders/Shaders_Declarations_glsl.pxx @@ -1,3 +1,16 @@ +// Copyright (c) 2025 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + // clang-format off // This file has been automatically generated from resource file resources/Shaders/Declarations.glsl diff --git a/src/Visualization/TKService/Shaders/Shaders_Display_fs.pxx b/src/Visualization/TKService/Shaders/Shaders_Display_fs.pxx index 7e3fa3e975..0871d56a41 100644 --- a/src/Visualization/TKService/Shaders/Shaders_Display_fs.pxx +++ b/src/Visualization/TKService/Shaders/Shaders_Display_fs.pxx @@ -1,3 +1,16 @@ +// Copyright (c) 2025 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + // clang-format off // This file has been automatically generated from resource file resources/Shaders/Display.fs diff --git a/src/Visualization/TKService/Shaders/Shaders_LightShadow_glsl.pxx b/src/Visualization/TKService/Shaders/Shaders_LightShadow_glsl.pxx index 4eb79324c3..38607b01ec 100644 --- a/src/Visualization/TKService/Shaders/Shaders_LightShadow_glsl.pxx +++ b/src/Visualization/TKService/Shaders/Shaders_LightShadow_glsl.pxx @@ -1,3 +1,16 @@ +// Copyright (c) 2025 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + // clang-format off // This file has been automatically generated from resource file resources/Shaders/LightShadow.glsl diff --git a/src/Visualization/TKService/Shaders/Shaders_PBRCookTorrance_glsl.pxx b/src/Visualization/TKService/Shaders/Shaders_PBRCookTorrance_glsl.pxx index 2d407611ff..a0c24e2512 100644 --- a/src/Visualization/TKService/Shaders/Shaders_PBRCookTorrance_glsl.pxx +++ b/src/Visualization/TKService/Shaders/Shaders_PBRCookTorrance_glsl.pxx @@ -1,3 +1,16 @@ +// Copyright (c) 2025 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + // clang-format off // This file has been automatically generated from resource file resources/Shaders/PBRCookTorrance.glsl diff --git a/src/Visualization/TKService/Shaders/Shaders_PBRDirectionalLight_glsl.pxx b/src/Visualization/TKService/Shaders/Shaders_PBRDirectionalLight_glsl.pxx index 087037367a..d348408dbb 100644 --- a/src/Visualization/TKService/Shaders/Shaders_PBRDirectionalLight_glsl.pxx +++ b/src/Visualization/TKService/Shaders/Shaders_PBRDirectionalLight_glsl.pxx @@ -1,3 +1,16 @@ +// Copyright (c) 2025 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + // clang-format off // This file has been automatically generated from resource file resources/Shaders/PBRDirectionalLight.glsl diff --git a/src/Visualization/TKService/Shaders/Shaders_PBRDistribution_glsl.pxx b/src/Visualization/TKService/Shaders/Shaders_PBRDistribution_glsl.pxx index 4b248c7fbf..5f6d525952 100644 --- a/src/Visualization/TKService/Shaders/Shaders_PBRDistribution_glsl.pxx +++ b/src/Visualization/TKService/Shaders/Shaders_PBRDistribution_glsl.pxx @@ -1,3 +1,16 @@ +// Copyright (c) 2025 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + // clang-format off // This file has been automatically generated from resource file resources/Shaders/PBRDistribution.glsl diff --git a/src/Visualization/TKService/Shaders/Shaders_PBREnvBaking_fs.pxx b/src/Visualization/TKService/Shaders/Shaders_PBREnvBaking_fs.pxx index 4b9d0aa1d8..0ba0bd7656 100644 --- a/src/Visualization/TKService/Shaders/Shaders_PBREnvBaking_fs.pxx +++ b/src/Visualization/TKService/Shaders/Shaders_PBREnvBaking_fs.pxx @@ -1,3 +1,16 @@ +// Copyright (c) 2025 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + // clang-format off // This file has been automatically generated from resource file resources/Shaders/PBREnvBaking.fs diff --git a/src/Visualization/TKService/Shaders/Shaders_PBREnvBaking_vs.pxx b/src/Visualization/TKService/Shaders/Shaders_PBREnvBaking_vs.pxx index fc19e3f20e..4fad07872e 100644 --- a/src/Visualization/TKService/Shaders/Shaders_PBREnvBaking_vs.pxx +++ b/src/Visualization/TKService/Shaders/Shaders_PBREnvBaking_vs.pxx @@ -1,3 +1,16 @@ +// Copyright (c) 2025 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + // clang-format off // This file has been automatically generated from resource file resources/Shaders/PBREnvBaking.vs diff --git a/src/Visualization/TKService/Shaders/Shaders_PBRFresnel_glsl.pxx b/src/Visualization/TKService/Shaders/Shaders_PBRFresnel_glsl.pxx index 65c6507ac1..b3e0a65526 100644 --- a/src/Visualization/TKService/Shaders/Shaders_PBRFresnel_glsl.pxx +++ b/src/Visualization/TKService/Shaders/Shaders_PBRFresnel_glsl.pxx @@ -1,3 +1,16 @@ +// Copyright (c) 2025 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + // clang-format off // This file has been automatically generated from resource file resources/Shaders/PBRFresnel.glsl diff --git a/src/Visualization/TKService/Shaders/Shaders_PBRGeometry_glsl.pxx b/src/Visualization/TKService/Shaders/Shaders_PBRGeometry_glsl.pxx index 0846abce1c..b7c303a0e1 100644 --- a/src/Visualization/TKService/Shaders/Shaders_PBRGeometry_glsl.pxx +++ b/src/Visualization/TKService/Shaders/Shaders_PBRGeometry_glsl.pxx @@ -1,3 +1,16 @@ +// Copyright (c) 2025 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + // clang-format off // This file has been automatically generated from resource file resources/Shaders/PBRGeometry.glsl diff --git a/src/Visualization/TKService/Shaders/Shaders_PBRIllumination_glsl.pxx b/src/Visualization/TKService/Shaders/Shaders_PBRIllumination_glsl.pxx index 1e273a2c8a..cd2d988d5b 100644 --- a/src/Visualization/TKService/Shaders/Shaders_PBRIllumination_glsl.pxx +++ b/src/Visualization/TKService/Shaders/Shaders_PBRIllumination_glsl.pxx @@ -1,3 +1,16 @@ +// Copyright (c) 2025 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + // clang-format off // This file has been automatically generated from resource file resources/Shaders/PBRIllumination.glsl diff --git a/src/Visualization/TKService/Shaders/Shaders_PBRPointLight_glsl.pxx b/src/Visualization/TKService/Shaders/Shaders_PBRPointLight_glsl.pxx index a76cf24cc6..c479376a61 100644 --- a/src/Visualization/TKService/Shaders/Shaders_PBRPointLight_glsl.pxx +++ b/src/Visualization/TKService/Shaders/Shaders_PBRPointLight_glsl.pxx @@ -1,3 +1,16 @@ +// Copyright (c) 2025 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + // clang-format off // This file has been automatically generated from resource file resources/Shaders/PBRPointLight.glsl diff --git a/src/Visualization/TKService/Shaders/Shaders_PBRSpotLight_glsl.pxx b/src/Visualization/TKService/Shaders/Shaders_PBRSpotLight_glsl.pxx index d933cf266f..a0cfdd7e76 100644 --- a/src/Visualization/TKService/Shaders/Shaders_PBRSpotLight_glsl.pxx +++ b/src/Visualization/TKService/Shaders/Shaders_PBRSpotLight_glsl.pxx @@ -1,3 +1,16 @@ +// Copyright (c) 2025 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + // clang-format off // This file has been automatically generated from resource file resources/Shaders/PBRSpotLight.glsl diff --git a/src/Visualization/TKService/Shaders/Shaders_PathtraceBase_fs.pxx b/src/Visualization/TKService/Shaders/Shaders_PathtraceBase_fs.pxx index 349965dc11..d57b60ae68 100644 --- a/src/Visualization/TKService/Shaders/Shaders_PathtraceBase_fs.pxx +++ b/src/Visualization/TKService/Shaders/Shaders_PathtraceBase_fs.pxx @@ -1,3 +1,16 @@ +// Copyright (c) 2025 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + // clang-format off // This file has been automatically generated from resource file resources/Shaders/PathtraceBase.fs diff --git a/src/Visualization/TKService/Shaders/Shaders_PhongDirectionalLight_glsl.pxx b/src/Visualization/TKService/Shaders/Shaders_PhongDirectionalLight_glsl.pxx index 849011b4af..520628b65b 100644 --- a/src/Visualization/TKService/Shaders/Shaders_PhongDirectionalLight_glsl.pxx +++ b/src/Visualization/TKService/Shaders/Shaders_PhongDirectionalLight_glsl.pxx @@ -1,3 +1,16 @@ +// Copyright (c) 2025 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + // clang-format off // This file has been automatically generated from resource file resources/Shaders/PhongDirectionalLight.glsl diff --git a/src/Visualization/TKService/Shaders/Shaders_PhongPointLight_glsl.pxx b/src/Visualization/TKService/Shaders/Shaders_PhongPointLight_glsl.pxx index 992abb1120..e77762de81 100644 --- a/src/Visualization/TKService/Shaders/Shaders_PhongPointLight_glsl.pxx +++ b/src/Visualization/TKService/Shaders/Shaders_PhongPointLight_glsl.pxx @@ -1,3 +1,16 @@ +// Copyright (c) 2025 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + // clang-format off // This file has been automatically generated from resource file resources/Shaders/PhongPointLight.glsl diff --git a/src/Visualization/TKService/Shaders/Shaders_PhongShading_fs.pxx b/src/Visualization/TKService/Shaders/Shaders_PhongShading_fs.pxx index b08dc38a70..26cf8f9739 100644 --- a/src/Visualization/TKService/Shaders/Shaders_PhongShading_fs.pxx +++ b/src/Visualization/TKService/Shaders/Shaders_PhongShading_fs.pxx @@ -1,3 +1,16 @@ +// Copyright (c) 2025 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + // clang-format off // This file has been automatically generated from resource file resources/Shaders/PhongShading.fs diff --git a/src/Visualization/TKService/Shaders/Shaders_PhongShading_vs.pxx b/src/Visualization/TKService/Shaders/Shaders_PhongShading_vs.pxx index fcae9f9a9d..0abac3ba50 100644 --- a/src/Visualization/TKService/Shaders/Shaders_PhongShading_vs.pxx +++ b/src/Visualization/TKService/Shaders/Shaders_PhongShading_vs.pxx @@ -1,3 +1,16 @@ +// Copyright (c) 2025 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + // clang-format off // This file has been automatically generated from resource file resources/Shaders/PhongShading.vs diff --git a/src/Visualization/TKService/Shaders/Shaders_PhongSpotLight_glsl.pxx b/src/Visualization/TKService/Shaders/Shaders_PhongSpotLight_glsl.pxx index 2888ea1de3..b98301e987 100644 --- a/src/Visualization/TKService/Shaders/Shaders_PhongSpotLight_glsl.pxx +++ b/src/Visualization/TKService/Shaders/Shaders_PhongSpotLight_glsl.pxx @@ -1,3 +1,16 @@ +// Copyright (c) 2025 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + // clang-format off // This file has been automatically generated from resource file resources/Shaders/PhongSpotLight.glsl diff --git a/src/Visualization/TKService/Shaders/Shaders_PointLightAttenuation_glsl.pxx b/src/Visualization/TKService/Shaders/Shaders_PointLightAttenuation_glsl.pxx index a431557647..f53bd32072 100644 --- a/src/Visualization/TKService/Shaders/Shaders_PointLightAttenuation_glsl.pxx +++ b/src/Visualization/TKService/Shaders/Shaders_PointLightAttenuation_glsl.pxx @@ -1,3 +1,16 @@ +// Copyright (c) 2025 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + // clang-format off // This file has been automatically generated from resource file resources/Shaders/PointLightAttenuation.glsl diff --git a/src/Visualization/TKService/Shaders/Shaders_RaytraceBase_fs.pxx b/src/Visualization/TKService/Shaders/Shaders_RaytraceBase_fs.pxx index 783392cf2d..779350f815 100644 --- a/src/Visualization/TKService/Shaders/Shaders_RaytraceBase_fs.pxx +++ b/src/Visualization/TKService/Shaders/Shaders_RaytraceBase_fs.pxx @@ -1,3 +1,16 @@ +// Copyright (c) 2025 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + // clang-format off // This file has been automatically generated from resource file resources/Shaders/RaytraceBase.fs diff --git a/src/Visualization/TKService/Shaders/Shaders_RaytraceBase_vs.pxx b/src/Visualization/TKService/Shaders/Shaders_RaytraceBase_vs.pxx index bbbf228b44..c395bec4d9 100644 --- a/src/Visualization/TKService/Shaders/Shaders_RaytraceBase_vs.pxx +++ b/src/Visualization/TKService/Shaders/Shaders_RaytraceBase_vs.pxx @@ -1,3 +1,16 @@ +// Copyright (c) 2025 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + // clang-format off // This file has been automatically generated from resource file resources/Shaders/RaytraceBase.vs diff --git a/src/Visualization/TKService/Shaders/Shaders_RaytraceRender_fs.pxx b/src/Visualization/TKService/Shaders/Shaders_RaytraceRender_fs.pxx index d627cfc242..2eb114f991 100644 --- a/src/Visualization/TKService/Shaders/Shaders_RaytraceRender_fs.pxx +++ b/src/Visualization/TKService/Shaders/Shaders_RaytraceRender_fs.pxx @@ -1,3 +1,16 @@ +// Copyright (c) 2025 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + // clang-format off // This file has been automatically generated from resource file resources/Shaders/RaytraceRender.fs diff --git a/src/Visualization/TKService/Shaders/Shaders_RaytraceSmooth_fs.pxx b/src/Visualization/TKService/Shaders/Shaders_RaytraceSmooth_fs.pxx index 7f6ac119ae..f519e1ae94 100644 --- a/src/Visualization/TKService/Shaders/Shaders_RaytraceSmooth_fs.pxx +++ b/src/Visualization/TKService/Shaders/Shaders_RaytraceSmooth_fs.pxx @@ -1,3 +1,16 @@ +// Copyright (c) 2025 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + // clang-format off // This file has been automatically generated from resource file resources/Shaders/RaytraceSmooth.fs diff --git a/src/Visualization/TKService/Shaders/Shaders_SkydomBackground_fs.pxx b/src/Visualization/TKService/Shaders/Shaders_SkydomBackground_fs.pxx index b28bfe1de9..f20c975837 100644 --- a/src/Visualization/TKService/Shaders/Shaders_SkydomBackground_fs.pxx +++ b/src/Visualization/TKService/Shaders/Shaders_SkydomBackground_fs.pxx @@ -1,3 +1,16 @@ +// Copyright (c) 2025 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + // clang-format off // This file has been automatically generated from resource file resources/Shaders/SkydomBackground.fs diff --git a/src/Visualization/TKService/Shaders/Shaders_TangentSpaceNormal_glsl.pxx b/src/Visualization/TKService/Shaders/Shaders_TangentSpaceNormal_glsl.pxx index da39526fa8..5d6d407be1 100644 --- a/src/Visualization/TKService/Shaders/Shaders_TangentSpaceNormal_glsl.pxx +++ b/src/Visualization/TKService/Shaders/Shaders_TangentSpaceNormal_glsl.pxx @@ -1,3 +1,16 @@ +// Copyright (c) 2025 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + // clang-format off // This file has been automatically generated from resource file resources/Shaders/TangentSpaceNormal.glsl diff --git a/src/Visualization/TKV3d/TKV3d_pch.hxx b/src/Visualization/TKV3d/TKV3d_pch.hxx index 93ff979583..489ba3af3f 100644 --- a/src/Visualization/TKV3d/TKV3d_pch.hxx +++ b/src/Visualization/TKV3d/TKV3d_pch.hxx @@ -1,3 +1,16 @@ +// Copyright (c) 2025 OPEN CASCADE SAS +// +// This file is part of Open CASCADE Technology software library. +// +// This library is free software; you can redistribute it and/or modify it under +// the terms of the GNU Lesser General Public License version 2.1 as published +// by the Free Software Foundation, with special exception defined in the file +// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT +// distribution for complete text of the license and disclaimer of any warranty. +// +// Alternatively, this file may be used under the terms of Open CASCADE +// commercial license or contractual agreement. + #ifndef TKTKV3d_PCH_H #define TKTKV3d_PCH_H -- 2.39.5