SMILX
1.01
|
Members for model input/output. More...
Functions | |
void | milx::Model::AddInput (vtkSmartPointer< vtkPolyData > model) |
Assigns and coninually appends meshes provided to the class. | |
void | milx::Model::AddArray (vtkSmartPointer< vtkDataArray > array) |
Appends an array to the model. | |
void | milx::Model::SetInput (vtkSmartPointer< vtkPolyData > model) |
Assigns the input model to class. More... | |
void | milx::Model::SetInputData (vtkSmartPointer< vtkPolyData > model) |
Assigns the input model to class. Same as SetInput and meant for VTK version > 5. | |
void | milx::Model::SetTransform (vtkSmartPointer< vtkAbstractTransform > newTransform) |
Transforms the model by given transform. | |
void | milx::Model::SetGraph (vtkSmartPointer< vtkMutableUndirectedGraph > graph) |
Converts a graph to polydata/mesh ready for display. | |
void | milx::Model::SetPoints (vtkSmartPointer< vtkPoints > modelPoints) |
Assign points to the model. | |
void | milx::Model::SetPolys (vtkSmartPointer< vtkCellArray > modelPolys) |
Assign polygons to the model via the array given. | |
void | milx::Model::SetVectors (vtkSmartPointer< vtkDataArray > modelVectors) |
Sets the vector field of the mesh (vectors per vertex of the surface) | |
void | milx::Model::SetScalars (vtkSmartPointer< vtkDataArray > modelScalars) |
Sets the scalar field of the mesh (values per vertex of the surface) | |
void | milx::Model::SetActiveScalars (std::string nameOfArray) |
Sets the array of name as the scalar field of the mesh (values per vertex of the surface) | |
vtkSmartPointer< vtkPolyData > & | milx::Model::Result () |
Returns the current model, i.e. the result of the latest operation. More... | |
vtkSmartPointer< vtkPolyData > & | milx::Model::PreviousResult () |
Returns the previous model, i.e. the result of the penultimate operation. More... | |
vtkSmartPointer< vtkPolyData > & | milx::Model::GetInput () |
Returns the input model, i.e. the very most initial model. More... | |
vtkSmartPointer< vtkPolyData > & | milx::Model::GetOutput () |
Returns the current model, i.e. the result of the latest operation ITK/VTK style. | |
vtkAlgorithmOutput * | milx::Model::GetProducerPort () |
Returns the current model, i.e. the result of the latest operation ITK/VTK style. | |
vtkIdType | milx::Model::GetNumberOfPoints () |
Returns the total number of points of the model currently held. | |
vtkIdType | milx::Model::GetNumberOfArrays () |
Returns the total number of point-based arrays in the model. | |
vtkSmartPointer< vtkTransform > & | milx::Model::GetTransform () |
Returns the current net transform applied to the model, i.e. concatenations of all (rigid/linear) transforms. | |
vtkSmartPointer< vtkPoints > | milx::Model::GetPoints () |
Returns the points of the model. | |
vtkSmartPointer< vtkDataArray > | milx::Model::GetScalars () |
Returns the active scalars of the model. | |
void | milx::Model::GetScalarRange (double *range) |
Returns the scalar range of the model. | |
vtkSmartPointer< vtkDataArray > | milx::Model::GetVectors () |
Returns the active vectors of the model. | |
vtkSmartPointer< vtkDataArray > | milx::Model::GetNormals () |
Returns the normal vectors of the model. | |
vtkSmartPointer< vtkDataArray > | milx::Model::GetTensors () |
Returns the active tensors (3x3 matrix per vertex) of the model. | |
void | milx::Model::Update () |
Updates the model to be the most current. | |
Members for model input/output.
|
inline |
Returns the input model, i.e. the very most initial model.
Could be NULL, the user must check.
Definition at line 218 of file milxModel.h.
|
inline |
Returns the previous model, i.e. the result of the penultimate operation.
Could be NULL, the user must check.
Definition at line 210 of file milxModel.h.
|
inline |
Returns the current model, i.e. the result of the latest operation.
Could be NULL, the user must check.
Definition at line 202 of file milxModel.h.
void milx::Model::SetInput | ( | vtkSmartPointer< vtkPolyData > | model | ) |
Assigns the input model to class.
< Collection members can bypass copy here
Definition at line 130 of file milxModel.cxx.