Visual Computing Library
Loading...
Searching...
No Matches
Views Module

List of range views of the library. More...

Collaboration diagram for Views Module:

Classes

class  vcl::View< It >
 The View class is a simple class that stores and exposes two iterators begin and end. More...
 

Variables

constexpr detail::AdjEdgesView vcl::views::adjEdges
 The adjEdges view allows to obtain a view that access to the adjacent edges of the object that has been piped. Every object having type that satisfies the HasAdjacentEdges concept can be applied to this view.
 
constexpr detail::AdjFacesView vcl::views::adjFaces
 The adjFaces view allows to obtain a view that access to the adjacent faces of the object that has been piped. Every object having type that satisfies the HasAdjacentFaces concept can be applied to this view.
 
constexpr detail::AdjVerticesView vcl::views::adjVertices
 The adjVertices view allows to obtain a view that access to the adjacent vertices of the object that has been piped. Every object having type that satisfies the HasAdjacentVertices concept can be applied to this view.
 
constexpr detail::EdgesView vcl::views::edges
 A view that allows to iterate overt the Edge elements of an object.
 
constexpr detail::FacesView vcl::views::faces
 A view that allows to iterate overt the Face elements of an object.
 
constexpr detail::VerticesView vcl::views::vertices
 A view that allows to iterate over the Vertex elements of an object.
 
constexpr detail::NotNullView vcl::views::notNull
 The notNull view allows to filter the pointers of a range. The resulting view will iterate only on the pointers that are not nullptr.
 
constexpr detail::DereferenceView vcl::views::deref
 The deref view the dereference operator * on the input view.
 
constexpr detail::AddressOfView vcl::views::addrOf
 The addrOf view applies the address-of operator & on the input view.
 
constexpr detail::ConstAddressOfView vcl::views::constAddrOf
 The constAddrOf view applies the address-of operator & on the input view.
 

Detailed Description

List of range views of the library.

Variable Documentation

◆ addrOf

constexpr detail::AddressOfView vcl::views::addrOf
inlineconstexpr

The addrOf view applies the address-of operator & on the input view.

It allows to get the pointers of the objects of a range. The resulting view will iterate over the pointers pointing to the object of the input range.

◆ adjEdges

constexpr detail::AdjEdgesView vcl::views::adjEdges
inlineconstexpr

The adjEdges view allows to obtain a view that access to the adjacent edges of the object that has been piped. Every object having type that satisfies the HasAdjacentEdges concept can be applied to this view.

Resulting adjacent edges will be pointers to Edges, that may be nullptr. If you are interested only on the not-null pointers, you can use the notNull view:

for (auto* ae: f | views::adjEdges | views::notNull) { ... }
A class representing a line segment in n-dimensional space. The class is parameterized by a PointConc...
Definition segment.h:43
constexpr detail::AdjEdgesView adjEdges
The adjEdges view allows to obtain a view that access to the adjacent edges of the object that has be...
Definition adj_edges.h:64
constexpr detail::NotNullView notNull
The notNull view allows to filter the pointers of a range. The resulting view will iterate only on th...
Definition pointers.h:92

◆ adjFaces

constexpr detail::AdjFacesView vcl::views::adjFaces
inlineconstexpr

The adjFaces view allows to obtain a view that access to the adjacent faces of the object that has been piped. Every object having type that satisfies the HasAdjacentFaces concept can be applied to this view.

Resulting adjacent faces will be pointers to Faces, that may be nullptr. If you are interested only on the not-null pointers, you can use the notNull view:

for (auto* af: f | views::adjFaces | views::notNull) { ... }
constexpr detail::AdjFacesView adjFaces
The adjFaces view allows to obtain a view that access to the adjacent faces of the object that has be...
Definition adj_faces.h:65

◆ adjVertices

constexpr detail::AdjVerticesView vcl::views::adjVertices
inlineconstexpr

The adjVertices view allows to obtain a view that access to the adjacent vertices of the object that has been piped. Every object having type that satisfies the HasAdjacentVertices concept can be applied to this view.

Resulting adjacent faces will be pointers to Vertices, that may be nullptr. If you are interested only on the not-null pointers, you can use the notNull view:

for (auto* av: v | views::adjVertices | views::notNull) { ... }
constexpr detail::AdjVerticesView adjVertices
The adjVertices view allows to obtain a view that access to the adjacent vertices of the object that ...
Definition adj_vertices.h:65

◆ constAddrOf

constexpr detail::ConstAddressOfView vcl::views::constAddrOf
inlineconstexpr

The constAddrOf view applies the address-of operator & on the input view.

It allows to get the const pointers of the objects of a range. The resulting view will iterate over the const pointers pointing to the object of the input range (that may be also not const).

◆ deref

constexpr detail::DereferenceView vcl::views::deref
inlineconstexpr

The deref view the dereference operator * on the input view.

It allows to dereference the pointers of a range. The resulting view will iterate over the objects pointed by the range of pointers.

Note
: no check on the validity of the pointers is performed. If you know that in your range there is the possibility to have nullptr pointers, use first the notNull view:

◆ edges

constexpr detail::EdgesView vcl::views::edges
inlineconstexpr

A view that allows to iterate overt the Edge elements of an object.

This view can be applied to objects having type that satisfies the EdgeMeshConcept.

◆ faces

constexpr detail::FacesView vcl::views::faces
inlineconstexpr

A view that allows to iterate overt the Face elements of an object.

This view can be applied to objects having type that satisfies the FaceMeshConcept.

◆ vertices

constexpr detail::VerticesView vcl::views::vertices
inlineconstexpr

A view that allows to iterate over the Vertex elements of an object.

This view can be applied to objects having type that satisfies one of the following concepts:

  • MeshConcept
  • HasVertexReferences