|  | VTK
    9.0.1
    | 
 
 
 
Go to the documentation of this file.
  213 #include "vtkCommonDataModelModule.h"  
  222 class vtkGraphEdgePoints;
 
  238 class vtk_edge_iterator;
 
  239 class vtk_out_edge_pointer_iterator;
 
  240 class vtk_in_edge_pointer_iterator;
 
  340   void ComputeBounds();
 
  349   void GetBounds(
double bounds[6]);
 
  494   virtual void CopyStructure(
vtkGraph* g);
 
  501   virtual bool CheckedShallowCopy(
vtkGraph* g);
 
  508   virtual bool CheckedDeepCopy(
vtkGraph* g);
 
  513   virtual void Squeeze();
 
  545   bool IsSameStructure(
vtkGraph* other);
 
  594     double p[3] = { x, y, z };
 
  595     this->SetEdgePoint(e, i, p);
 
  601   void AddEdgePoint(
vtkIdType e, 
const double x[3]);
 
  604     double p[3] = { x, y, z };
 
  605     this->AddEdgePoint(e, p);
 
  613   void ShallowCopyEdgePoints(
vtkGraph* g);
 
  614   void DeepCopyEdgePoints(
vtkGraph* g);
 
  696   void AddEdgeInternal(
 
  710   void RemoveVertexInternal(
vtkIdType v, 
bool directed);
 
  716   void RemoveEdgeInternal(
vtkIdType e, 
bool directed);
 
  732   virtual bool IsStructureValid(
vtkGraph* g) = 0;
 
  737   virtual void CopyInternal(
vtkGraph* g, 
bool deep);
 
  762   void SetEdgePoints(vtkGraphEdgePoints* edgePoints);
 
  768   void ForceOwnership();
 
  781   void BuildEdgeList();
 
  819   static double DefaultPoint[3];
 
  833   void operator=(
const vtkGraph&) = 
delete;
 
  
represent and manipulate 3D points
vtkInEdgeType(vtkIdType s, vtkIdType id)
void AddEdgePoint(vtkIdType e, double x, double y, double z)
VTKCOMMONDATAMODEL_EXPORT ostream & operator<<(ostream &out, vtkEdgeBase e)
int GetDataObjectType() override
Return what type of dataset this is.
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.
vtkPoints * Points
The vertex locations.
Internal representation of vtkGraph.
virtual vtkFieldData * GetAttributesAsFieldData(int type)
Returns the attributes of the data object as a vtkFieldData.
vtkGraphInternals * Internals
The adjacency list internals of this graph.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkTimeStamp ComputeTime
Time at which bounds were computed.
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.
virtual void DeepCopy(vtkDataObject *src)
void GetPoint(const int i, const int j, const int k, double pnt[3])
vtkMTimeType GetMTime() override
Data objects are composite objects and need to check each part for MTime.
represent and manipulate fields of data
virtual vtkIdType GetNumberOfElements(int type)
Get the number of elements for a specific attribute type (POINT, CELL, etc.).
vtkDataSetAttributes * VertexData
The vertex and edge data.
bool VTKCOMMONDATAMODEL_EXPORT operator!=(vtkEdgeBase e1, vtkEdgeBase e2)
bool VTKCOMMONDATAMODEL_EXPORT operator==(vtkEdgeBase e1, vtkEdgeBase e2)
vtkIdTypeArray * EdgeList
#define VTK_SIZEHINT(...)
vtkOutEdgeType(vtkIdType t, vtkIdType id)
Representation of a single graph edge.
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.
vtkGraphEdgePoints * EdgePoints
The structure for holding the edge points.
Iterates through adjacent vertices in a graph.
vtkEdgeType(vtkIdType s, vtkIdType t, vtkIdType id)
virtual unsigned long GetActualMemorySize()
Return the actual size of the data in kibibytes (1024 bytes).
vtkDataSetAttributes * EdgeData
dynamic, self-adjusting array of vtkIdType
void SetEdgePoint(vtkIdType e, vtkIdType i, double x, double y, double z)
std::pair< boost::graph_traits< vtkGraph * >::edge_iterator, boost::graph_traits< vtkGraph * >::edge_iterator > edges(vtkGraph *g)
vtkDistributedGraphHelper * DistributedHelper
The distributed graph helper.
Iterates all vertices in a graph.
std::pair< boost::graph_traits< vtkGraph * >::vertex_iterator, boost::graph_traits< vtkGraph * >::vertex_iterator > vertices(vtkGraph *g)
Base class for graph data types.
general representation of visualization data
virtual void ShallowCopy(vtkDataObject *src)
Shallow and Deep copy.
static vtkDataObject * GetData(vtkInformation *info)
Retrieve an instance of this class from an information object.
vtkTypeUInt32 vtkMTimeType