visualization.system.mirror

Mirror Visualization Module

This module contains the Mirror3D class, which is used to visualize a 3D mirror surface.

Kramer Harrison, 2024

Classes

Mirror3D(surface, extent)

A class used to represent a 3D Mirror surface.

class Mirror3D(surface, extent)[source]

A class used to represent a 3D Mirror surface. Inherits from Surface3D.

Parameters:
  • surface (Surface) – The mirror surface to be plotted.

  • extent (tuple) – The extent of the mirror surface in the x and y directions.

_configure_material(actor)[source]

Configures the material properties of the mirror surface.

get_surface(theme=None)

Retrieves the surface actor based on the symmetry of the surface geometry.

If the surface geometry is symmetric, it retrieves a symmetric surface actor. Otherwise, it retrieves an asymmetric surface actor.

Returns:

The surface actor, either symmetric or asymmetric, based on

the surface geometry.

Return type:

actor

plot(renderer, theme=None, *args, **kwargs)

Plots the surface on the given renderer.

Parameters:
  • renderer (vtkRenderer) – The renderer to which the surface actor will be added.

  • theme (Theme, optional) – The theme to use for plotting. Defaults to None.