View on GitHub

Vistle

Distributed Data-parallel Scientific Visualization in VR

points.h
Go to the documentation of this file.
1#ifndef POINTS_H
2#define POINTS_H
3
4
5#include "coords.h"
6
7namespace vistle {
8
9class V_COREEXPORT Points: public Coords {
11
12public:
13 typedef Coords Base;
14
15 Points(const Index numPoints, const Meta &meta = Meta());
16
17 Index getNumPoints();
18 Index getNumPoints() const;
19
21
22 Data(const Index numPoints = 0, const std::string &name = "", const Meta &meta = Meta());
23 Data(const Vec<Scalar, 3>::Data &o, const std::string &n);
24 static Data *create(const Index numPoints = 0, const Meta &meta = Meta());
25
27};
28
29} // namespace vistle
30#endif
Definition: coords.h:15
Definition: objectmeta.h:16
Definition: points.h:9
Coords Base
Definition: points.h:13
V_DATA_BEGIN(Points)
Data(const Index numPoints=0, const std::string &name="", const Meta &meta=Meta())
Data(const Vec< Scalar, 3 >::Data &o, const std::string &n)
V_DATA_END(Points)
static Data * create(const Index numPoints=0, const Meta &meta=Meta())
Definition: vec.h:13
#define V_COREEXPORT
Definition: export.h:9
Definition: allobjects.cpp:30
uint32_t Index
Definition: index.h:13
#define V_OBJECT(ObjType)
declare a new Object type
Definition: object.h:381
Definition: object.h:233