Choreonoid
1.8
src
Body
AbstractBodyLoader.h
Go to the documentation of this file.
1
6
#ifndef CNOID_BODY_ABSTRACT_BODY_LOADER_H
7
#define CNOID_BODY_ABSTRACT_BODY_LOADER_H
8
9
#include <string>
10
#include <memory>
11
#include <iosfwd>
12
#include "exportdecl.h"
13
14
namespace
cnoid
{
15
16
class
Body;
17
18
class
CNOID_EXPORT
AbstractBodyLoader
19
{
20
public
:
21
AbstractBodyLoader
();
22
virtual
~
AbstractBodyLoader
();
23
virtual
void
setMessageSink(std::ostream& os);
24
virtual
void
setVerbose(
bool
on);
25
virtual
void
setShapeLoadingEnabled(
bool
on);
26
virtual
void
setDefaultDivisionNumber(
int
n);
27
virtual
void
setDefaultCreaseAngle(
double
theta);
28
virtual
bool
load(
Body
* body,
const
std::string& filename) = 0;
29
};
30
31
typedef
std::shared_ptr<AbstractBodyLoader>
AbstractBodyLoaderPtr
;
32
33
}
34
35
#endif
cnoid
Definition:
AbstractSceneLoader.h:11
cnoid::AbstractBodyLoaderPtr
std::shared_ptr< AbstractBodyLoader > AbstractBodyLoaderPtr
Definition:
AbstractBodyLoader.h:31
cnoid::AbstractBodyLoader
Definition:
AbstractBodyLoader.h:18
cnoid::Body
Definition:
Body.h:28
Generated by
1.8.17