Show / Hide Table of Contents

    Class ArucoCameraParametersController

    Editor controller for CameraParameters.

    Inheritance
    Object
    ArucoCameraParametersController
    Implements
    IHasArucoCameraParameters
    Namespace: ArucoUnity.Cameras.Parameters
    Assembly: Assembly-CSharp.dll
    Syntax
    public class ArucoCameraParametersController : MonoBehaviour, IHasArucoCameraParameters

    Fields

    | Improve this Doc View Source

    CameraParametersFolderPath

    The folder where to load and save the CameraParameters files, relative to .

    Declaration
    protected const string CameraParametersFolderPath = "ArucoUnity"
    Field Value
    Type Description
    String
    | Improve this Doc View Source

    cameraParametersPath

    Declaration
    protected string cameraParametersPath
    Field Value
    Type Description
    String

    Properties

    | Improve this Doc View Source

    AutoLoadFile

    Gets or sets if automatically Load() at Awake().

    Declaration
    public bool AutoLoadFile { get; set; }
    Property Value
    Type Description
    Boolean
    | Improve this Doc View Source

    CameraParameters

    Gets or sets the CameraParameters.

    Declaration
    public ArucoCameraParameters CameraParameters { get; set; }
    Property Value
    Type Description
    ArucoCameraParameters
    | Improve this Doc View Source

    CameraParametersFilename

    Gets or sets the xml file corresponding to the CameraParameters, relative to CameraParametersFolderPath.

    Declaration
    public string CameraParametersFilename { get; set; }
    Property Value
    Type Description
    String

    Methods

    | Improve this Doc View Source

    Awake()

    Calls Load() if AutoLoadFile is true.

    Declaration
    protected virtual void Awake()
    | Improve this Doc View Source

    Initialize(Int32)

    Initializes CameraParameters with ArucoCameraParameters(Int32)

    Declaration
    public virtual void Initialize(int cameraNumber)
    Parameters
    Type Name Description
    Int32 cameraNumber

    The number of cameras in the calibrated camera system.

    | Improve this Doc View Source

    Load()

    Initializes CameraParameters with LoadFromXmlFile(String).

    Declaration
    public virtual void Load()
    | Improve this Doc View Source

    Save()

    Calls SaveToXmlFile(String). Creates before the CameraParametersFolderPath folder before if necessary.

    Declaration
    public virtual void Save()

    Implements

    IHasArucoCameraParameters
    • Improve this Doc
    • View Source
    Back to top Aruco Unity - Erwan Normand