Ocean
Loading...
Searching...
No Matches
TriangleFans.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_FANS_H
9#define META_OCEAN_RENDERING_TRIANGLE_FANS_H
10
13
14namespace Ocean
15{
16
17namespace Rendering
18{
19
20// Forward declaration
21class TriangleFans;
22
23/**
24 * Definition of a smart object reference holding a triangle fans node.
25 * @see SmartObjectRef, TriangleFans.
26 * @ingroup rendering
27 */
29
30/**
31 * This class is the base class for all triangle fan objects.
32 * @ingroup rendering
33 */
34class OCEAN_RENDERING_EXPORT TriangleFans : virtual public StripPrimitive
35{
36 public:
37
38 /**
39 * Returns the type of this object.
40 * @see Object::type().
41 */
42 ObjectType type() const override;
43
44 protected:
45
46 /**
47 * Creates a new triangle fans object.
48 */
50
51 /**
52 * Destructs a triangle fans object.
53 */
54 ~TriangleFans() override;
55};
56
57}
58
59}
60
61#endif // META_OCEAN_RENDERING_TRIANGLE_FANS_H
ObjectType
Definition of different object type.
Definition Object.h:63
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
This class is the base class for all triangle fan objects.
Definition TriangleFans.h:35
TriangleFans()
Creates a new triangle fans object.
ObjectType type() const override
Returns the type of this object.
~TriangleFans() override
Destructs a triangle fans object.
SmartObjectRef< TriangleFans > TriangleFansRef
Definition of a smart object reference holding a triangle fans node.
Definition TriangleFans.h:28
The namespace covering the entire Ocean framework.
Definition Accessor.h:15