RAMSES Documentation  27.0.130
Information for RAMSES users and developers
DataVector4f.h
Go to the documentation of this file.
1 // -------------------------------------------------------------------------
2 // Copyright (C) 2016 BMW Car IT GmbH
3 // -------------------------------------------------------------------------
4 // This Source Code Form is subject to the terms of the Mozilla Public
5 // License, v. 2.0. If a copy of the MPL was not distributed with this
6 // file, You can obtain one at https://mozilla.org/MPL/2.0/.
7 // -------------------------------------------------------------------------
8 
9 #ifndef RAMSES_DATAVECTOR4F_H
10 #define RAMSES_DATAVECTOR4F_H
11 
13 
14 namespace ramses
15 {
16  class DataObjectImpl;
17 
22  {
23  public:
34  status_t setValue(float x, float y, float z, float w);
35 
46  status_t getValue(float& x, float& y, float& z, float& w) const;
47 
48  protected:
52  friend class SceneImpl;
53 
59  explicit DataVector4f(DataObjectImpl& pimpl);
60 
64  virtual ~DataVector4f();
65  };
66 }
67 
68 #endif
#define RAMSES_API
Definition: APIExport.h:35
The DataObject is a base class for data container for storing data in a scene.
Definition: DataObject.h:29
The DataVector4f data object stores a vector with 4 float components within a scene.
Definition: DataVector4f.h:22
status_t setValue(float x, float y, float z, float w)
Sets/updates the stored values of the vector.
status_t getValue(float &x, float &y, float &z, float &w) const
Gets all stored values of the vector.
virtual ~DataVector4f()
Destructor of the DataVector4f.
DataVector4f(DataObjectImpl &pimpl)
Constructor of DataVector4f.
The RAMSES namespace contains all client side objects and functions used to implement RAMSES applicat...
Definition: AnimatedProperty.h:15
uint32_t status_t
Status is a handle to the result of an API call.
Definition: RamsesFrameworkTypes.h:26