SMILX
1.01
|
Members for operating of model scalars/arrays, modifies internal polydata. More...
Functions | |
void | milx::Model::ResetScalars () |
Resets the scalars to zero of the current model. More... | |
void | milx::Model::FillScalars (const coordinateType value) |
Sets all the scalars of the current model to value. More... | |
static void | milx::Model::ClearScalars (vtkSmartPointer< vtkPolyData > &mesh) |
Removes all the scalars from the current model. More... | |
static void | milx::Model::ClearArrays (vtkSmartPointer< vtkPolyData > &mesh) |
Removes all the arrays from the current model. More... | |
void | milx::Model::RemoveScalars () |
Removes all the scalars from the current model. Same as ClearScalars() | |
void | milx::Model::RemoveArrays () |
Removes all the arrays from the current model. Same as ClearArrayss() | |
static void | milx::Model::ScalarDifference (vtkSmartPointer< vtkPolyData > model1, vtkSmartPointer< vtkPolyData > model2, vtkSmartPointer< vtkPolyData > result) |
Calculates differences within scalars of two meshes assuming the meshes have the same number of points. More... | |
static void | milx::Model::ThresholdScalars (vtkSmartPointer< vtkPolyData > model, const coordinateType aboveVal, const coordinateType belowVal, const coordinateType outsideVal) |
Thresholds scalar values of mesh in place. More... | |
static void | milx::Model::BinaryThresholdScalars (vtkSmartPointer< vtkPolyData > model, const coordinateType aboveVal, const coordinateType belowVal, const coordinateType insideVal=1.0, const coordinateType outsideVal=0.0) |
Thresholds scalar values of mesh in place. Scalars outside the given range is set to outsideVal and scalars inside the range set to insideVal. More... | |
static void | milx::Model::MaskScalars (vtkSmartPointer< vtkPolyData > model1, vtkSmartPointer< vtkPolyData > model2) |
Masks the scalars in model1 with scalars in model2. Only values corresponding to >= 1 in model2 are kept in model1. | |
Members for operating of model scalars/arrays, modifies internal polydata.
|
static |
Thresholds scalar values of mesh in place. Scalars outside the given range is set to outsideVal and scalars inside the range set to insideVal.
Note: Does not keep track of Previous Result. Setting insideVal = outsideVal retains scalar values within the range.
Definition at line 1551 of file milxModel.cxx.
|
inlinestatic |
Removes all the arrays from the current model.
Note: Does not keep track of Previous Result. Use RemoveArrays() instead.
Strip existing scalars/vectors
Definition at line 591 of file milxModel.h.
|
static |
Removes all the scalars from the current model.
Note: Does not keep track of Previous Result. Use RemoveScalars() instead.
Strip existing scalars
Definition at line 246 of file milxModel.cxx.
void milx::Model::FillScalars | ( | const coordinateType | value | ) |
Sets all the scalars of the current model to value.
Note: Does not keep track of Previous Result.
Definition at line 231 of file milxModel.cxx.
void milx::Model::ResetScalars | ( | ) |
Resets the scalars to zero of the current model.
Note: Does not keep track of Previous Result.
Definition at line 226 of file milxModel.cxx.
|
static |
Calculates differences within scalars of two meshes assuming the meshes have the same number of points.
Note: Does not keep track of Previous Result.
Definition at line 1530 of file milxModel.cxx.
|
static |
Thresholds scalar values of mesh in place.
Note: Does not keep track of Previous Result.
Definition at line 1546 of file milxModel.cxx.