Commit cf2cfcde authored by Emmanuel Promayon's avatar Emmanuel Promayon

Update docs/Getting Started/Examples and Tutorials/Tips_And_Tricks.md

parent 04d80c20
Pipeline #27528 passed with stages
in 45 seconds
......@@ -139,30 +139,7 @@ Select `add key`
* Store your private key in `~/.ssh/id_rsa` (create the folder if necessary)
* Run the `ssh-add` command to load your private key into the session.
## Configure Visual Studio 2010 C++ express to compile in 64bits
Visual Studio 2010 express edition might compile in 64bits since you have installed the 7.1 version of the Windows SDK.
* Please install the [Windows SDK (7.1) for Windows 7](http://msdn.microsoft.com/en-us/windows/bb980924.aspx)
!!! note
If you installed (you or windows update) the SDK 7.1 `SP1` please install this [ patch for Windows 7.1 SDK x64 compiler](http://www.microsoft.com/en-us/download/details.aspx?id=4422) as this service pack broke up the x64 compiler.
!!! warning
If you deal with a problem for the installation of Windows SDK 7.1 (which have to be installed before VS2010 SP1) visit this [link](http://www.mathworks.fr/support/solutions/en/data/1-FPLDGV/).
* Change your Visual Studio projects configuration:
* Go to Properties of one of your projects.
* On the top of the dialog box there will be a `Configuration` drop-down menu. Make sure that selects `All Configurations`.
* On the right there is a `Configuration Manager` button - press it.
* In the dialog that comes up, find your project, hit the Platform drop-down, select New, then select x64.
!!! note
When you return to the Properties dialog box, the "Platform" drop-down should now read `x64`.
* Finally, change your toolset. In the Properties menu of your project, under Configuration Properties | General, change Platform Toolset from `v100` to `Windows7.1SDK`.
## How to check a DLL is 32 or 64bits compiled on Windows system ?
## How to check if a DLL is compiled for 32 bits or 64 bits on Windows system ?
### Using Visual Studio compiler
* Open visual studio command prompt
......@@ -177,13 +154,13 @@ Visual Studio 2010 express edition might compile in 64bits since you have instal
file yourLibrary.dll
```
* Check its output:
* Check the output:
** PE32 stands for 32bits DLLs
** PE32+ stands for 64bits DLLs
## How to display point and cell data
## How to display point and cell data in camitk-imp
To test the expected behaviour, lets use the "plate-with-data.vtk" example file that came with the feature (it originally comes from the VTK data test suite and contains well scaled vectors relatively to the data).
......@@ -194,16 +171,43 @@ Display the "Data" tab in the Property Explorer, it should list all th
3D Representation of vector data can be done simultaneously, with a 3D vector (arrows, unscaled arrows or hedge hog representation) and as a colour corresponding either to magnitude (norm), 1st, 2nd or 3rd component of the vector. The colour representation can only be one of these four choices.
Choosing a specific vector data representation, use the two combo boxes at the bottom of the "Data" tab:
- the first one on the left let you choose the representation of your vector data (it does not do anything for scalar or tensor data)
- the second one on the left let you choose specific ways of rendering 3D vectors (arrows, unscaled arrows which does not use the data magnitude to scale the representation and hedge hog which uses simple lines instead of arrows).
Therefore:
- To show the vector data as 3D vectors, set the first combo box on the left to "3D Vector", select the 3D vector representation to either arrows, unscaled arrows or hedge hog and tick the checkbox on the vector data of your choice.
- To show the vector data as colours, set the first combo box to either norm, 1st, 2nd or 3rd component and then tick the checkbox on the vector data of your choice.
Changing the first combo box will let you see which representation is active (the checkbox is ticked for the corresponding active representation).
Only one colour representation is possible at a time, but both one colour representation and 3D vectors are possible together.
The vector data can be set either on the cell field or on the point field.
The vector data can be set either on the cell field or on the point field:
- if set on the cell field, then the arrows are centred on the cell and the cell is coloured with the corresponding colour (no interpolation between the points)
- if set on the point field, then the arrows starts at the vertex and the color is attributed to the vertex (resulting in an interpolation along the cells' surface)
## Configure Visual Studio 2010 C++ express to compile in 64bits
Visual Studio 2010 express edition might compile in 64bits since you have installed the 7.1 version of the Windows SDK.
* Please install the [Windows SDK (7.1) for Windows 7](http://msdn.microsoft.com/en-us/windows/bb980924.aspx)
!!! note
If you installed (you or windows update) the SDK 7.1 `SP1` please install this [ patch for Windows 7.1 SDK x64 compiler](http://www.microsoft.com/en-us/download/details.aspx?id=4422) as this service pack broke up the x64 compiler.
!!! warning
If you deal with a problem for the installation of Windows SDK 7.1 (which have to be installed before VS2010 SP1) visit this [link](http://www.mathworks.fr/support/solutions/en/data/1-FPLDGV/).
* Change your Visual Studio projects configuration:
* Go to Properties of one of your projects.
* On the top of the dialog box there will be a `Configuration` drop-down menu. Make sure that selects `All Configurations`.
* On the right there is a `Configuration Manager` button - press it.
* In the dialog that comes up, find your project, hit the Platform drop-down, select New, then select x64.
!!! note
When you return to the Properties dialog box, the "Platform" drop-down should now read `x64`.
* Finally, change your toolset. In the Properties menu of your project, under Configuration Properties | General, change Platform Toolset from `v100` to `Windows7.1SDK`.
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment