Ocean
QuadStrips.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_QUAD_STRIPS_H
9 #define META_OCEAN_RENDERING_QUAD_STRIPS_H
10 
14 
15 namespace Ocean
16 {
17 
18 namespace Rendering
19 {
20 
21 // Forward declaration
22 class QuadStrips;
23 
24 /**
25  * Definition of a smart object reference holding a quad strips object.
26  * @see SmartObjectRef, QuadStrips.
27  * @ingroup rendering
28  */
30 
31 /**
32  * This class is the base class for all stripped quad objects.
33  * @ingroup rendering
34  */
35 class OCEAN_RENDERING_EXPORT QuadStrips : public virtual 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 stripped quad object.
49  */
51 
52  /**
53  * Destructs a stripped quad object.
54  */
55  ~QuadStrips() override;
56 };
57 
58 }
59 
60 }
61 
62 #endif // META_OCEAN_RENDERING_QUAD_STRIPS_H
ObjectType
Definition of different object type.
Definition: Object.h:63
This class is the base class for all stripped quad objects.
Definition: QuadStrips.h:36
ObjectType type() const override
Returns the type of this object.
~QuadStrips() override
Destructs a stripped quad object.
QuadStrips()
Creates a new stripped quad object.
This class implements a smart rendering object reference.
Definition: rendering/ObjectRef.h:34
This class is the base class for all primitive with strip organization.
Definition: StripPrimitive.h:35
SmartObjectRef< QuadStrips > QuadStripsRef
Definition of a smart object reference holding a quad strips object.
Definition: QuadStrips.h:22
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15