
    pj                     4    d dl mZ d dlmZ d dlmZ d Zd Zy)   )
class_name)reference_id)cache_propertiesc                     | dk(  ry| dk(  ryy)z
    #define VTK_LIGHT_TYPE_HEADLIGHT    1
    #define VTK_LIGHT_TYPE_CAMERA_LIGHT 2
    #define VTK_LIGHT_TYPE_SCENE_LIGHT  3

    'HeadLight';
    'SceneLight';
    'CameraLight'
    r   	HeadLight   CameraLight
SceneLight )values    U/DATA/.local/lib/python3.12/site-packages/trame_vtk/modules/vtk/serializers/lights.pylight_type_to_stringr      s     z	!    c                    t        |       |t        |      t        |||j                         |j	                         |j                         |j                         |j                         |j                         |j                         |j                         |j                         t        |j                               |j                         d      dS )N)switch	intensitycolorposition
focalPoint
positionalexponent	coneAngleattenuationValues	lightTypeshadowAttenuation)parentidtype
properties)r   r   r   	GetSwitchGetIntensityGetDiffuseColorGetPositionGetFocalPointGetPositionalGetExponentGetConeAngleGetAttenuationValuesr   GetLightTypeGetShadowAttenuation)r   instanceobj_idcontextdepths        r   light_serializerr/      s    v&8$& #,,.%224!113$002&446&446$002%224%-%B%B%D1(2G2G2IJ%-%B%B%D
	 r   N)registryr   utilsr   cacher   r   r/   r   r   r   <module>r3      s       #$r   