HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GA_RTIPointRef Class Reference

Specify range of elements (vertex, primitive) that reference a point. More...

#include <GA_RTIPointRef.h>

+ Inheritance diagram for GA_RTIPointRef:

Public Member Functions

 GA_RTIPointRef (const GA_Detail &geo, GA_Offset point, GA_AttributeOwner owner)
 
 GA_RTIPointRef (const GA_RTIPointRef &i)
 Copy constructor. More...
 
 ~GA_RTIPointRef () override
 Destructor. More...
 
bool isValid () const
 Point iterators may not work unless the topological attributes exist. More...
 
GA_RangeTypeInterfacecopy () const override
 
bool isSplittable () const override
 
bool isEmpty () const override
 
GA_Size getMaxEntries () const override
 
GA_Size getEntries () const override
 
bool split (GA_RangeTypeInterface *list[2]) const override
 
bool isEqual (const GA_RangeTypeInterface &src) const override
 
void iterateCopy (GA_IteratorState &dest, const GA_IteratorState &src) const override
 
GA_Size getPageCount () const override
 
bool getPageElementRange (GA_Range &, GA_Size, GA_Size) const override
 
GA_Offset getFirstOffsetInPage (GA_Size) const override
 
- Public Member Functions inherited from GA_RTISingle
 GA_RTISingle (const GA_IndexMap &list)
 
 GA_RTISingle (const GA_RTISingle &other)
 
 ~GA_RTISingle () override
 
void iterateRewind (GA_IteratorState &state, GA_Offset &start, GA_Offset &end) const override
 
void iterateNext (GA_IteratorState &state, GA_Offset &start, GA_Offset &end) const override
 
- Public Member Functions inherited from GA_RangeTypeInterface
 GA_RangeTypeInterface (const GA_IndexMap &list)
 
 GA_RangeTypeInterface (const GA_RangeTypeInterface &other)
 
virtual ~GA_RangeTypeInterface ()
 
GA_AttributeOwner getOwner () const
 Query type of element. More...
 
bool is_divisible () const
 Convenience method to test whether the range is divisible. More...
 
bool splitIntoRanges (GA_Range &r1, GA_Range &r2) const
 Split into two existing ranges. More...
 
virtual bool isOrdered () const
 Query if the RTI is ordered according to the index. More...
 
virtual bool areTraversalDeletionsSafe () const
 
virtual bool canContainDuplicates () const
 
virtual const GA_RangeMemberQueryallocMemberQuery () const
 
const GA_IndexMapgetIndexMap () const
 Accessor for the index map. More...
 
bool operator== (const GA_RangeTypeInterface &src) const
 
virtual void iterateCreate (GA_IteratorState &state) const
 
virtual void iterateDestroy (GA_IteratorState &state) const
 
void incref () const
 
void decref () const
 

Additional Inherited Members

- Static Public Member Functions inherited from GA_RangeTypeInterface
static voidoperator new (size_t size, void *p)
 
static voidoperator new (size_t size)
 
static void operator delete (void *p, size_t size)
 
- Protected Member Functions inherited from GA_RangeTypeInterface
bool getPageElementRangeNonSplittable () const
 Method which can be called for getPageElementRange() More...
 
GA_Offset getFirstOffsetInPageNonSplittable () const
 Method which can be called for getFirstOffsetInPage() More...
 
GA_Size computeEntries () const
 This method creates an iterator and counts the entries. More...
 

Detailed Description

Specify range of elements (vertex, primitive) that reference a point.

This specifies a range of elements which reference a given point. For example, the range of all vertices which reference a point or the range of all primitives which reference a point.

Definition at line 40 of file GA_RTIPointRef.h.

Constructor & Destructor Documentation

GA_RTIPointRef::GA_RTIPointRef ( const GA_Detail geo,
GA_Offset  point,
GA_AttributeOwner  owner 
)

Define the range. The owner parameter defines what type elements are in the range. This should be either GA_ATTRIB_VERTEX or GA_ATTRIB_PRIMITIVE. The point parameter specifies the point of interest. The geo parameter specifies the source ot the geometry. For example, to iterate over all the vertices which reference point 32

GA_RTIPointRef::GA_RTIPointRef ( const GA_RTIPointRef i)

Copy constructor.

GA_RTIPointRef::~GA_RTIPointRef ( )
override

Destructor.

Member Function Documentation

GA_RangeTypeInterface* GA_RTIPointRef::copy ( ) const
overridevirtual

RangeTypeInterface implementation

Implements GA_RangeTypeInterface.

GA_Size GA_RTIPointRef::getEntries ( ) const
overridevirtual

RangeTypeInterface implementation

Implements GA_RangeTypeInterface.

GA_Offset GA_RTIPointRef::getFirstOffsetInPage ( GA_Size  ) const
inlineoverridevirtual

RangeTypeInterface implementation

Implements GA_RangeTypeInterface.

Definition at line 74 of file GA_RTIPointRef.h.

GA_Size GA_RTIPointRef::getMaxEntries ( ) const
overridevirtual

RangeTypeInterface implementation

Implements GA_RangeTypeInterface.

GA_Size GA_RTIPointRef::getPageCount ( ) const
inlineoverridevirtual

RangeTypeInterface implementation

Implements GA_RangeTypeInterface.

Definition at line 71 of file GA_RTIPointRef.h.

bool GA_RTIPointRef::getPageElementRange ( GA_Range ,
GA_Size  ,
GA_Size   
) const
inlineoverridevirtual

RangeTypeInterface implementation

Implements GA_RangeTypeInterface.

Definition at line 72 of file GA_RTIPointRef.h.

bool GA_RTIPointRef::isEmpty ( ) const
overridevirtual

RangeTypeInterface implementation

Implements GA_RangeTypeInterface.

bool GA_RTIPointRef::isEqual ( const GA_RangeTypeInterface src) const
overridevirtual

RangeTypeInterface implementation

Implements GA_RangeTypeInterface.

bool GA_RTIPointRef::isSplittable ( ) const
inlineoverridevirtual

RangeTypeInterface implementation

Implements GA_RangeTypeInterface.

Definition at line 63 of file GA_RTIPointRef.h.

bool GA_RTIPointRef::isValid ( ) const

Point iterators may not work unless the topological attributes exist.

void GA_RTIPointRef::iterateCopy ( GA_IteratorState dest,
const GA_IteratorState src 
) const
overridevirtual

RangeTypeInterface implementation

Implements GA_RangeTypeInterface.

bool GA_RTIPointRef::split ( GA_RangeTypeInterface list[2]) const
overridevirtual

RangeTypeInterface implementation

Implements GA_RangeTypeInterface.


The documentation for this class was generated from the following file: