Go to the documentation of this file.
219 #include "vtkCommonDataModelModule.h"
228 class vtkGraphEdgePoints;
244 class vtk_edge_iterator;
245 class vtk_out_edge_pointer_iterator;
246 class vtk_in_edge_pointer_iterator;
338 void ComputeBounds();
347 void GetBounds(
double bounds[6]);
492 virtual
void CopyStructure(
vtkGraph *g);
499 virtual
bool CheckedShallowCopy(
vtkGraph *g);
506 virtual
bool CheckedDeepCopy(
vtkGraph *g);
511 virtual
void Squeeze();
534 bool IsSameStructure(
vtkGraph *other);
582 {
double p[3] = {x, y, z}; this->SetEdgePoint(e, i, p); }
587 void AddEdgePoint(
vtkIdType e,
double x[3]);
589 {
double p[3] = {x, y, z}; this->AddEdgePoint(e, p); }
596 void ShallowCopyEdgePoints(
vtkGraph* g);
597 void DeepCopyEdgePoints(
vtkGraph* g);
696 void RemoveVertexInternal(
vtkIdType v,
bool directed);
702 void RemoveEdgeInternal(
vtkIdType e,
bool directed);
718 virtual
bool IsStructureValid(
vtkGraph *g) = 0;
723 virtual
void CopyInternal(
vtkGraph *g,
bool deep);
743 vtkGraphEdgePoints *EdgePoints;
748 void SetEdgePoints(vtkGraphEdgePoints* edgePoints);
754 void ForceOwnership();
767 void BuildEdgeList();
777 friend class
boost::vtk_edge_iterator;
778 friend class
boost::vtk_in_edge_pointer_iterator;
779 friend class
boost::vtk_out_edge_pointer_iterator;
805 static
double DefaultPoint[3];
819 void operator=(const
vtkGraph&) VTK_DELETE_FUNCTION;
824 VTKCOMMONDATAMODEL_EXPORT ostream& operator<<(ostream& out,
vtkEdgeBase e);
represent and manipulate 3D points
vtkInEdgeType(vtkIdType s, vtkIdType id)
void DeepCopy(vtkPistonReference *self, vtkPistonReference *other)
void AddEdgePoint(vtkIdType e, double x, double y, double z)
int GetDataObjectType() override
Return what type of dataset this is.
std::pair< boost::graph_traits< vtkGraph * >::edge_iterator, boost::graph_traits< vtkGraph * >::edge_iterator > edges(vtkGraph *g)
virtual void Initialize()
Restore data object to initial state,.
helper for the vtkGraph class that allows the graph to be distributed across multiple memory spaces.
Internal representation of vtkGraph.
virtual vtkFieldData * GetAttributesAsFieldData(int type)
Returns the attributes of the data object as a vtkFieldData.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
represent and manipulate attribute data in a dataset
record modification and/or execution time
vtkEdgeBase(vtkIdType id)
Forward declaration required for Boost serialization.
Iterates through all incoming edges to a vertex.
An array holding vtkVariants.
void GetPoint(const int i, const int j, const int k, double pnt[3])
represent and manipulate fields of data
virtual vtkIdType GetNumberOfElements(int type)
Get the number of elements for a specific attribute type (POINT, CELL, etc.).
vtkTypeUInt64 vtkMTimeType
vtkOutEdgeType(vtkIdType t, vtkIdType id)
Representation of a single graph edge.
std::pair< boost::graph_traits< vtkGraph * >::vertex_iterator, boost::graph_traits< vtkGraph * >::vertex_iterator > vertices(vtkGraph *g)
a simple class to control print indentation
object to represent cell connectivity
A atomic type representing the union of many types.
Iterates through all edges in a graph.
Iterates through all outgoing edges from a vertex.
Iterates through adjacent vertices in a graph.
vtkEdgeType(vtkIdType s, vtkIdType t, vtkIdType id)
dynamic, self-adjusting array of vtkIdType
Iterates all vertices in a graph.
Base class for graph data types.
general representation of visualization data