SceneSegmentRef class sets reference to geometry representation.
More...
#include <vsn_scsegmentref.h>
SceneSegmentRef class sets reference to geometry representation.
SceneSegmentRef class is required. It performs the function of memory saving for equal geometry representation.
◆ SceneSegmentRef()
VSN::SceneSegmentRef::SceneSegmentRef |
( |
GeometryRep * |
pRep = nullptr | ) |
|
|
explicit |
Special constructor with pointer to representation.
- Parameters
-
[in] | pRep | - Representation. |
◆ HasDataSegment()
bool VSN::SceneSegmentRef::HasDataSegment |
( |
| ) |
const |
True if data instance exists in the reference.
- Returns
- True if data instance exists in the reference.
◆ GetHeadDataSegment()
Returns pointer to the first data segment.
- Returns
- Pointer to the first data segment.
◆ IsHasRep()
bool VSN::SceneSegmentRef::IsHasRep |
( |
| ) |
const |
True if given reference has representation.
- Returns
- True if given reference has representation.
◆ SetRepresentation()
Sets representation for the reference.
- Parameters
-
[in] | pRep | - Representation source. |
◆ SetName()
void VSN::SceneSegmentRef::SetName |
( |
const String & |
name | ) |
|
|
inline |
Sets reference name.
- Parameters
-
◆ SetRepName()
void VSN::SceneSegmentRef::SetRepName |
( |
const String & |
repName | ) |
|
|
inline |
Sets representation name.
- Parameters
-
[in] | repName | - Representation name. |
◆ IsLoadedRep()
bool VSN::SceneSegmentRef::IsLoadedRep |
( |
| ) |
const |
|
inline |
True if representation is loaded.
- Returns
- True if representation is loaded.
◆ IsEmptyRep()
bool VSN::SceneSegmentRef::IsEmptyRep |
( |
| ) |
const |
|
inline |
True if no representation is found or representation is empty.
- Returns
- True if no representation is found or representation is empty.
◆ AddSegmentData()
Adds data segment.
- Parameters
-
[in] | pSegmentData | - New data segment. |
◆ RemoveSegmentData()
Removes data segment from array.
- Parameters
-
[in] | pSegmentData | - Removable data segment. |
The documentation for this class was generated from the following file: