Panda3D
Loading...
Searching...
No Matches
mayaToEgg_server.h
Go to the documentation of this file.
1/**
2 * PANDA 3D SOFTWARE
3 * Copyright (c) Carnegie Mellon University. All rights reserved.
4 *
5 * All use of this software is subject to the terms of the revised BSD
6 * license. You should have received a copy of this license along
7 * with this source code in a file named "LICENSE."
8 *
9 * @file mayaToEgg_server.h
10 * @author cbrunner
11 * @date 2009-11-09
12 */
13
14#ifndef MAYATOEGGSERVER_H
15#define MAYATOEGGSERVER_H
16
17#include "pandatoolbase.h"
18#include "somethingToEgg.h"
19#include "mayaToEggConverter.h"
23#include "connectionWriter.h"
24
25/**
26 *
27 */
29public:
32
33 void run();
34 void poll();
35
36 void add_reader(Connection *connection, QueuedConnectionReader *reader);
37 void remove_reader(Connection *connection, QueuedConnectionReader *reader);
39 QueuedConnectionListener *qListener;
41 ConnectionWriter *cWriter;
42 MayaToEggConverter *dummy;
43
44
45protected:
46 static bool dispatch_transform_type(const std::string &opt, const std::string &arg, void *var);
47 typedef pset< PT(Connection) > Clients;
48 Clients _clients;
49
50 int _verbose;
51 bool _polygon_output;
52 double _polygon_tolerance;
53 bool _respect_maya_double_sided;
54 bool _suppress_vertex_color;
55 bool _keep_all_uvsets;
56 bool _round_uvs;
57 bool _legacy_shader;
58
59 MayaToEggConverter::TransformType _transform_type;
60 vector_string _subroots;
61 vector_string _subsets;
62 vector_string _excludes;
63 vector_string _ignore_sliders;
64 vector_string _force_joints;
65};
66
67#endif
This class handles threaded delivery of datagrams to various TCP or UDP sockets.
Represents a single TCP or UDP socket for input or output.
Definition connection.h:29
This class supervises the construction of an EggData structure from a single Maya file,...
void poll()
Checks for any network activity and handles it, if appropriate, and then returns.
This flavor of ConnectionListener will queue up all of the TCP connections it established for later d...
This flavor of ConnectionManager will queue up all of the reset-connection messages from the Connecti...
This flavor of ConnectionReader will read from its sockets and queue up all of the datagrams read for...
This is the general base class for a file-converter program that reads some model file format and gen...
This is our own Panda specialization on the default STL set.
Definition pset.h:49
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.