Program Listing for File subblock_statistics_struct.h

Program Listing for File subblock_statistics_struct.h#

Return to documentation for file (inc/subblock_statistics_struct.h)

// SPDX-FileCopyrightText: 2025 Carl Zeiss Microscopy GmbH
//
// SPDX-License-Identifier: MIT

#pragma once

#include "misc_types.h"

#pragma pack(push, 4)

struct SubBlockStatisticsInterop
{
    std::int32_t sub_block_count;

    std::int32_t min_m_index;
    std::int32_t max_m_index;

    IntRectInterop bounding_box;

    IntRectInterop bounding_box_layer0;

    DimBoundsInterop dim_bounds;
};

struct SubBlockStatisticsInteropEx
{
    std::int32_t sub_block_count;
    std::int32_t min_m_index;
    std::int32_t max_m_index;
    IntRectInterop bounding_box;
    IntRectInterop bounding_box_layer0;
    DimBoundsInterop dim_bounds;

    std::int32_t number_of_per_scenes_bounding_boxes;
    BoundingBoxesInterop per_scenes_bounding_boxes[];
};

#pragma pack(pop)