ftp.nice.ch/pub/next/graphics/3d/geomview.1.4.1.s.tar.gz#/Geomview/src/bin/4dview/4dmap.h

This is 4dmap.h in view mode; [Download] [Up]

extern "C" {
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
}
#include <math.h>
#include "4dstuff.h"

// ===========================================================================

class object4d
{
 public:
 object4d();
 ~object4d();
 int read4dfile(char *);
 int clipobj(clip_plane *, int *);
 char *return_name() {return (filename);}
 poly_list polyhedron;
 vertex_list polyvertex;
 object4d *copyobj();

 private:
 char *filename;
 
};

// ***************************************************************************

class object3d
{
 public:
 object3d();
 ~object3d();
 char *return_name() {return objname;}
 poly_list polyhedron;
 vertex_list polyvertex;

 private:
 char *objname;
};

// ***************************************************************************

class transform
{
 public:
  transform();
  void pipe3dout(FILE *, object4d *, float [4][4], clip_plane *);
  void fileout(char *, object4d *);
  void copy(object4d *, object4d *);
  void setproj(object4d *,int);
};

// ===========================================================================

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.