Section: Visualization Toolkit Graphics Classes
.SECTION Thanks This file is part of the generalized Youngs material interface reconstruction algorithm contributed by <br> CEA/DIF - Commissariat a l'Energie Atomique, Centre DAM Ile-De-France <br> BP12, F-91297 Arpajon, France. <br> Implementation by Thierry Carrard (thierry.carrard@cea.fr)
To create an instance of class vtkYoungsMaterialInterface, simply invoke its constructor as follows
obj = vtkYoungsMaterialInterface
obj
is an instance of the vtkYoungsMaterialInterface class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkYoungsMaterialInterface = obj.NewInstance ()
vtkYoungsMaterialInterface = obj.SafeDownCast (vtkObject o)
obj.SetInverseNormal (int )
- Set/Get wether the normal vector has to be flipped.
int = obj.GetInverseNormal ()
- Set/Get wether the normal vector has to be flipped.
obj.InverseNormalOn ()
- Set/Get wether the normal vector has to be flipped.
obj.InverseNormalOff ()
- Set/Get wether the normal vector has to be flipped.
obj.SetReverseMaterialOrder (int )
- If this flag is on, material order in reversed.
Otherwise, materials are sorted in ascending order depending on the given ordering array.
int = obj.GetReverseMaterialOrder ()
- If this flag is on, material order in reversed.
Otherwise, materials are sorted in ascending order depending on the given ordering array.
obj.ReverseMaterialOrderOn ()
- If this flag is on, material order in reversed.
Otherwise, materials are sorted in ascending order depending on the given ordering array.
obj.ReverseMaterialOrderOff ()
- If this flag is on, material order in reversed.
Otherwise, materials are sorted in ascending order depending on the given ordering array.
obj.SetOnionPeel (int )
- Set/Get OnionPeel flag. if this flag is on, the normal vector of the first
material (which depends on material ordering) is used for all materials.
int = obj.GetOnionPeel ()
- Set/Get OnionPeel flag. if this flag is on, the normal vector of the first
material (which depends on material ordering) is used for all materials.
obj.OnionPeelOn ()
- Set/Get OnionPeel flag. if this flag is on, the normal vector of the first
material (which depends on material ordering) is used for all materials.
obj.OnionPeelOff ()
- Set/Get OnionPeel flag. if this flag is on, the normal vector of the first
material (which depends on material ordering) is used for all materials.
obj.SetAxisSymetric (int )
- Turns on/off AxisSymetric computation of 2D interfaces.
in axis symetric mode, 2D meshes are understood as volumes of revolution.
int = obj.GetAxisSymetric ()
- Turns on/off AxisSymetric computation of 2D interfaces.
in axis symetric mode, 2D meshes are understood as volumes of revolution.
obj.AxisSymetricOn ()
- Turns on/off AxisSymetric computation of 2D interfaces.
in axis symetric mode, 2D meshes are understood as volumes of revolution.
obj.AxisSymetricOff ()
- Turns on/off AxisSymetric computation of 2D interfaces.
in axis symetric mode, 2D meshes are understood as volumes of revolution.
obj.SetUseFractionAsDistance (int )
- when UseFractionAsDistance is true, the volume fraction is interpreted as the distance
of the cutting plane from the origin.
in axis symetric mode, 2D meshes are understood as volumes of revolution.
int = obj.GetUseFractionAsDistance ()
- when UseFractionAsDistance is true, the volume fraction is interpreted as the distance
of the cutting plane from the origin.
in axis symetric mode, 2D meshes are understood as volumes of revolution.
obj.UseFractionAsDistanceOn ()
- when UseFractionAsDistance is true, the volume fraction is interpreted as the distance
of the cutting plane from the origin.
in axis symetric mode, 2D meshes are understood as volumes of revolution.
obj.UseFractionAsDistanceOff ()
- when UseFractionAsDistance is true, the volume fraction is interpreted as the distance
of the cutting plane from the origin.
in axis symetric mode, 2D meshes are understood as volumes of revolution.
obj.SetFillMaterial (int )
- When FillMaterial is set to 1, the volume containing material is output and not only the interface surface.
int = obj.GetFillMaterial ()
- When FillMaterial is set to 1, the volume containing material is output and not only the interface surface.
obj.FillMaterialOn ()
- When FillMaterial is set to 1, the volume containing material is output and not only the interface surface.
obj.FillMaterialOff ()
- When FillMaterial is set to 1, the volume containing material is output and not only the interface surface.
obj.SetTwoMaterialsOptimization (int )
- Triggers some additional optimizations for cells containing only two materials. This option might produce different result than expected if the sum of volume fractions is not 1.
int = obj.GetTwoMaterialsOptimization ()
- Triggers some additional optimizations for cells containing only two materials. This option might produce different result than expected if the sum of volume fractions is not 1.
obj.TwoMaterialsOptimizationOn ()
- Triggers some additional optimizations for cells containing only two materials. This option might produce different result than expected if the sum of volume fractions is not 1.
obj.TwoMaterialsOptimizationOff ()
- Triggers some additional optimizations for cells containing only two materials. This option might produce different result than expected if the sum of volume fractions is not 1.
obj.SetVolumeFractionRange (double , double )
- Set/Get minimum and maximum volume fraction value. if a material fills a volume above the minimum value, the material is considered to be void. if a material fills a volume fraction beyond the maximum value it is considered as filling the whole volume.
obj.SetVolumeFractionRange (double a[2])
- Set/Get minimum and maximum volume fraction value. if a material fills a volume above the minimum value, the material is considered to be void. if a material fills a volume fraction beyond the maximum value it is considered as filling the whole volume.
double = obj. GetVolumeFractionRange ()
- Set/Get minimum and maximum volume fraction value. if a material fills a volume above the minimum value, the material is considered to be void. if a material fills a volume fraction beyond the maximum value it is considered as filling the whole volume.
obj.SetNumberOfMaterials (int n)
- Sets/Gets the number of materials.
int = obj.GetNumberOfMaterials ()
- Sets/Gets the number of materials.
obj.SetMaterialArrays (int i, string volumeFraction, string interfaceNormal, string materialOrdering)
- Set ith Material arrays to be used as volume fraction, interface normal and material ordering. Each parameter name a cell array.
obj.SetMaterialVolumeFractionArray (int i, string volume)
- Set ith Material arrays to be used as volume fraction, interface normal and material ordering. Each parameter name a cell array.
obj.SetMaterialNormalArray (int i, string normal)
- Set ith Material arrays to be used as volume fraction, interface normal and material ordering. Each parameter name a cell array.
obj.SetMaterialOrderingArray (int i, string ordering)
- Set ith Material arrays to be used as volume fraction, interface normal and material ordering. Each parameter name a cell array.
obj.RemoveAllMaterials ()
- Removes all meterials previously added.