]> OCCT Git - occt.git/commitdiff
Coding - Checking for copyright notice (#749)
authorPasukhin Dmitry <dpasukhi@opencascade.com>
Thu, 16 Oct 2025 17:39:56 +0000 (18:39 +0100)
committerGitHub <noreply@github.com>
Thu, 16 Oct 2025 17:39:56 +0000 (18:39 +0100)
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.

62 files changed:
.github/actions/clang-format-check/action.yml
.github/actions/scripts/validate-license.py [new file with mode: 0755]
adm/templates/header.in
src/ApplicationFramework/TKTObj/TObj/TObj_TObj_msg.pxx
src/DataExchange/TKDEIGES/TKDEIGES_pch.hxx
src/DataExchange/TKDESTEP/GTests/StepTransientReplacements_Test.cxx
src/DataExchange/TKDESTEP/StepFile/step.tab.cxx
src/DataExchange/TKDESTEP/StepFile/step.tab.hxx
src/DataExchange/TKDESTEP/TKDESTEP_pch.hxx
src/DataExchange/TKXSBase/TKXSBase_pch.hxx
src/DataExchange/TKXSBase/XSMessage/XSMessage_XSTEP_fr.pxx
src/DataExchange/TKXSBase/XSMessage/XSMessage_XSTEP_us.pxx
src/FoundationClasses/TKMath/GTests/Bnd_BoundSortBox_Test.cxx
src/FoundationClasses/TKMath/GTests/Bnd_Box_Test.cxx
src/FoundationClasses/TKMath/GTests/math_FunctionAllRoots_Test.cxx
src/FoundationClasses/TKMath/GTests/math_FunctionSetRoot_Test.cxx
src/FoundationClasses/TKMath/GTests/math_GaussLeastSquare_Test.cxx
src/FoundationClasses/TKMath/GTests/math_NewtonFunctionSetRoot_Test.cxx
src/FoundationClasses/TKMath/GTests/math_TrigonometricFunctionRoots_Test.cxx
src/FoundationClasses/TKMath/GTests/math_Uzawa_Test.cxx
src/FoundationClasses/TKMath/TKMath_pch.hxx
src/FoundationClasses/TKernel/GTests/OSD_PerfMeter_Test.cxx
src/FoundationClasses/TKernel/Quantity/Quantity_ColorTable.pxx
src/FoundationClasses/TKernel/TKernel_pch.hxx
src/FoundationClasses/TKernel/UnitsAPI/UnitsAPI_Units_dat.pxx
src/ModelingAlgorithms/TKBO/BOPAlgo/BOPAlgo_BOPAlgo_msg.pxx
src/ModelingAlgorithms/TKMesh/TKMesh_pch.hxx
src/ModelingAlgorithms/TKShHealing/GTests/ShapeAnalysis_CanonicalRecognition_Test.cxx
src/ModelingAlgorithms/TKShHealing/SHMessage/SHMessage_SHAPE_fr.pxx
src/ModelingAlgorithms/TKShHealing/SHMessage/SHMessage_SHAPE_us.pxx
src/ModelingData/TKBRep/TKBRep_pch.hxx
src/Visualization/TKOpenGl/Textures/Textures_EnvLUT.pxx
src/Visualization/TKService/Font/Font_DejavuSans_Latin_woff.pxx
src/Visualization/TKService/GTests/Graphic3d_BndBox_Test.cxx
src/Visualization/TKService/Shaders/Shaders_DeclarationsImpl_glsl.pxx
src/Visualization/TKService/Shaders/Shaders_Declarations_glsl.pxx
src/Visualization/TKService/Shaders/Shaders_Display_fs.pxx
src/Visualization/TKService/Shaders/Shaders_LightShadow_glsl.pxx
src/Visualization/TKService/Shaders/Shaders_PBRCookTorrance_glsl.pxx
src/Visualization/TKService/Shaders/Shaders_PBRDirectionalLight_glsl.pxx
src/Visualization/TKService/Shaders/Shaders_PBRDistribution_glsl.pxx
src/Visualization/TKService/Shaders/Shaders_PBREnvBaking_fs.pxx
src/Visualization/TKService/Shaders/Shaders_PBREnvBaking_vs.pxx
src/Visualization/TKService/Shaders/Shaders_PBRFresnel_glsl.pxx
src/Visualization/TKService/Shaders/Shaders_PBRGeometry_glsl.pxx
src/Visualization/TKService/Shaders/Shaders_PBRIllumination_glsl.pxx
src/Visualization/TKService/Shaders/Shaders_PBRPointLight_glsl.pxx
src/Visualization/TKService/Shaders/Shaders_PBRSpotLight_glsl.pxx
src/Visualization/TKService/Shaders/Shaders_PathtraceBase_fs.pxx
src/Visualization/TKService/Shaders/Shaders_PhongDirectionalLight_glsl.pxx
src/Visualization/TKService/Shaders/Shaders_PhongPointLight_glsl.pxx
src/Visualization/TKService/Shaders/Shaders_PhongShading_fs.pxx
src/Visualization/TKService/Shaders/Shaders_PhongShading_vs.pxx
src/Visualization/TKService/Shaders/Shaders_PhongSpotLight_glsl.pxx
src/Visualization/TKService/Shaders/Shaders_PointLightAttenuation_glsl.pxx
src/Visualization/TKService/Shaders/Shaders_RaytraceBase_fs.pxx
src/Visualization/TKService/Shaders/Shaders_RaytraceBase_vs.pxx
src/Visualization/TKService/Shaders/Shaders_RaytraceRender_fs.pxx
src/Visualization/TKService/Shaders/Shaders_RaytraceSmooth_fs.pxx
src/Visualization/TKService/Shaders/Shaders_SkydomBackground_fs.pxx
src/Visualization/TKService/Shaders/Shaders_TangentSpaceNormal_glsl.pxx
src/Visualization/TKV3d/TKV3d_pch.hxx

index bc90f88ba04668e85d7060cf01c5ae0abafb2ad8..99384c1cee67f369e68dc46ac848b598a2d3e23f 100644 (file)
@@ -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 (executable)
index 0000000..1c68390
--- /dev/null
@@ -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())
index ad257c450fcec1f431e3f6333f34e045086299f6..90d5f047ff8979fde124363ef3d13ecb4fbd8549 100644 (file)
@@ -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
index 66914ed4373e4b5311c5a1d531d997643adc57d9..087041c4f5b10098ebcfc774f933442831dc112e 100644 (file)
@@ -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
 
index f525f09bb6df68bbc2c4250d2d23eb58f354e5ad..0236bc96b8894414e60526f57592e8684c85790c 100644 (file)
@@ -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
 
index 5f6e62e12649aceb4da63cdd27368e37145e945c..58d53908db0f194058f1d88bf5c303aecc012253 100644 (file)
@@ -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 <gtest/gtest.h>
 
 #include <Standard_Transient.hxx>
index 7e226314e58d952fae460276c65ba523d92f3b58..23ecce53056f1ddc2d33c4e6691babb84212ce29 100644 (file)
@@ -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++
index fa023aad4b25d056c581ebacedb06bc431373a75..4e01c413a27f21d4480447f8874a463b32dd6b5b 100644 (file)
@@ -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++
index 49d7770cb16e6ddd8ef23489e8d20c3ed23e1cfe..bc0b27f834ca82b930f18cf66313ec2998045f51 100644 (file)
@@ -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
 
index ef4295daf85014528ddf18bb4e150180f4758a96..1a3a368c64b50fe15ce7bc610bd9c367705a2f6b 100644 (file)
@@ -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
 
index 6ec91384abd89dc5797939ec94b237614a6a3232..18aca45757d96704963f7b90e487902076997f92 100644 (file)
@@ -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
 
index dbff675364f77f6db0ff99b4c53139bd517b0608..110f6c45b184b56be5fd77a8e039f73929f4cff6 100644 (file)
@@ -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
 
index 309957b37818a533828f79011190615abade9915..0eb33950cae01568d0442ca6bbfecec2ad074701 100644 (file)
@@ -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 <gtest/gtest.h>
 
 #include <Bnd_BoundSortBox.hxx>
index 50fe1c7b4d41a34e1ed5536a753da2508011b9d4..7b4900bc0880d41f6d4a83106a493ab7539f76fe 100644 (file)
@@ -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 <gtest/gtest.h>
 
 #include <Bnd_Box.hxx>
index cff5f1422815ccc24a12f88be9a2419fefd5dd4d..ce5363ee50acc21b5d366c973018262828476e47 100644 (file)
@@ -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 <gtest/gtest.h>
 #include <math_FunctionAllRoots.hxx>
index 72626ffd16e7322683c9097c5be6ea13c431f929..238691fa68237de50aab112f17ba203bda6b28de 100644 (file)
@@ -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 <gtest/gtest.h>
 #include <math_FunctionSetRoot.hxx>
index 8b02da108c6a62785fc6fb87b98d4c57388a0cf4..347ed76efc759be518e56f47012ea4c9efb862ec 100644 (file)
@@ -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 <gtest/gtest.h>
 #include <math_GaussLeastSquare.hxx>
index ee4f3390896029d1e970a83a88454d8e592598eb..8bca08a4518158d64d65a8af37d5934c70c916ab 100644 (file)
@@ -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 <gtest/gtest.h>
 #include <math_NewtonFunctionSetRoot.hxx>
index b50cdadd53eac57bdf4dd89b2de4742d0731242b..a71860f496b66f505099b05cd31a423e7a8ae1e4 100644 (file)
@@ -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 <gtest/gtest.h>
 #include <math_TrigonometricFunctionRoots.hxx>
index 7b03d7e102bd2cd34a8af6c7711ecdc6b6acf21c..5d1e5a6883e9cad4e84344121b53c145be8a70e3 100644 (file)
@@ -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 <gtest/gtest.h>
 #include <math_Uzawa.hxx>
index c9ae8cd7d6f7aa90bfee4a1b87dcf27013d7267d..1da6e06e44f89952b0714b768f8e9bb2116b7f60 100644 (file)
@@ -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
 
index b929964ed6e9d5707b7704b60a2a4e0801cb52e7..ab7f481a8b21fc587910e85eb2d73dcfc3f6eb7e 100644 (file)
@@ -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 <gtest/gtest.h>
 #include <OSD_PerfMeter.hxx>
 #include <TCollection_AsciiString.hxx>
index 1b93f979d777ad40e215e665444c5bab268f0407..5a16529d5f2f085db03787baa94ec3cf3552d747 100644 (file)
@@ -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,
index 7f72876c124f90c9f0db941d9a2c51ec1afba17a..10d460ba4f5e156969997fd5d0484db2b7aead0f 100644 (file)
@@ -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
 
index dbb81af97b76a1693996c6413f941fd6d8ce30f3..45ea346d55bb859064b4d20a722241aaf90405a3 100644 (file)
@@ -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
 
index 3e37abe49dc428daa5b50144502d7e8dd0698938..dbe124cb3098c2999e0ee9c6d7ec7a03c229b65e 100644 (file)
@@ -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
 
index ffd99b74a8e61c99e9ce86cd6c062eca183f33ac..23838b36c98e19b2ecba1a4994088654b8bdc35d 100644 (file)
@@ -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
 
index d6844824297f4f0c9ca84b3966a9a626b84c384e..f19720ceb91a165ae5b963de7cd67b85b8a0a06e 100644 (file)
@@ -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 <gtest/gtest.h>
 
 #include <memory>
index 448ae43aa7d43281937e4b0202de5e6d910f5e4d..6069d019aad7b9ff483884575cf71536ac455c9e 100644 (file)
@@ -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
 
index 014d9abacb49dcfa26c301a80df45cdb37537c0a..c4863ff4bdfb4f875b3761fa7f4230286625339f 100644 (file)
@@ -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
 
index 341ed29b7a67178acfe0d4e39b044862916c3c8b..1cb17d317afd74e80e0b9b18bb8998d83a50edf1 100644 (file)
@@ -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
 
index 33eeadbf780f3a4a72e05784e84d558f4c906184..f3d094564dfa641a1337bcb2fe492ed0ca3b1411 100644 (file)
@@ -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;
 
index 754021fb65055c6179f89b014a2ce890ffedb82f..70153c7db0b752be388ad40f5c76d103532bcbcd 100644 (file)
@@ -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.
 //!
index 619eb27892511ee55e841f49775a6ac4923fc03c..e5b44b8b3f3be67975431e5cfcbdcbfca6f4326f 100644 (file)
@@ -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 <gtest/gtest.h>
 
 #include <gp_Trsf.hxx>
index 744d1bc0af7f94f488f44ba0476813c136d6ad96..46f12a5f8cd59b3f947e616b032bf09a3edffca5 100644 (file)
@@ -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
 
index 5c1a015e8a87daf376ea78f8646427788c86a5a5..ac8a203535fe5224e4b09b0d70af2a76142f541a 100644 (file)
@@ -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
 
index 7e3fa3e975f28196b13468cd32425dc5b43838fa..0871d56a415445dffe6afdbde15bd2500ac4131e 100644 (file)
@@ -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
 
index 4eb79324c30a1a5562b818691fa994152d065273..38607b01ecdc70576b7c60df3151e80d41b0fc41 100644 (file)
@@ -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
 
index 2d407611ff06b14dd5cd3c0f635cf8d1cc08ef53..a0c24e2512e46c686a7ce1cbf7f86711ff7294b8 100644 (file)
@@ -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
 
index 087037367aceb52704888c3f0cf408cae1531c6b..d348408dbb46a8ea478f325b1b244f932136cf37 100644 (file)
@@ -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
 
index 4b248c7fbf385dc6c73a812cdebe6faa89e1f210..5f6d525952332edc6bf8d847de5263b15ba3cfbe 100644 (file)
@@ -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
 
index 4b9d0aa1d849a89c7d8798b2ac07cf1dc65f1074..0ba0bd76568cadc7dbd7fae32d6dd1a400ddaffe 100644 (file)
@@ -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
 
index fc19e3f20e797da0526169bfdf0b335d8efd4229..4fad07872e7ff283f5f48300175d7bf99379973d 100644 (file)
@@ -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
 
index 65c6507ac11d885dd25e51ac94a90d29014ef56d..b3e0a655267360b65c50e1d0de2a01ec71e09b9f 100644 (file)
@@ -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
 
index 0846abce1cd404df309625a88067997e3388649c..b7c303a0e10d4e04957a2b78cd813ad0210dcfe8 100644 (file)
@@ -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
 
index 1e273a2c8a2c217c301699bc435406b7ccd4be7c..cd2d988d5b8c4d4041812311dfbaa7c5a095535c 100644 (file)
@@ -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
 
index a76cf24cc6416a8e97e287c2a84ef7f5f240aef5..c479376a61e7c3df96a26b51861662bf7da3e9f9 100644 (file)
@@ -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
 
index d933cf266f3f47799eb19d02769283a1b9ee4b00..a0cfdd7e76455281f2604bc82ed02b67d05a652f 100644 (file)
@@ -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
 
index 349965dc119dc47d2602df2d0c6303c64f5bc5dd..d57b60ae6859e6f64640d5735e1dda94f57eb996 100644 (file)
@@ -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
 
index 849011b4af96883054c30fb76574f6d747d9d897..520628b65b6b985d4d859e1251558d64caf50f73 100644 (file)
@@ -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
 
index 992abb112090392e14e32d0ffa94b2878486b112..e77762de810d875ca6a13d564cac1172810a511a 100644 (file)
@@ -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
 
index b08dc38a7079a8fb7b1c732fa55c4a75d3d2e766..26cf8f97398230dde97e964ce3987288264bdcf7 100644 (file)
@@ -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
 
index fcae9f9a9dce0da4c2a8890211ec6b35bfcfa5b8..0abac3ba50637bdece707304e5461f2150b258f6 100644 (file)
@@ -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
 
index 2888ea1de3fd68ca21edaee92cc73484dcc2c536..b98301e98704bd652e1d23ce7886d15078a826e0 100644 (file)
@@ -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
 
index a43155764712ce13c3f94404e97be42ac16e12b6..f53bd3207244b1fb834dc0073224e3902b0489a5 100644 (file)
@@ -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
 
index 783392cf2daffcde40b164a25fef95e57ef2d6c3..779350f815033a25d886dfbdf46a733824e56c31 100644 (file)
@@ -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
 
index bbbf228b44bcc9f1ceafad1a0a56f54b31ad7ce7..c395bec4d93891f2f7e90f6d070fde20bd7916ed 100644 (file)
@@ -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
 
index d627cfc242e4e25810609f5f1ee26aa31ae85dd5..2eb114f99127fa5d90e5efab2a140f146fffc52a 100644 (file)
@@ -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
 
index 7f6ac119ae35c43820e5d2c3722f2aa06a46b901..f519e1ae94a068c210868c75502e57c2e4e88c66 100644 (file)
@@ -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
 
index b28bfe1de92aec0e711b4644bf8a0dc31d397292..f20c975837016c12026cafd141732592344a3581 100644 (file)
@@ -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
 
index da39526fa8a18d5645598a17aa291ddbf5a671a6..5d6d407be1a524e938c1a4e77776877eb773f2c2 100644 (file)
@@ -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
 
index 93ff979583dec482469a05fea27556a7390d46df..489ba3af3feeb45294f8551e07a6b727d4749634 100644 (file)
@@ -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