.. oe:namespace:: OEShape

.. meta::
   :keywords: OEAnalyticColorFunc, AnalyticColorFunc


.. _OEShape_OEAnalyticColorFunc:

.. oe:class:: OEAnalyticColorFunc

   .. oe:api::


      class OEAnalyticColorFunc : public OEShapeFunc

   The :ref:`OEAnalyticColorFunc <OEShape_OEAnalyticColorFunc>` class defines color overlap between a reference
   object and a fit molecule, using the *Analytic* method.

   .. _figure_OEAnalyticColorFunc_Hierarchy:

   .. figure:: ../images/OEAnalyticColorFunc.*
      :align:  center

   The following methods are publicly inherited from :ref:`OEFunc0 <OEOpt_OEFunc0>`:
    * :oe:meth:`operator()<OEOpt::OEFunc0::operator()>`         
    * :oe:meth:`GetFComponents<OEOpt::OEFunc0::GetFComponents>` 
    * :oe:meth:`NumVar<OEOpt::OEFunc0::NumVar>`

   The following methods are publicly inherited from :ref:`OEFunc1 <OEOpt_OEFunc1>`:
    * :oe:meth:`operator()<OEOpt::OEFunc1::operator()>`
   
   The following methods are publicly inherited from :ref:`OEMolFunc <OEMolPotential_OEMolFunc>`:
    * :oe:meth:`GetInteractions<OEMolPotential::OEMolFunc::GetInteractions>`  
    * :oe:meth:`Setup<OEMolPotential::OEMolFunc::Setup>`

   The following methods are publicly inherited from :ref:`OEOverlapFuncBase <OEShape_OEOverlapFuncBase>`:
    * :oe:meth:`Overlap<OEShape::OEOverlapFuncBase::Overlap>`
    * :oe:meth:`SetupFlex<OEShape::OEOverlapFuncBase::SetupFlex>`
    * :oe:meth:`SetupRef<OEShape::OEOverlapFuncBase::SetupRef>`

   The following methods are publicly inherited from :ref:`OEColorFunc <OEShape_OEColorFunc>`:
    * :oe:meth:`GetColorOptions<OEShape::OEColorFunc::GetColorOptions>`

   The :ref:`OEAnalyticColorFunc <OEShape_OEAnalyticColorFunc>` class defines the following public methods:
    * :oe:meth:`GetAnalyticOptions<OEShape::OEAnalyticColorFunc::GetAnalyticOptions>`

   .. oe:method:: Constructors

      .. oe:language:: c++ java csharp

         .. oe:api::

            OEAnalyticColorFunc(const OEColorOptions& argOptions = OEColorOptions())
            OEAnalyticColorFunc(const OEAnalyticOptions&)
            OEAnalyticColorFunc(const OEColorOptions& argColor,
                                const OEAnalyticOptions& argAnalytic)
            OEAnalyticColorFunc(const OEAnalyticColorFunc&)

      .. oe:language:: python

         .. oe:api:: python

            OEAnalyticColorFunc(argOptions: OEColorOptions = OEColorOptions()) -> OEAnalyticColorFunc
            OEAnalyticColorFunc(argOptions: OEAnalyticOptions) -> OEAnalyticColorFunc
            OEAnalyticColorFunc(argColor: OEColorOptions,
                                argAnalytic: OEAnalyticOptions) -> OEAnalyticColorFunc
            OEAnalyticColorFunc(argFunc: OEAnalyticColorFunc) -> OEAnalyticColorFunc

      Default and copy constructors.

      Constructs an :ref:`OEAnalyticColorFunc <OEShape_OEAnalyticColorFunc>` instance using the specified set of parameters.

   .. oe:method:: operator=
      :language: c++

      .. oe:api::

         OEAnalyticColorFunc &operator=(const OEAnalyticColorFunc &)

      The assignment operator.

      Assignment operator.


   .. oe:method:: GetAnalyticOptions

      .. oe:language:: c++ java csharp

         .. oe:api::

            const OEAnalyticOptions& GetAnalyticOptions() const

      .. oe:language:: python

         .. oe:api:: python

            GetAnalyticOptions() -> OEAnalyticOptions

      Returns a reference to the :ref:`OEAnalyticOptions <OEShape_OEAnalyticOptions>`
      instance as currently set for this :ref:`OEAnalyticColorFunc <OEShape_OEAnalyticColorFunc>`.
