X3DOMParameters¶
-
class
dolfin.cpp.io.X3DOMParameters¶ Bases:
objectClass data to store
X3DOMview parameters.Constructor (with default parameter settings)
-
Representation_surface= 0¶
-
Representation_surface_with_edges= 1¶
-
Representation_wireframe= 2¶
-
get_ambient_intensity()¶ Get the ambient lighting intensity.
Return type: double
-
get_background_color()¶ Get background RGB color.
Return type: std::array< double, 3 >
-
get_color_map()¶ Get the color map as a vector of 768 values (256*RGB) (using std::vector for Python compatibility via SWIG)
Return type: std::vector< double >
-
get_diffuse_color()¶ Get the RGB diffuse color of the object.
Return type: std::array< double, 3 >
-
get_emissive_color()¶ Get the RGB emissive color.
Return type: std::array< double, 3 >
Get the menu display state.
Return type: bool
-
get_representation()¶ Get the current representation of the object (wireframe, surface or surface_with_edges)
Return type: Representation
-
get_shininess()¶ Setthe surface shininess of the object.Return type: double
-
get_specular_color()¶ Get the RGB specular color.
Return type: std::array< double, 3 >
-
get_transparency()¶ Get the transparency (0-1)
Return type: double
-
get_viewport_size()¶ Get the size of the viewport.
Return type: std::array< double, 2 >
-
set_ambient_intensity()¶ Setthe ambient lighting intensity.Parameters: intensity (double) – Return type: void
-
set_background_color()¶ Setbackground RGB color.Parameters: double, 3 > rgb (std::array<) – Return type: void
-
set_color_map(colormap)¶
-
set_diffuse_color()¶ Setthe RGB color of the object.Parameters: double, 3 > rgb (std::array<) – Return type: void
-
set_emissive_color()¶ Setthe RGB emissive color.Parameters: double, 3 > rgb (std::array<) – Return type: void
Toggle menu option.
Parameters: show (bool) – Return type: void
-
set_representation()¶ Setrepresentation of object (wireframe, surface or surface_with_edges)Parameters: representation (Representation) – Return type: void
-
set_shininess()¶ Setthe surface shininess of the object.Parameters: shininess (double) – Return type: void
-
set_specular_color()¶ Setthe RGB specular color.Parameters: double, 3 > rgb (std::array<) – Return type: void
-
set_transparency()¶ Setthe transparency (0-1)Parameters: transparency (double) – Return type: void
-
thisown¶ The membership flag
-