updated the documentation for IO Options

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@819 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Isaak Lim
2013-03-04 17:09:45 +00:00
parent 837c866abb
commit 7aab2ad475
2 changed files with 9 additions and 5 deletions

View File

@@ -22,6 +22,8 @@ distinguish between
- Options::VertexColor
- Options::FaceNormal
- Options::FaceColor
- Options::ColorAlpha
- Options::ColorFloat
These bits have different effects when reading or writing. The file
format itself is selected by the extension of the filename. The IO
@@ -48,6 +50,8 @@ interface to select the option bits for reading/writing and to request
mesh properties. Hence illegal combinations are possible and will
result in a failure of the program. (The input file won't be damaged
in this case, but be careful where you put the ouput file!)
Please note that the Options::ColorFloat is currently only implemented for PLY
and OFF files.
<h5>Reading meshes</h5>

View File

@@ -107,7 +107,7 @@ public:
FaceColor = 0x0200, ///< Has (r) / store (w) face colors
FaceTexCoord = 0x0400, ///< Has (r) / store (w) face texture coordinates
ColorAlpha = 0x0800, ///< Has (r) / store (w) alpha values for colors
ColorFloat = 0x1000 ///< Has (r) / store (w) float values for colors
ColorFloat = 0x1000 ///< Has (r) / store (w) float values for colors (currently only implemented for PLY and OFF files)
};
public: