Ocean
TriangleStrips.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) Meta Platforms, Inc. and affiliates.
3  *
4  * This source code is licensed under the MIT license found in the
5  * LICENSE file in the root directory of this source tree.
6  */
7 
8 #ifndef META_OCEAN_RENDERING_TRIANGLE_STRIPS_H
9 #define META_OCEAN_RENDERING_TRIANGLE_STRIPS_H
10 
14 
15 namespace Ocean
16 {
17 
18 namespace Rendering
19 {
20 
21 // Forward declaration
22 class TriangleStrips;
23 
24 /**
25  * Definition of a smart object reference holding a triangle strips node.
26  * @see SmartObjectRef, TriangleStrips.
27  * @ingroup rendering
28  */
30 
31 /**
32  * This class is the base for all rendering triangle strips.
33  * @ingroup rendering
34  */
35 class OCEAN_RENDERING_EXPORT TriangleStrips : virtual public StripPrimitive
36 {
37  public:
38 
39  /**
40  * Returns the type of this object.
41  * @see Object::type().
42  */
43  ObjectType type() const override;
44 
45  protected:
46 
47  /**
48  * Creates a new triangle strips object.
49  */
51 
52  /**
53  * Destructs a triangle strips object.
54  */
55  ~TriangleStrips() override;
56 };
57 
58 }
59 
60 }
61 
62 #endif // META_OCEAN_RENDERING_TRIANGLE_STRIPS_H
ObjectType
Definition of different object type.
Definition: Object.h:63
This class is the base class for all primitive with strip organization.
Definition: StripPrimitive.h:35
This class is the base for all rendering triangle strips.
Definition: TriangleStrips.h:36
TriangleStrips()
Creates a new triangle strips object.
~TriangleStrips() override
Destructs a triangle strips object.
ObjectType type() const override
Returns the type of this object.
SmartObjectRef< TriangleStrips > TriangleStripsRef
Definition of a smart object reference holding a triangle strips node.
Definition: TriangleStrips.h:22
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15