Skip to main content

optiSLang 3D Postprocessing Script API 2024 R2 SP02

AllRenderData Class Reference

Last update: 16.07.2025

collects all data source settings for all possible combinations: More...

Public Member Functions

 AllRenderData ()
 constructor
 
DataObjectPtr computeContourElement (Matrix input_values, Structure database)
 
DataObjectPtr computeContourNode (Matrix input_values, Structure database)
 
Matrix computeCoordinates (Matrix input_values, Structure database)
 
bool hasContourElement ()
 
bool hasContourNode ()
 
bool hasFieldDataAssignedToMeshMorphingModes ()
 
std::vector< string > inputIdents ()
 
Matrix inputLowerBounds ()
 
Matrix inputUpperBounds ()
 
number numInputs () const
 
 update (Structure database)
 updates all data More...
 

Public Attributes

RenderData contour_plot
 render source for contour plot
 
number geometric_scaling
 scaling factor for geometric deviations (default: 1.0)
 
RenderData normal_displacement
 render source for normal displacement
 
bool use_mesh_stabilization
 use mesh stabilization (default: false)
 
RenderData x_coordinate
 render source for x coordinate
 
RenderData x_displacement
 render source for x displacement
 
RenderData y_coordinate
 render source for y coordinate
 
RenderData y_displacement
 render source for y displacement
 
RenderData z_coordinate
 render source for z coordinate
 
RenderData z_displacement
 render source for z displacement
 

Detailed Description

collects all data source settings for all possible combinations:

Member Function Documentation

◆ computeContourElement()

DataObjectPtr computeContourElement ( Matrix  input_values,
Structure  database 
)
Returns
the (approximated) ELEMENT_DATA contour data object
Parameters
input_valuesthe values of the input parameters, as column vector
databasethe SoS database

◆ computeContourNode()

DataObjectPtr computeContourNode ( Matrix  input_values,
Structure  database 
)
Returns
the (approximated) NODE_DATA contour data object
Parameters
input_valuesthe values of the input parameters, as column vector
databasethe SoS database

◆ computeCoordinates()

Matrix computeCoordinates ( Matrix  input_values,
Structure  database 
)
Returns
the node coordinates of the deformed geometry (with respect to totalIndexMapper; 3 rows, N columns)
Parameters
input_valuesthe values of the input parameters, as column vector
databasethe SoS database

◆ hasContourElement()

bool hasContourElement ( )
Returns
true if this scene has a contour plot of type ELEMENT_DATA

◆ hasContourNode()

bool hasContourNode ( )
Returns
true if this scene has a contour plot of type NODE_DATA

◆ hasFieldDataAssignedToMeshMorphingModes()

bool hasFieldDataAssignedToMeshMorphingModes ( )
Returns
true, if field data was assigned t one of the mesh morphing feature

◆ inputIdents()

std::vector<string> inputIdents ( )
Returns
m_input_idents

◆ inputLowerBounds()

Matrix inputLowerBounds ( )
Returns
m_input_bounds_lower

◆ inputUpperBounds()

Matrix inputUpperBounds ( )
Returns
m_input_bounds_upper

◆ numInputs()

number numInputs ( ) const
Returns
the number of input parameters

◆ update()

update ( Structure  database)

updates all data

Parameters
databasethe SoS database
Note
This method must be called after changing one of the above items

Connect with Ansys