|
@@ -294,6 +294,52 @@ transform(const LMatrix4d &mat) {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+////////////////////////////////////////////////////////////////////
|
|
|
|
|
+// Function: EggVertex::gref_begin
|
|
|
|
|
+// Access: Public
|
|
|
|
|
+// Description: Returns an iterator that can, in conjunction with
|
|
|
|
|
+// gref_end(), be used to traverse the entire set of
|
|
|
|
|
+// groups that reference this vertex. Each iterator
|
|
|
|
|
+// returns a pointer to a group.
|
|
|
|
|
+//
|
|
|
|
|
+// This interface is not safe to use outside of
|
|
|
|
|
+// PANDAEGG.DLL.
|
|
|
|
|
+////////////////////////////////////////////////////////////////////
|
|
|
|
|
+EggVertex::GroupRef::const_iterator EggVertex::
|
|
|
|
|
+gref_begin() const {
|
|
|
|
|
+ return _gref.begin();
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+////////////////////////////////////////////////////////////////////
|
|
|
|
|
+// Function: EggVertex::gref_end
|
|
|
|
|
+// Access: Public
|
|
|
|
|
+// Description: Returns an iterator that can, in conjunction with
|
|
|
|
|
+// gref_begin(), be used to traverse the entire set of
|
|
|
|
|
+// groups that reference this vertex. Each iterator
|
|
|
|
|
+// returns a pointer to a group.
|
|
|
|
|
+//
|
|
|
|
|
+// This interface is not safe to use outside of
|
|
|
|
|
+// PANDAEGG.DLL.
|
|
|
|
|
+////////////////////////////////////////////////////////////////////
|
|
|
|
|
+EggVertex::GroupRef::const_iterator EggVertex::
|
|
|
|
|
+gref_end() const {
|
|
|
|
|
+ return _gref.end();
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+////////////////////////////////////////////////////////////////////
|
|
|
|
|
+// Function: EggVertex::gref_size
|
|
|
|
|
+// Access: Public
|
|
|
|
|
+// Description: Returns the number of elements between gref_begin()
|
|
|
|
|
+// and gref_end().
|
|
|
|
|
+//
|
|
|
|
|
+// This interface is not safe to use outside of
|
|
|
|
|
+// PANDAEGG.DLL.
|
|
|
|
|
+////////////////////////////////////////////////////////////////////
|
|
|
|
|
+EggVertex::GroupRef::size_type EggVertex::
|
|
|
|
|
+gref_size() const {
|
|
|
|
|
+ return _gref.size();
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
////////////////////////////////////////////////////////////////////
|
|
////////////////////////////////////////////////////////////////////
|
|
|
// Function: EggVertex::has_gref
|
|
// Function: EggVertex::has_gref
|
|
|
// Access: Public
|
|
// Access: Public
|
|
@@ -359,6 +405,52 @@ clear_grefs() {
|
|
|
nassertv(_gref.empty());
|
|
nassertv(_gref.empty());
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+////////////////////////////////////////////////////////////////////
|
|
|
|
|
+// Function: EggVertex::pref_begin
|
|
|
|
|
+// Access: Public
|
|
|
|
|
+// Description: Returns an iterator that can, in conjunction with
|
|
|
|
|
+// pref_end(), be used to traverse the entire set of
|
|
|
|
|
+// primitives that reference this vertex. Each iterator
|
|
|
|
|
+// returns a pointer to a primitive.
|
|
|
|
|
+//
|
|
|
|
|
+// This interface is not safe to use outside of
|
|
|
|
|
+// PANDAEGG.DLL.
|
|
|
|
|
+////////////////////////////////////////////////////////////////////
|
|
|
|
|
+EggVertex::PrimitiveRef::const_iterator EggVertex::
|
|
|
|
|
+pref_begin() const {
|
|
|
|
|
+ return _pref.begin();
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+////////////////////////////////////////////////////////////////////
|
|
|
|
|
+// Function: EggVertex::pref_end
|
|
|
|
|
+// Access: Public
|
|
|
|
|
+// Description: Returns an iterator that can, in conjunction with
|
|
|
|
|
+// pref_begin(), be used to traverse the entire set of
|
|
|
|
|
+// primitives that reference this vertex. Each iterator
|
|
|
|
|
+// returns a pointer to a primitive.
|
|
|
|
|
+//
|
|
|
|
|
+// This interface is not safe to use outside of
|
|
|
|
|
+// PANDAEGG.DLL.
|
|
|
|
|
+////////////////////////////////////////////////////////////////////
|
|
|
|
|
+EggVertex::PrimitiveRef::const_iterator EggVertex::
|
|
|
|
|
+pref_end() const {
|
|
|
|
|
+ return _pref.end();
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+////////////////////////////////////////////////////////////////////
|
|
|
|
|
+// Function: EggVertex::pref_size
|
|
|
|
|
+// Access: Public
|
|
|
|
|
+// Description: Returns the number of elements between pref_begin()
|
|
|
|
|
+// and pref_end().
|
|
|
|
|
+//
|
|
|
|
|
+// This interface is not safe to use outside of
|
|
|
|
|
+// PANDAEGG.DLL.
|
|
|
|
|
+////////////////////////////////////////////////////////////////////
|
|
|
|
|
+EggVertex::GroupRef::size_type EggVertex::
|
|
|
|
|
+pref_size() const {
|
|
|
|
|
+ return _pref.size();
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
////////////////////////////////////////////////////////////////////
|
|
////////////////////////////////////////////////////////////////////
|
|
|
// Function: EggVertex::has_pref
|
|
// Function: EggVertex::has_pref
|
|
|
// Access: Public
|
|
// Access: Public
|