HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
GU_IOPLY.h
Go to the documentation of this file.
1
/*
2
* PROPRIETARY INFORMATION. This software is proprietary to
3
* Side Effects Software Inc., and is not to be reproduced,
4
* transmitted, or disclosed in any way without written permission.
5
*
6
* NAME: GU_IOPLY.h ( GA Library, C++)
7
*
8
* COMMENTS:
9
*/
10
11
#ifndef __GU_IOPLY__
12
#define __GU_IOPLY__
13
14
class
GU_Detail
;
15
class
UT_IStream
;
16
#include <iostream>
17
18
#include "
GU_API.h
"
19
#include <
UT/UT_StringHolder.h
>
20
21
/// Utility classes to load and save .ply files. Note this is not a
22
/// standard IO extension itself.
23
class
GU_API
GU_IOPLYUtil
24
{
25
public
:
26
/// Write the gdp to the os as a .ply.
27
/// Note this does not apply any promtion of vertex attributes
28
/// or convexing to 255.
29
/// NOTE: This writes with the streams current precision, default
30
/// precision is insufficent so you may need to do:
31
/// os.precision(SYS_FLT_DIG);
32
int
write(
const
GU_Detail
&gdp, std::ostream &os,
bool
binary
);
33
34
/// Read the .ply directly into a gdp.
35
bool
read(
GU_Detail
&gdp,
UT_IStream
&is);
36
protected
:
37
};
38
39
#endif
40
UT_IStream
Definition:
UT_IStream.h:56
binary
const GLuint GLenum const void * binary
Definition:
glcorearb.h:1924
GU_IOPLYUtil
Definition:
GU_IOPLY.h:23
GU_API
#define GU_API
Definition:
GU_API.h:14
UT_StringHolder.h
GU_Detail
Definition:
GU_Detail.h:159
GU_API.h
GU
GU_IOPLY.h
Generated on Wed Jul 15 2026 02:17:01 for HDK by
1.8.6