Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::plot::Axis2DProcessorHelper Class Reference

Public Types

enum class  AxisRangeMode {
  Dims , Basis , BasisOffset , World ,
  Custom
}
 
enum class  OffsetScaling {
  None , MinExtent , MaxExtent , MeanExtent ,
  Diagonal
}
 
enum class  DimsRangeMode { No , Yes }
 

Public Member Functions

 Axis2DProcessorHelper (std::function< std::optional< mat4 >()> getBoundingBox, DimsRangeMode useDimsRange=DimsRangeMode::No)
 
void renderAxes (size2_t outputDims, const SpatialEntity &entity)
 
void adjustScalingFactor (const SpatialEntity *entity=nullptr)
 
void adjustRanges (const SpatialEntity *entity)
 
auto props ()
 
auto props () const
 

Public Attributes

OptionProperty< OffsetScaling > offsetScaling_
 
FloatProperty axisOffset_
 
OptionProperty< AxisRangeMode > rangeMode_
 
CompositeProperty customRanges_
 
DoubleMinMaxProperty rangeXaxis_
 
DoubleMinMaxProperty rangeYaxis_
 
BoolCompositeProperty visibility_
 
OptionPropertyString presets_
 
std::array< BoolProperty, 4 > visibleAxes_
 
AxisStyleProperty axisStyle_
 
AxisProperty xAxis_
 
AxisProperty yAxis_
 
CameraProperty camera_
 
CameraTrackball trackball_
 
std::array< AxisRenderer3D, 2 > axisRenderers_
 

Protected Attributes

bool propertyUpdate_
 

The documentation for this class was generated from the following file: