///
/// HybridFaceSpec.hpp
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
/// https://github.com/mrousavy/nitro
/// Copyright © Marc Rousavy @ Margelo
///

#pragma once

#if __has_include(<NitroModules/HybridObject.hpp>)
#include <NitroModules/HybridObject.hpp>
#else
#error NitroModules cannot be found! Are you sure you installed NitroModules properly?
#endif

// Forward declaration of `Landmarks` to properly resolve imports.
namespace margelo::nitro::camera::facedetector { struct Landmarks; }
// Forward declaration of `Contours` to properly resolve imports.
namespace margelo::nitro::camera::facedetector { struct Contours; }
// Forward declaration of `Bounds` to properly resolve imports.
namespace margelo::nitro::camera::facedetector { struct Bounds; }

#include "Landmarks.hpp"
#include <optional>
#include "Contours.hpp"
#include "Bounds.hpp"

namespace margelo::nitro::camera::facedetector {

  using namespace margelo::nitro;

  /**
   * An abstract base class for `Face`
   * Inherit this class to create instances of `HybridFaceSpec` in C++.
   * You must explicitly call `HybridObject`'s constructor yourself, because it is virtual.
   * @example
   * ```cpp
   * class HybridFace: public HybridFaceSpec {
   * public:
   *   HybridFace(...): HybridObject(TAG) { ... }
   *   // ...
   * };
   * ```
   */
  class HybridFaceSpec: public virtual HybridObject {
    public:
      // Constructor
      explicit HybridFaceSpec(): HybridObject(TAG) { }

      // Destructor
      ~HybridFaceSpec() override = default;

    public:
      // Properties
      virtual std::optional<Landmarks> getLandmarks() = 0;
      virtual std::optional<Contours> getContours() = 0;
      virtual Bounds getBounds() = 0;
      virtual std::optional<double> getLeftEyeOpenProbability() = 0;
      virtual std::optional<double> getRightEyeOpenProbability() = 0;
      virtual std::optional<double> getSmilingProbability() = 0;
      virtual std::optional<double> getTrackingId() = 0;
      virtual double getPitchAngle() = 0;
      virtual double getRollAngle() = 0;
      virtual double getYawAngle() = 0;

    public:
      // Methods
      

    protected:
      // Hybrid Setup
      void loadHybridMethods() override;

    protected:
      // Tag for logging
      static constexpr auto TAG = "Face";
  };

} // namespace margelo::nitro::camera::facedetector
