Changeset 1559 for GTP/trunk/Lib/Geom/shared/GTGeometry/include
- Timestamp:
- 10/03/06 12:35:03 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Geom/shared/GTGeometry/include/GeoMeshStripifier.h
r993 r1559 399 399 void Last_Edge(int *id1, int *id2, int *id3, BOOL save); 400 400 401 void preserve_strip_orientation_with_normal( FILE *output,401 void preserve_strip_orientation_with_normal( 402 402 int vertex1, 403 403 int normal1, … … 407 407 int normal3); 408 408 409 void preserve_strip_orientation_with_texture( FILE *output,409 void preserve_strip_orientation_with_texture( 410 410 int vertex1, 411 411 int texture1, … … 415 415 int texture3); 416 416 417 void preserve_strip_orientation_with_texture_and_normal( FILE *output,417 void preserve_strip_orientation_with_texture_and_normal( 418 418 int vertex1, 419 419 int texture1, … … 426 426 int normal3); 427 427 428 void preserve_strip_orientation( FILE *output,428 void preserve_strip_orientation( 429 429 int vertex1, 430 430 int vertex2, … … 438 438 /** local.h 439 439 */ 440 void Find_StripsEx( FILE *output, int *ties, 441 int tie, int triangulate, 442 int swaps, int *next_id); 443 void SGI_Strip(int num_faces,FILE *output, int ties,int triangulate); 440 void Find_StripsEx(int *ties, int tie, int triangulate, int swaps, int *next_id); 441 void SGI_Strip(int num_faces,int ties,int triangulate); 444 442 445 443 /** outputex.h 446 444 */ 447 void Output_TriEx(int id1, int id2, int id3, FILE *output, 448 int flag,int where); 449 void Extend_BackwardsEx(int face_id, FILE *output, int *ties, 445 void Output_TriEx(int id1, int id2, int id3, int flag,int where); 446 void Extend_BackwardsEx(int face_id, int *ties, 450 447 int tie, int triangulate, 451 448 int swaps,int *next_id); 452 449 void Polygon_OutputEx(P_ADJACENCIES temp,int face_id,int bucket, 453 ListHead *pListHead, FILE *output,450 ListHead *pListHead, 454 451 int *ties, int tie,int triangulate, int swaps, 455 452 int *next_id, int where); … … 460 457 void Build_SGI_Table(int num_faces); 461 458 void Non_Blind_Triangulate( int size,int *index, 462 FILE *output,int next_face_id,459 int next_face_id, 463 460 int face_id,int where, 464 461 int color1,int color2,int color3); … … 472 469 int in_edge1, int in_edge2, 473 470 int size, int *index, 474 FILE *output,int reversed,471 int reversed, 475 472 int face_id, int where, 476 473 int color1, int color2, … … 479 476 void Triangulate( int out_edge1,int out_edge2,int in_edge1, 480 477 int in_edge2,int size,int *index, 481 FILE *output,int reversed,int face_id, int where,478 int reversed,int face_id, int where, 482 479 int color1, int color2,int color3); // static. 483 480 … … 576 573 void Triangulate_PolygonEx( int out_edge1,int out_edge2,int in_edge1, 577 574 int in_edge2,int size,int *index, 578 FILE *fp,int reversed,int face_id,575 int reversed,int face_id, 579 576 int where); 580 577 void Non_Blind_TriangulateEx( int size,int *index, 581 FILE *output,int next_face_id,578 int next_face_id, 582 579 int face_id,int where); 583 580 void Rearrange_IndexEx(int *index, int size); … … 590 587 int in_edge1, int in_edge2, 591 588 int size, int *index, 592 FILE *output,int reversed,589 int reversed, 593 590 int face_id, int where); // static. 594 591 … … 620 617 */ 621 618 void Partial_Triangulate(int size, int *index, 622 FILE *output,int next_face_id,619 int next_face_id, 623 620 int face_id, int *next_id, 624 621 ListHead *pListHead, … … 640 637 int in_edge1, int in_edge2, 641 638 int size, int *index, 642 FILE *fp,int reversed,639 int reversed, 643 640 int face_id, int *next_id, 644 641 ListHead *pListHead, … … 647 644 void P_Triangulate( int out_edge1,int out_edge2,int in_edge1, 648 645 int in_edge2, int size, int *index, 649 FILE *output,int reversed, int face_id,646 int reversed, int face_id, 650 647 int *next_id, ListHead *pListHead, 651 648 P_ADJACENCIES temp,int where); // static. … … 657 654 /** output.h 658 655 */ 659 int Finished(int *swap, FILE *output,int startnewstrip);656 int Finished(int *swap, int startnewstrip); 660 657 void Output_Tri(int id1, int id2, int id3,BOOL end); 661 int Extend_Face(int face_id,int e1,int e2,int *swaps, FILE *bands,658 int Extend_Face(int face_id,int e1,int e2,int *swaps, 662 659 int color1,int color2,int color3,int *vert_norm, 663 660 int normals,int *vert_texture,int texture); … … 665 662 int bucket, ListHead *pListHead, 666 663 BOOL first, int *swaps, 667 FILE *bands, int color1,668 int color 2, int color3,664 int color1, int color2, 665 int color3, 669 666 BOOL global, BOOL end); // static. 670 667 /** free.h … … 679 676 /** newpolve.h 680 677 */ 681 void Find_Bands(int numfaces, FILE *output_file,int *swaps, int *bands,678 void Find_Bands(int numfaces, int *swaps, int *bands, 682 679 int *cost, int *tri, int norms, int *vert_norms, 683 680 int texture, int *vert_texture); … … 698 695 void Mark_Face( PF_FACES temp2, int color1, 699 696 int color2, int color3, 700 FILE *output_file,BOOL end,697 BOOL end, 701 698 int *edge1, int *edge2, 702 699 int *face_id, int norms, … … 709 706 int north,int last_north, 710 707 int orientation,int last_left, 711 FILE *output_file,int color1,708 int color1, 712 709 int color2,int color3, 713 710 BOOL start); // static. … … 715 712 int north,int last_north, 716 713 int orientation,int last_left, 717 FILE *output_file,int color1,714 int color1, 718 715 int color2,int color3, 719 716 BOOL start, int *swaps_added, … … 722 719 /** auxiliar.h 723 720 */ 724 FILE *OpenOutputFile(char *fname);721 // FILE *OpenOutputFile(char *fname); 725 722 void AllocateStruct(int num_faces, 726 723 int num_vert, 727 724 int num_nvert, 728 725 int num_texture); 729 void miReadFile(char *fname, char *file_open, FILE *bands,Geometry::SubMesh *geoSubMesh);726 void miReadFile(char *fname, char *file_open, Geometry::SubMesh *geoSubMesh); 730 727 int stripify( char *fname, 731 728 Geometry::Mesh *geoMesh);
Note: See TracChangeset
for help on using the changeset viewer.