View on GitHub

Vistle

Distributed Data-parallel Scientific Visualization in VR

normals.h
Go to the documentation of this file.
1#ifndef NORMALS_H
2#define NORMALS_H
3
4
5#include "vec.h"
6
7namespace vistle {
8
9class V_COREEXPORT Normals: public Vec<Scalar, 3> {
11
12public:
14
15 Normals(const Index numNormals, const Meta &meta = Meta());
16
17 Index getNumNormals() const;
18
20
21 Data(const Index numNormals = 0, const std::string &name = "", const Meta &meta = Meta());
22 Data(const Vec<Scalar, 3>::Data &o, const std::string &n);
23 static Data *create(const Index numNormals = 0, const Meta &meta = Meta());
24
26};
27
28} // namespace vistle
29#endif
Definition: objectmeta.h:16
Definition: normals.h:9
V_DATA_END(Normals)
static Data * create(const Index numNormals=0, const Meta &meta=Meta())
V_DATA_BEGIN(Normals)
Vec< Scalar, 3 > Base
Definition: normals.h:13
Data(const Vec< Scalar, 3 >::Data &o, const std::string &n)
Data(const Index numNormals=0, const std::string &name="", 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