View on GitHub

Vistle

Distributed Data-parallel Scientific Visualization in VR

renderobject.h
Go to the documentation of this file.
1#ifndef VISTLE_RENDEROBJECT_H
2#define VISTLE_RENDEROBJECT_H
3
4#include <vector>
5
6#include <vistle/util/enum.h>
11
12#include "export.h"
13
14namespace vistle {
15
16class V_RENDEREREXPORT RenderObject {
17public:
18 RenderObject(int senderId, const std::string &senderPort, vistle::Object::const_ptr container,
21
22 virtual ~RenderObject();
23
26 bool boundsValid() const;
27
30 std::string senderPort;
31 std::string variant;
32 DEFINE_ENUM_WITH_STRING_CONVERSIONS(InitialVariantVisibility, (DontChange)(Hidden)(Visible));
33 InitialVariantVisibility visibility = DontChange;
34
40
41 int timestep = -1;
42 bool bComputed = false;
43 bool bValid = false;
45
46 bool hasSolidColor = false;
48};
49
50} // namespace vistle
51#endif
std::shared_ptr< const Object > const_ptr
Definition: renderobject.h:16
DEFINE_ENUM_WITH_STRING_CONVERSIONS(InitialVariantVisibility,(DontChange)(Hidden)(Visible))
bool boundsValid() const
int senderId
Definition: renderobject.h:29
vistle::Vector4 solidColor
Definition: renderobject.h:47
vistle::Object::const_ptr container
Definition: renderobject.h:35
vistle::Texture1D::const_ptr texture
Definition: renderobject.h:38
vistle::Vector bMax
Definition: renderobject.h:44
vistle::Normals::const_ptr normals
Definition: renderobject.h:37
vistle::Vec< Scalar >::const_ptr scalars
Definition: renderobject.h:39
std::string senderPort
Definition: renderobject.h:30
RenderObject(int senderId, const std::string &senderPort, vistle::Object::const_ptr container, vistle::Object::const_ptr geometry, vistle::Object::const_ptr normals, vistle::Object::const_ptr mapdata)
vistle::Object::const_ptr geometry
Definition: renderobject.h:36
std::string variant
Definition: renderobject.h:31
int creatorId
Definition: renderobject.h:28
Vector3 Vector
Eigen::Matrix< Scalar, 4, 1 > Vector4