Skip to content

Commit 894894a

Browse files
committed
Format function changes table
1 parent 946ba12 commit 894894a

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

docs/SCIRun5ModuleGeneration.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1346,11 +1346,12 @@ With the module fully completed, we can now submit it to be included in the main
13461346

13471347
#### 6.2 Common Function Changes
13481348

1349-
| **SCIRun4** | **SCIRun5** | **Notes**|
1350-
|-------------|-------------|----------|
1351-
|`if (input.get_rep()==0)`| `if (!input) `|Checks for an empty handle. <br/> Works for all major handle types.|
1352-
|```output = input;``` ```output.detach();```|`FieldHandle output_field(input_field->clone());`|Copy a field and disconnect the data|
1353-
|```output = input;``` </br> ```output.detach();``` </br> ```output->mesh_detach();```|```FieldHandle output_field(input_field->deep_clone());```|Copy a field and disconnect the mesh and data.|
1349+
| **SCIRun 4** | **SCIRun 5** | **Notes** |
1350+
| ------------- | ------------- | ---------- |
1351+
| `if (input.get_rep()==0)` | `if (!input)` | Checks for an empty handle. <br/> Works for all major handle types. |
1352+
|```output = input;``` <br> ```output.detach();``` | `FieldHandle output_field(input_field->clone());` | Copy a field and disconnect the data |
1353+
| ```output = input;``` <br> ```output.detach();``` <br> ```output->mesh_detach();``` | ```FieldHandle output_field(input_field->deep_clone());``` | Copy a field and disconnect the mesh and data. |
1354+
13541355
#### 6.3 Common Build Errors
13551356
1.
13561357
> ConvertMeshToPointCloudDialog.h:32:10: fatal error:

0 commit comments

Comments
 (0)