Navigation: Scripting Reference Manual > Functions & Subroutines > AddBirefringentMaterial

 

AddBirefringentMaterial

 

Contact Us: fredsupport@photonengr.com

 

Description

Adds a sampled birefringent material with parameters defined at one wavelength.

 

Syntax

id = AddBirefringentMaterial ( name, desc, sample )

 

Parameters

id (Long)

Identifier of the new birefringent material.

 

name As String

Name of the new birefringent material.

 

desc As String

Description of the new birefringent material.

 

sample As T_BIREFSAMPLE

A T_BIREFSAMPLE structure containing birefringent material parameters.

 

 

Remarks

This function adds a sampled birefringent material, with parameters defined at one wavelength. Wavelength is added through the T_BIREFSAMPLE structure. Parameter values for other wavelengths can be appended using the routines below. The crystal axis is initialized to be along Z. It can be changed using the SetBirefringentMaterialCrystalAxis routine.

 

See Also

T_BIREFSAMPLE

SetIthBirefringentMaterialSample

AppendBirefringentMaterialSample

RemoveIthBirefringentMaterialSample

GetIthBirefringentMaterialSample

GetBirefringentMaterialCrystalAxes

SetBirefringentMaterialCrystalAxes

Examples

Materials

 

 

 

 

 

Copyright © Photon Engineering, LLC