    

 ## On this page

  

 

 # dvs\_plot\_chunk\_interface

 Last update: 16.07.2025 

[Go to the documentation of this file.](dvs__plot__chunk__interface_8h.xhtml)<a id="l00001" name="l00001"></a> 1/\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

<a id="l00002" name="l00002"></a> 2\*

<a id="l00003" name="l00003"></a> 3\* (C) 2022 ANSYS, Inc. Unauthorized use, distribution, or duplication is prohibited.

<a id="l00004" name="l00004"></a> 4\*

<a id="l00005" name="l00005"></a> 5\* Restricted Rights Legend

<a id="l00006" name="l00006"></a> 6\*

<a id="l00007" name="l00007"></a> 7\* Use, duplication, or disclosure of this

<a id="l00008" name="l00008"></a> 8\* software and its documentation by the

<a id="l00009" name="l00009"></a> 9\* Government is subject to restrictions as

<a id="l00010" name="l00010"></a> 10\* set forth in subdivision \[(b)(3)(ii)\] of

<a id="l00011" name="l00011"></a> 11\* the Rights in Technical Data and Computer

<a id="l00012" name="l00012"></a> 12\* Software clause at 52.227-7013.

<a id="l00013" name="l00013"></a> 13\*

<a id="l00014" name="l00014"></a> 14\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

<a id="l00015" name="l00015"></a> 15\*/

<a id="l00016" name="l00016"></a> 16 

<a id="l00024" name="l00024"></a> 24\#ifndef \_\_\_DVS\_PLOT\_CHUNK\_INTERFACE\_H\_\_\_

<a id="l00025" name="l00025"></a> 25\#define \_\_\_DVS\_PLOT\_CHUNK\_INTERFACE\_H\_\_\_

<a id="l00026" name="l00026"></a> 26 

<a id="l00027" name="l00027"></a> 27\#include "[dynamic\_visualization\_store\_enums.h](dynamic__visualization__store__enums_8h.xhtml)"

<a id="l00028" name="l00028"></a> 28\#include "[dynamic\_visualization\_store\_error\_codes.h](dynamic__visualization__store__error__codes_8h.xhtml)"

<a id="l00029" name="l00029"></a> 29 

<a id="l00030" name="l00030"></a> 30\#include "[dvs\_object\_interface.h](dvs__object__interface_8h.xhtml)"

<a id="l00031" name="l00031"></a> 31\#include "[dvs\_hash\_interface.h](dvs__hash__interface_8h.xhtml)"

<a id="l00032" name="l00032"></a> 32 

<a id="l00033" name="l00033"></a> 33namespace DVS

<a id="l00034" name="l00034"></a> 34{

<a id="l00035" name="l00035"></a> 35 

<a id="l00050" name="l00050"></a>[ 50](class_d_v_s_1_1_i_plot_chunk.xhtml)class [IPlotChunk](class_d_v_s_1_1_i_plot_chunk.xhtml) : public [DVS::IHash](class_d_v_s_1_1_i_hash.xhtml)

<a id="l00051" name="l00051"></a> 51{

<a id="l00052" name="l00052"></a> 52public:

<a id="l00053" name="l00053"></a> 53 

<a id="l00054" name="l00054"></a>[ 54](class_d_v_s_1_1_i_plot_chunk.xhtml#acfaef90506b504a098bd4d524ba3aaac) [IPlotChunk](class_d_v_s_1_1_i_plot_chunk.xhtml#acfaef90506b504a098bd4d524ba3aaac)() = default; 

<a id="l00055" name="l00055"></a>[ 55](class_d_v_s_1_1_i_plot_chunk.xhtml#ad1a21b9cbe0c9362196cb707c4041306) virtual [~IPlotChunk](class_d_v_s_1_1_i_plot_chunk.xhtml#ad1a21b9cbe0c9362196cb707c4041306)() = default; 

<a id="l00056" name="l00056"></a>[ 56](class_d_v_s_1_1_i_plot_chunk.xhtml#a4aa8324189293247b37d95b554a1cdb3) [IPlotChunk](class_d_v_s_1_1_i_plot_chunk.xhtml#a4aa8324189293247b37d95b554a1cdb3)([IPlotChunk](class_d_v_s_1_1_i_plot_chunk.xhtml)&amp;&amp;) = default; 

<a id="l00057" name="l00057"></a>[ 57](class_d_v_s_1_1_i_plot_chunk.xhtml#a59c8403dd4b0dd0e58bd41763d3c8ef9) [IPlotChunk](class_d_v_s_1_1_i_plot_chunk.xhtml)&amp; [operator=](class_d_v_s_1_1_i_plot_chunk.xhtml#a59c8403dd4b0dd0e58bd41763d3c8ef9)([IPlotChunk](class_d_v_s_1_1_i_plot_chunk.xhtml)&amp;&amp;) = default; 

<a id="l00058" name="l00058"></a>[ 58](class_d_v_s_1_1_i_plot_chunk.xhtml#a77c7e11b63c01b975e1e8f14aa594989) [IPlotChunk](class_d_v_s_1_1_i_plot_chunk.xhtml#a77c7e11b63c01b975e1e8f14aa594989)(const [IPlotChunk](class_d_v_s_1_1_i_plot_chunk.xhtml)&amp;) = default; 

<a id="l00059" name="l00059"></a>[ 59](class_d_v_s_1_1_i_plot_chunk.xhtml#a7a6efa045b8550256fc07d6e8a8abc3e) [IPlotChunk](class_d_v_s_1_1_i_plot_chunk.xhtml)&amp; [operator=](class_d_v_s_1_1_i_plot_chunk.xhtml#a7a6efa045b8550256fc07d6e8a8abc3e)(const [IPlotChunk](class_d_v_s_1_1_i_plot_chunk.xhtml)&amp;) = default; 

<a id="l00060" name="l00060"></a> 60 

<a id="l00066" name="l00066"></a>[ 66](class_d_v_s_1_1_i_plot_chunk.xhtml#ad9ff283c65e3a3ca1833fa95739cefbb) virtual float [get\_time](class_d_v_s_1_1_i_plot_chunk.xhtml#ad9ff283c65e3a3ca1833fa95739cefbb)() const = 0;

<a id="l00067" name="l00067"></a> 67 

<a id="l00077" name="l00077"></a>[ 77](class_d_v_s_1_1_i_plot_chunk.xhtml#ac8cfe243352cdc8d6882f521a6382df6) virtual uint32_t [get\_rank](class_d_v_s_1_1_i_plot_chunk.xhtml#ac8cfe243352cdc8d6882f521a6382df6)() const = 0;

<a id="l00078" name="l00078"></a> 78 

<a id="l00084" name="l00084"></a>[ 84](class_d_v_s_1_1_i_plot_chunk.xhtml#a3eaf3659a02d09c641ba70a1a402053b) virtual const [DVS::IObject](class_d_v_s_1_1_i_object.xhtml)* [get\_object](class_d_v_s_1_1_i_plot_chunk.xhtml#a3eaf3659a02d09c641ba70a1a402053b)() const = 0;

<a id="l00085" name="l00085"></a> 85 

<a id="l00114" name="l00114"></a>[ 114](class_d_v_s_1_1_i_plot_chunk.xhtml#a9dd0631a3b7c171a8593289cc7aa84b3) virtual [dvs\_ret](dynamic__visualization__store__error__codes_8h.xhtml#a1d7466ae72e89fe36cbf2408b4f7d9c1) [get\_data](class_d_v_s_1_1_i_plot_chunk.xhtml#a9dd0631a3b7c171a8593289cc7aa84b3)(uint32_t* num_values, float* x_axis_values, float* y_axis_values) = 0;

<a id="l00115" name="l00115"></a> 115};



<a id="l00116" name="l00116"></a> 116 

<a id="l00117" name="l00117"></a> 117} //namespace DVS

<a id="l00118" name="l00118"></a> 118 

<a id="l00119" name="l00119"></a> 119\#endif //\_\_\_DVS\_PLOT\_CHUNK\_INTERFACE\_H\_\_\_

[DVS::IHash](class_d_v_s_1_1_i_hash.xhtml)

Interface to get hash information from DVS objects.

**Definition** [dvs\_hash\_interface.h:38](dvs__hash__interface_8h_source.xhtml#l00037)



[DVS::IObject](class_d_v_s_1_1_i_object.xhtml)

Interface for part/plot objects for DVS Reader API.

**Definition** [dvs\_object\_interface.h:45](dvs__object__interface_8h_source.xhtml#l00044)



[DVS::IPlotChunk](class_d_v_s_1_1_i_plot_chunk.xhtml)

Plot Chunk Interface for DVS Reader API.

**Definition** [dvs\_plot\_chunk\_interface.h:51](#l00050)



[DVS::IPlotChunk::get\_object](class_d_v_s_1_1_i_plot_chunk.xhtml#a3eaf3659a02d09c641ba70a1a402053b)

virtual const DVS::IObject * get_object() const =0

Get the plot definition this plot chunk is associated with.



[DVS::IPlotChunk::IPlotChunk](class_d_v_s_1_1_i_plot_chunk.xhtml#a4aa8324189293247b37d95b554a1cdb3)

IPlotChunk(IPlotChunk &amp;&amp;)=default

default



[DVS::IPlotChunk::operator=](class_d_v_s_1_1_i_plot_chunk.xhtml#a59c8403dd4b0dd0e58bd41763d3c8ef9)

IPlotChunk &amp; operator=(IPlotChunk &amp;&amp;)=default

default



[DVS::IPlotChunk::IPlotChunk](class_d_v_s_1_1_i_plot_chunk.xhtml#a77c7e11b63c01b975e1e8f14aa594989)

IPlotChunk(const IPlotChunk &amp;)=default

support copying



[DVS::IPlotChunk::operator=](class_d_v_s_1_1_i_plot_chunk.xhtml#a7a6efa045b8550256fc07d6e8a8abc3e)

IPlotChunk &amp; operator=(const IPlotChunk &amp;)=default

default



[DVS::IPlotChunk::get\_data](class_d_v_s_1_1_i_plot_chunk.xhtml#a9dd0631a3b7c171a8593289cc7aa84b3)

virtual dvs_ret get_data(uint32_t *num_values, float *x_axis_values, float *y_axis_values)=0

Get data for plot chunk.



[DVS::IPlotChunk::get\_rank](class_d_v_s_1_1_i_plot_chunk.xhtml#ac8cfe243352cdc8d6882f521a6382df6)

virtual uint32_t get_rank() const =0

Get the rank for the plot.



[DVS::IPlotChunk::IPlotChunk](class_d_v_s_1_1_i_plot_chunk.xhtml#acfaef90506b504a098bd4d524ba3aaac)

IPlotChunk()=default

default



[DVS::IPlotChunk::~IPlotChunk](class_d_v_s_1_1_i_plot_chunk.xhtml#ad1a21b9cbe0c9362196cb707c4041306)

virtual ~IPlotChunk()=default

default



[DVS::IPlotChunk::get\_time](class_d_v_s_1_1_i_plot_chunk.xhtml#ad9ff283c65e3a3ca1833fa95739cefbb)

virtual float get_time() const =0

Get the time for this plot.



[dvs\_hash\_interface.h](dvs__hash__interface_8h.xhtml)

DVS Reader API Hash Interface.



[dvs\_object\_interface.h](dvs__object__interface_8h.xhtml)

DVS Reader API Object Interface.



[dynamic\_visualization\_store\_enums.h](dynamic__visualization__store__enums_8h.xhtml)

Contains enums used in C/C++ API.



[dynamic\_visualization\_store\_error\_codes.h](dynamic__visualization__store__error__codes_8h.xhtml)

Contains errors used in the DVS C/C++ API.



[dvs\_ret](dynamic__visualization__store__error__codes_8h.xhtml#a1d7466ae72e89fe36cbf2408b4f7d9c1)

int32_t dvs_ret

Return value of methods, TODO.

**Definition** [dynamic\_visualization\_store\_error\_codes.h:32](dynamic__visualization__store__error__codes_8h_source.xhtml#l00032)