UNPKG

paraview-glance

Version:

Web application for Visualizing Scientific and Medical datasets

22 lines (21 loc) 861 B
<v-card flat :class="$style.block" v-if="dataset.isA('vtkPolyData')" > <v-card-title :class="$style.blockTitle"> <span class="body-2 font-weight-medium">vtkPolyData</span> </v-card-title> <v-card-text :class="$style.blockContent"> <v-container fluid grid-list-xs class="pa-0"> <v-layout row align-center> <v-flex xs6 class="body-2"># of points:</v-flex> <v-flex xs6 class="body-2" :class="$style.canSelect">{{ formatNumbersWithThousandSeparator(dataset.getPoints().getNumberOfPoints(), ',') }}</v-flex> </v-layout> <v-layout row align-center> <v-flex xs6 class="body-2"># of cells:</v-flex> <v-flex xs6 class="body-2" :class="$style.canSelect">{{ formatNumbersWithThousandSeparator(dataset.getNumberOfCells(), ',') }}</v-flex> </v-layout> </v-container> </v-card-text> </v-card>