-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #38 from jafyvilla/data_frame
Add data.Frame event
- Loading branch information
Showing
4 changed files
with
42 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Copyright (c) HBP 2016 Jafet Villafranca <jafet.villafrancadiaz@epfl.ch> | ||
|
||
set(ZEROBUFDATA_INCLUDE_NAME zerobuf/data) | ||
|
||
include(zerobufGenerateCxx) | ||
zerobuf_generate_cxx(ZEROBUFDATA | ||
${OUTPUT_INCLUDE_DIR}/${ZEROBUFDATA_INCLUDE_NAME} frame.fbs) | ||
|
||
set(ZEROBUFDATA_PUBLIC_HEADERS ${ZEROBUFDATA_HEADERS}) | ||
set(ZEROBUFDATA_LINK_LIBRARIES PUBLIC ZeroBuf) | ||
|
||
set(ZEROBUFDATA_INCLUDE_NAME zerobuf/data) | ||
set(ZEROBUFDATA_NAMESPACE zerobufdata) | ||
common_library(ZeroBufData) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// Copyright (c) 2016, Human Brain Project | ||
// Jafet.VillafrancaDiaz@epfl.ch | ||
// | ||
namespace zerobuf.data; | ||
|
||
// Event containing the data frame range information. It is based on the same | ||
// units as the zerobuf.render.Frame, i.e. number of frames. | ||
// It may be used as a base event that defines the available range of frames | ||
// coming from a certain data source, being also possible to use the | ||
// zerobuf.render.Frame event at the same time, which would define the frame | ||
// subrange used by a rendering animation to loop within. | ||
|
||
table Frame | ||
{ | ||
// starting frame number in the data frame range | ||
start:uint; | ||
// end frame number in the data frame range | ||
end:uint; | ||
} |