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:
@@ -22,6 +22,8 @@ distinguish between
|
|||||||
- Options::VertexColor
|
- Options::VertexColor
|
||||||
- Options::FaceNormal
|
- Options::FaceNormal
|
||||||
- Options::FaceColor
|
- Options::FaceColor
|
||||||
|
- Options::ColorAlpha
|
||||||
|
- Options::ColorFloat
|
||||||
|
|
||||||
These bits have different effects when reading or writing. The file
|
These bits have different effects when reading or writing. The file
|
||||||
format itself is selected by the extension of the filename. The IO
|
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
|
mesh properties. Hence illegal combinations are possible and will
|
||||||
result in a failure of the program. (The input file won't be damaged
|
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!)
|
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>
|
<h5>Reading meshes</h5>
|
||||||
|
|
||||||
|
|||||||
@@ -107,7 +107,7 @@ public:
|
|||||||
FaceColor = 0x0200, ///< Has (r) / store (w) face colors
|
FaceColor = 0x0200, ///< Has (r) / store (w) face colors
|
||||||
FaceTexCoord = 0x0400, ///< Has (r) / store (w) face texture coordinates
|
FaceTexCoord = 0x0400, ///< Has (r) / store (w) face texture coordinates
|
||||||
ColorAlpha = 0x0800, ///< Has (r) / store (w) alpha values for colors
|
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:
|
public:
|
||||||
|
|||||||
Reference in New Issue
Block a user