vrecko
virtual reality framework
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
ShapeGenerator.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <osg\Referenced>
4
#include <osg\Array>
5
#include "Utils.h"
6
7
namespace
APDYNAMICART
8
{
9
11
class
IShapeGenerator
:
public
osg::Referenced
12
{
13
public
:
14
virtual
Vec3ArrayPtr
generate
(
Vec3ArrayPtr
inputPoints, u_int numberOfOutputPoints) = 0;
15
protected
:
16
virtual
~IShapeGenerator
() {};
17
};
18
20
typedef
osg::ref_ptr<IShapeGenerator>
IShapeGeneratorPtr
;
21
23
class
ShapeFactory
24
{
25
public
:
26
static
IShapeGeneratorPtr
getShapeGenerator
(
const
std::string& name);
27
};
28
30
class
NullShapeGenerator
:
public
IShapeGenerator
31
{
32
public
:
33
virtual
Vec3ArrayPtr
generate
(
Vec3ArrayPtr
inputPoints, u_int numberOfOutputPoints );
34
};
35
36
class
LinearShapeGenerator
:
public
IShapeGenerator
37
{
38
public
:
39
virtual
Vec3ArrayPtr
generate
(
Vec3ArrayPtr
inputPoints, u_int numberOfOutputPoints );
40
};
41
42
}
src
vreckoAP
DynamicArt
ShapeGenerator.h
Generated on Tue Feb 19 2013 10:23:46 for vrecko by
1.8.3.1