91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 30KB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2021-05-14
  • 語言: 其他
  • 標簽: 讀寫??繪制??

資源簡介

讀寫,繪制斯坦福大學ply點云數據的源代碼,普通的圖形繪制軟件如Maya,SolideWork無法讀取該類數據,是一個遺憾.

資源截圖

代碼片段和文件信息

/*?----------------------------------------------------------------------
?*?RPly?library?read/write?PLY?files
?*?Diego?Nehab?Princeton?University
?*?http://www.cs.princeton.edu/~diego/professional/rply
?*
?*?This?library?is?distributed?under?the?MIT?License.?See?notice
?*?at?the?end?of?this?file.
?*?----------------------------------------------------------------------?*/
#include?
#include?
#include?
#include?
#include?
#include?
#include?
#include?
#include?

#include?“rply.h“

/*?----------------------------------------------------------------------
?*?Constants?
?*?----------------------------------------------------------------------?*/
#define?WORDSIZE?256
#define?LINESIZE?1024
#define?BUFFERSIZE?(8*1024)

typedef?enum?e_ply_io_mode_?{
????PLY_READ?
????PLY_WRITE
}?e_ply_io_mode;

static?const?char?*const?ply_storage_mode_list[]?=?{
????“binary_big_endian“?“binary_little_endian“?“ascii“?NULL
};?????/*?order?matches?e_ply_storage_mode?enum?*/

static?const?char?*const?ply_type_list[]?=?{
????“int8“?“uint8“?“int16“?“uint16“?
????“int32“?“uint32“?“float32“?“float64“
????“char“?“uchar“?“short“?“ushort“?
????“int“?“uint“?“float“?“double“
????“list“?NULL
};?????/*?order?matches?e_ply_type?enum?*/

/*?----------------------------------------------------------------------
?*?Property?reading?callback?argument
?*
?*?element:?name?of?element?being?processed
?*?property:?name?of?property?being?processed
?*?nelements:?number?of?elements?of?this?kind?in?file
?*?instance_index:?index?current?element?of?this?kind?being?processed
?*?length:?number?of?values?in?current?list?(or?1?for?scalars)
?*?value_index:?index?of?current?value?int?this?list?(or?0?for?scalars)
?*?value:?value?of?property
?*?pdata/idata:?user?data?defined?with?ply_set_cb
?*
?*?Returns?handle?to?ply?file?if?succesful?NULL?otherwise.
?*?----------------------------------------------------------------------?*/
typedef?struct?t_ply_argument_?{
????p_ply_element?element;
????long?instance_index;
????p_ply_property?property;
????long?length?value_index;
????double?value;
????void?*pdata;
????long?idata;
}?t_ply_argument;

/*?----------------------------------------------------------------------
?*?Property?information
?*
?*?name:?name?of?this?property
?*?type:?type?of?this?property?(list?or?type?of?scalar?value)
?*?length_type?value_type:?type?of?list?property?count?and?values
?*?read_cb:?function?to?be?called?when?this?property?is?called
?*
?*?Returns?1?if?should?continue?processing?file?0?if?should?abort.
?*?----------------------------------------------------------------------?*/
typedef?struct?t_ply_property_?{
????char?name[WORDSIZE];
????e_ply_type?type?value_type?length_type;
????p_ply_read_cb?read_cb;
????void?*pdata;
????long?idata;
}?t_ply_property;?

/*?----------------------------------------------------------------------
?*?Element?information
?*
?*?name:?name?of?thi

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件???????5151??2005-01-16?06:48??讀寫ply文件\etc\convert.c

?????文件???????1273??2005-01-16?06:48??讀寫ply文件\etc\dump.c

?????文件????????267??2005-01-16?06:48??讀寫ply文件\etc\input.ply

?????文件???????2455??2005-01-16?06:48??讀寫ply文件\etc\sconvert.c

?????文件???????1077??2005-01-16?06:48??讀寫ply文件\LICENSE

?????文件??????33138??2005-01-16?06:48??讀寫ply文件\manual\manual.html

?????文件????????950??2005-01-16?06:48??讀寫ply文件\manual\reference.css

?????文件???????6232??2005-01-16?06:48??讀寫ply文件\manual\rply.png

?????文件??????51390??2005-01-16?06:48??讀寫ply文件\rply.c

?????文件??????15201??2005-01-16?06:48??讀寫ply文件\rply.h

?????目錄??????????0??2011-03-04?17:48??讀寫ply文件\etc

?????目錄??????????0??2011-03-04?17:48??讀寫ply文件\manual

?????目錄??????????0??2011-03-04?17:48??讀寫ply文件

-----------?---------??----------?-----??----

???????????????117134????????????????????13


評論

共有 條評論