three.MF.V3.Settings.ScanData

 1from enum import Enum
 2from typing import List
 3
 4
 5class ScanData:
 6
 7    """
 8     Scan data request.
 9    """
10    class Buffer(Enum):
11
12        """
13         Scan buffer type.
14        """
15        Position = "Position"  # Vertex position.
16        Normal = "Normal"  # Vertex normal.
17        Color = "Color"  # Vertex color.
18        UV = "UV"  # Vertex UVs
19        Quality = "Quality"  # Vertex quality.
20        Triangle = "Triangle"  # Triangle index.
21        Texture = "Texture"  # Texture.
22        All = "All"  # All buffer types.
23
24    class Metadata(Enum):
25
26        """
27         Scan metadata type.
28        """
29        Mean = "Mean"  # The mean (centroid) of the vertex positions.
30        StdDev = "StdDev"  # The standard deviation of the vertex positions.
31        AxisAlignedBoundingBox = "AxisAlignedBoundingBox"  # The axis-aligned bounding box of the vertex positions.
32
33    class MergeStep(Enum):
34
35        """
36         The merge processing step.
37        """
38        Combined = "Combined"  # The scan meshes are simply combined into a single mesh.
39        Remeshed = "Remeshed"  # The combined mesh is remeshed to give a single geometric surface.
40        Simplified = "Simplified"  # The combined or remeshed mesh is simplified to a reduced number of triangles.
41        Textured = "Textured"  # The merged mesh has been textured.
42
43    def __init__(self, index: int, mergeStep: 'MergeStep' = None, buffers: List['Buffer'] = None, metadata: List['Metadata'] = None):
44        # Requested index of the scan in the current open project.
45        self.index = index
46        # The merge process step if requesting merge data.
47        self.mergeStep = mergeStep
48        # Requested scan buffers.
49        self.buffers = buffers
50        # Requested scan metadata.
51        self.metadata = metadata
class ScanData:
 6class ScanData:
 7
 8    """
 9     Scan data request.
10    """
11    class Buffer(Enum):
12
13        """
14         Scan buffer type.
15        """
16        Position = "Position"  # Vertex position.
17        Normal = "Normal"  # Vertex normal.
18        Color = "Color"  # Vertex color.
19        UV = "UV"  # Vertex UVs
20        Quality = "Quality"  # Vertex quality.
21        Triangle = "Triangle"  # Triangle index.
22        Texture = "Texture"  # Texture.
23        All = "All"  # All buffer types.
24
25    class Metadata(Enum):
26
27        """
28         Scan metadata type.
29        """
30        Mean = "Mean"  # The mean (centroid) of the vertex positions.
31        StdDev = "StdDev"  # The standard deviation of the vertex positions.
32        AxisAlignedBoundingBox = "AxisAlignedBoundingBox"  # The axis-aligned bounding box of the vertex positions.
33
34    class MergeStep(Enum):
35
36        """
37         The merge processing step.
38        """
39        Combined = "Combined"  # The scan meshes are simply combined into a single mesh.
40        Remeshed = "Remeshed"  # The combined mesh is remeshed to give a single geometric surface.
41        Simplified = "Simplified"  # The combined or remeshed mesh is simplified to a reduced number of triangles.
42        Textured = "Textured"  # The merged mesh has been textured.
43
44    def __init__(self, index: int, mergeStep: 'MergeStep' = None, buffers: List['Buffer'] = None, metadata: List['Metadata'] = None):
45        # Requested index of the scan in the current open project.
46        self.index = index
47        # The merge process step if requesting merge data.
48        self.mergeStep = mergeStep
49        # Requested scan buffers.
50        self.buffers = buffers
51        # Requested scan metadata.
52        self.metadata = metadata

Scan data request.

ScanData( index: int, mergeStep: ScanData.MergeStep = None, buffers: List[ScanData.Buffer] = None, metadata: List[ScanData.Metadata] = None)
44    def __init__(self, index: int, mergeStep: 'MergeStep' = None, buffers: List['Buffer'] = None, metadata: List['Metadata'] = None):
45        # Requested index of the scan in the current open project.
46        self.index = index
47        # The merge process step if requesting merge data.
48        self.mergeStep = mergeStep
49        # Requested scan buffers.
50        self.buffers = buffers
51        # Requested scan metadata.
52        self.metadata = metadata
index
mergeStep
buffers
metadata
class ScanData.Buffer(enum.Enum):
11    class Buffer(Enum):
12
13        """
14         Scan buffer type.
15        """
16        Position = "Position"  # Vertex position.
17        Normal = "Normal"  # Vertex normal.
18        Color = "Color"  # Vertex color.
19        UV = "UV"  # Vertex UVs
20        Quality = "Quality"  # Vertex quality.
21        Triangle = "Triangle"  # Triangle index.
22        Texture = "Texture"  # Texture.
23        All = "All"  # All buffer types.

Scan buffer type.

Position = <Buffer.Position: 'Position'>
Normal = <Buffer.Normal: 'Normal'>
Color = <Buffer.Color: 'Color'>
UV = <Buffer.UV: 'UV'>
Quality = <Buffer.Quality: 'Quality'>
Triangle = <Buffer.Triangle: 'Triangle'>
Texture = <Buffer.Texture: 'Texture'>
All = <Buffer.All: 'All'>
class ScanData.Metadata(enum.Enum):
25    class Metadata(Enum):
26
27        """
28         Scan metadata type.
29        """
30        Mean = "Mean"  # The mean (centroid) of the vertex positions.
31        StdDev = "StdDev"  # The standard deviation of the vertex positions.
32        AxisAlignedBoundingBox = "AxisAlignedBoundingBox"  # The axis-aligned bounding box of the vertex positions.

Scan metadata type.

Mean = <Metadata.Mean: 'Mean'>
StdDev = <Metadata.StdDev: 'StdDev'>
AxisAlignedBoundingBox = <Metadata.AxisAlignedBoundingBox: 'AxisAlignedBoundingBox'>
class ScanData.MergeStep(enum.Enum):
34    class MergeStep(Enum):
35
36        """
37         The merge processing step.
38        """
39        Combined = "Combined"  # The scan meshes are simply combined into a single mesh.
40        Remeshed = "Remeshed"  # The combined mesh is remeshed to give a single geometric surface.
41        Simplified = "Simplified"  # The combined or remeshed mesh is simplified to a reduced number of triangles.
42        Textured = "Textured"  # The merged mesh has been textured.

The merge processing step.

Combined = <MergeStep.Combined: 'Combined'>
Remeshed = <MergeStep.Remeshed: 'Remeshed'>
Simplified = <MergeStep.Simplified: 'Simplified'>
Textured = <MergeStep.Textured: 'Textured'>